Class CategoryService.CategoryDisplay

  • Enclosing class:
    CategoryService

    public class CategoryService.CategoryDisplay
    extends Object
    This class defines a CategoryDisplay object intended to be used in freemarker templates It provide the Category object and other informations.
    • Constructor Detail

      • CategoryDisplay

        public CategoryDisplay()
    • Method Detail

      • 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