fr.paris.lutece.plugins.crm.business.demand.category
Class Category

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.demand.category.Category

public class Category
extends Object

This is the business class for the object Category


Constructor Summary
Category()
           
 
Method Summary
 String getDescription()
          Returns the Description
 int getIdCategory()
          Returns the IdCategory
 String getName()
          Returns the Name
 String getXml(javax.servlet.http.HttpServletRequest request, Locale locale)
          Returns the xml of this Category
 String getXml(javax.servlet.http.HttpServletRequest request, Locale locale, List<DemandType> listDemandType)
          Returns the xml of this Category with demand Type associated
 void setDescription(String strDescription)
          Sets the Description
 void setIdCategory(int nIdCategory)
          Sets the IdCategory
 void setName(String strName)
          Sets the Name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Method Detail

getIdCategory

public int getIdCategory()
Returns the IdCategory

Returns:
The IdCategory

setIdCategory

public void setIdCategory(int nIdCategory)
Sets the IdCategory

Parameters:
nIdCategory - The IdCategory

getName

public String getName()
Returns the Name

Returns:
The Name

setName

public void setName(String strName)
Sets the Name

Parameters:
strName - The Name

getDescription

public String getDescription()
Returns the Description

Returns:
The Description

setDescription

public void setDescription(String strDescription)
Sets the Description

Parameters:
strDescription - The Description

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 request
locale - the Locale
listDemandType - the list of demande type
Returns:
the xml of this Category

getXml

public String getXml(javax.servlet.http.HttpServletRequest request,
                     Locale locale)
Returns the xml of this Category

Parameters:
request - The HTTP Servlet request
locale - the Locale
Returns:
the xml of this Category


Copyright © 2013 Mairie de Paris. All Rights Reserved.