Class AbstractMessageResource

    • Constructor Detail

      • AbstractMessageResource

        public AbstractMessageResource()
    • Method Detail

      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.
      • asWebEntity

        protected MessageContainerEntity asWebEntity​(MessageContainer messageContainer)
        Converts the message container into its corresponding web entity.
        Parameters:
        messageContainer - the message container.
        Returns:
        the corresponding message container entity.
      • getLanguage

        protected String getLanguage()
        Due to the particularity of this WEB Service according to authentication, the language is handled at this level.
        Returns:
        the language code