Class RenderingContext

java.lang.Object
org.silverpeas.components.kmelia.servlets.renderers.RenderingContext

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

    • RenderingContext

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

    • isSortAllowed

      public boolean isSortAllowed()
    • setSortAllowed

      public RenderingContext setSortAllowed(boolean sortAllowed)
    • isLinksAllowed

      public boolean isLinksAllowed()
    • setLinksAllowed

      public RenderingContext setLinksAllowed(boolean linksAllowed)
    • isSeeAlso

      public boolean isSeeAlso()
    • setSeeAlso

      public RenderingContext setSeeAlso(boolean seeAlso)
    • isSearchInProgress

      public boolean isSearchInProgress()
    • setSearchInProgress

      public RenderingContext setSearchInProgress(boolean searchInProgress)
    • getPublications

      public List<KmeliaPublication> getPublications()
    • setPublications

      public RenderingContext setPublications(List<KmeliaPublication> publicationDetails)
    • displayPublications

      public boolean displayPublications()
    • getSessionController

      public KmeliaSessionController getSessionController()
    • getRole

      public String getRole()
    • setRole

      public RenderingContext setRole(String role)
    • 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()
    • setToLink

      public RenderingContext setToLink(boolean toLink)
    • isAttachmentToLink

      public boolean isAttachmentToLink()
    • setAttachmentToLink

      public RenderingContext setAttachmentToLink(boolean attachmentToLink)
    • getPublicationToHighlight

      public String getPublicationToHighlight()
    • setPublicationToHighlight

      public RenderingContext setPublicationToHighlight(String pubToHighlight)
    • 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.