Class CategoryService.CategoryDisplay

java.lang.Object
fr.paris.lutece.plugins.document.service.category.CategoryService.CategoryDisplay
All Implemented Interfaces:
Serializable
Enclosing class:
CategoryService

public static class CategoryService.CategoryDisplay extends Object implements Serializable
This class defines a CategoryDisplay object intended to be used in freemarker templates. It provides the Category object and other information.
See Also:
  • Constructor Details

    • CategoryDisplay

      public CategoryDisplay()
  • Method Details

    • getCategory

      public Category getCategory()
      Get the Category object
      Returns:
      The Category object
    • setCategory

      public void setCategory(Category category)
      Set the Category object
      Parameters:
      category - The Category object to set
    • getCountLinkedDocuments

      public int getCountLinkedDocuments()
      Get the number of linked documents
      Returns:
      The number of linked documents
    • setCountLinkedDocuments

      public void setCountLinkedDocuments(int nCountLinkedDocuments)
      Set the number of linked documents
      Parameters:
      nCountLinkedDocuments - The number of linked documents
    • getIconUrl

      public String getIconUrl()
      Get the icon url
      Returns:
      The icon url
    • setIconUrl

      public void setIconUrl(String strIconUrl)
      Set the icon url
      Parameters:
      strIconUrl - The url to set
    • getAssigned

      public boolean getAssigned()
      Return true if Document is linked to this Category
      Returns:
      true if Document is linked, false else
    • setAssigned

      public void setAssigned(boolean bAssigned)
      Set the assigned value (true if document is linked to this Category)
      Parameters:
      bAssigned - true if document if assigned