Class Category
java.lang.Object
fr.paris.lutece.plugins.crm.business.demand.category.Category
This is the business class for the object Category
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the CodeReturns the DescriptionintReturns the IdCategorygetName()Returns the NameReturns the xml of this CategorygetXml(javax.servlet.http.HttpServletRequest request, Locale locale, List<DemandType> listDemandType) Returns the xml of this Category with demand Type associatedvoidSets the CodevoidsetDescription(String strDescription) Sets the DescriptionvoidsetIdCategory(int nIdCategory) Sets the IdCategoryvoidSets the Name
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getIdCategory
public int getIdCategory()Returns the IdCategory- Returns:
- The IdCategory
-
setIdCategory
public void setIdCategory(int nIdCategory) Sets the IdCategory- Parameters:
nIdCategory- The IdCategory
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
getCode
Returns the Code- Returns:
- The Code
-
setCode
Sets the Code- Parameters:
strCode- The Code
-
getXml
public String getXml(javax.servlet.http.HttpServletRequest request, Locale locale, List<DemandType> listDemandType) Returns the xml of this Category with demand Type associated- Parameters:
request- The HTTP Servlet requestlocale- the LocalelistDemandType- the list of demande type- Returns:
- the xml of this Category
-
getXml
Returns the xml of this Category- Parameters:
request- The HTTP Servlet requestlocale- the Locale- Returns:
- the xml of this Category
-