Class CategoryService.CategoryDisplay
- java.lang.Object
-
- fr.paris.lutece.plugins.document.service.category.CategoryService.CategoryDisplay
-
- Enclosing class:
- CategoryService
public class CategoryService.CategoryDisplay extends java.lang.ObjectThis class defines a CategoryDisplay object intended to be used in freemarker templates It provide the Category object and other informations.
-
-
Constructor Summary
Constructors Constructor Description CategoryDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAssigned()Return true if Document is linked to this CategoryCategorygetCategory()Get the Category objectintgetCountLinkedDocuments()Get the number of linked documentsjava.lang.StringgetIconUrl()Get the icon urlvoidsetAssigned(boolean bAssigned)Set the assigned value (true if document is linked to this Category)voidsetCategory(Category category)Set the Category objectvoidsetCountLinkedDocuments(int nCountLinkedDocuments)Set the number of linked documentsvoidsetIconUrl(java.lang.String strIconUrl)Set the icon url
-
-
-
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 java.lang.String getIconUrl()
Get the icon url- Returns:
- The icon url
-
setIconUrl
public void setIconUrl(java.lang.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
-
-