fr.paris.lutece.plugins.document.service.category
Class CategoryService.CategoryDisplay

java.lang.Object
  extended by fr.paris.lutece.plugins.document.service.category.CategoryService.CategoryDisplay
Enclosing class:
CategoryService

public class CategoryService.CategoryDisplay
extends java.lang.Object

This class defines a CategoryDisplay object intended to be used in freemarker templates It provide the Category object and other informations.


Constructor Summary
CategoryService.CategoryDisplay()
           
 
Method Summary
 boolean getAssigned()
          Return true if Document is linked to this Category
 Category getCategory()
          Get the Category object
 int getCountLinkedDocuments()
          Get the number of linked documents
 java.lang.String getIconUrl()
          Get the icon url
 void setAssigned(boolean bAssigned)
          Set the assigned value (true if document is linked to this Category)
 void setCategory(Category category)
          Set the Category object
 void setCountLinkedDocuments(int nCountLinkedDocuments)
          Set the number of linked documents
 void setIconUrl(java.lang.String strIconUrl)
          Set the icon url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryService.CategoryDisplay

public CategoryService.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 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


Copyright © 2010 Mairie de Paris. All Rights Reserved.