Class RenderingContext


  • public class RenderingContext
    extends Object
    Context of a web page rendering.
    Author:
    mmoquillon
    • Constructor Detail

      • RenderingContext

        public RenderingContext​(KmeliaSessionController kmeliaSC,
                                org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory gef)
    • Method Detail

      • isSortAllowed

        public boolean isSortAllowed()
      • setSortAllowed

        public RenderingContext setSortAllowed​(boolean sortAllowed)
      • isLinksAllowed

        public boolean isLinksAllowed()
      • setLinksAllowed

        public RenderingContext setLinksAllowed​(boolean linksAllowed)
      • isSeeAlso

        public boolean isSeeAlso()
      • isSearchInProgress

        public boolean isSearchInProgress()
      • setSearchInProgress

        public RenderingContext setSearchInProgress​(boolean searchInProgress)
      • displayPublications

        public boolean displayPublications()
      • getRole

        public String getRole()
      • getSelectedPublications

        public List<org.silverpeas.core.contribution.publication.model.PublicationPK> getSelectedPublications()
      • setSelectedPublications

        public RenderingContext setSelectedPublications​(List<org.silverpeas.core.contribution.publication.model.PublicationPK> selectedPublications)
      • getResources

        public org.silverpeas.core.util.MultiSilverpeasBundle getResources()
      • getGraphicElementFactory

        public org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory getGraphicElementFactory()
      • isToLink

        public boolean isToLink()
      • isAttachmentToLink

        public boolean isAttachmentToLink()
      • setAttachmentToLink

        public RenderingContext setAttachmentToLink​(boolean attachmentToLink)
      • getPublicationToHighlight

        public String getPublicationToHighlight()
      • getLastAuthor

        public String getLastAuthor​(KmeliaPublication publication)
        Gets the last user authoring the specified publication.
        Parameters:
        publication - a publication.
        Returns:
        the name of the last publication author.