Class DemandType
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaData(String key, String value) add a meta dataGet the app codeReturns the CategoryintgetId()Get the id demand typegetLabel()Get the labelget meta datagetUrl()Get the url of the resourcebooleanvoidsetAppCode(String strAppCode) Set the app codevoidsetCategory(String strCategory) Sets the CategoryvoidsetId(int _nId) voidsetIdDemandType(String strIdDemandType) Set the id demand typevoidSet the labelvoidsetMetaData(Map<String, String> _mapMetaData) set meta datavoidSet the url of the form
-
Field Details
-
DEMANDTYPE_METADATA_PUSH
- See Also:
-
DEMANDTYPE_METADATA_DEFAULT_SUBJECT
- See Also:
-
DEMANDTYPE_METADATA_PUSH_DISABLE
- See Also:
-
-
Constructor Details
-
DemandType
public DemandType()
-
-
Method Details
-
getId
public int getId()- Returns:
- the _nId
-
setId
public void setId(int _nId) - Parameters:
_nId- the _nId to set
-
getIdDemandType
Get the id demand type- Returns:
- the id demand type
-
setIdDemandType
Set the id demand type- Parameters:
nIdDemandType- the id deman type
-
getLabel
Get the label- Returns:
- the label
-
setLabel
Set the label- Parameters:
strLabel- the label
-
getUrl
Get the url of the resource- Returns:
- the url of the resource
-
setUrl
Set the url of the form- Parameters:
strUrl- the url of the form
-
getAppCode
Get the app code- Returns:
- the app code
-
setAppCode
Set the app code- Parameters:
strUrl- the app code
-
getCategory
Returns the Category- Returns:
- The Category
-
setCategory
Sets the Category- Parameters:
strCategory- The Category
-
getMetaData
get meta data- Returns:
- the data
-
setMetaData
set meta data- Parameters:
_mapMetaData-
-
addMetaData
add a meta data- Parameters:
key-value-
-
isPushDisabled
public boolean isPushDisabled() -
getDefaultSubject
-