fr.paris.lutece.plugins.crm.business.demand
Class DemandType

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.demand.DemandType
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class DemandType
extends java.lang.Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

DemandType


Field Summary
static java.lang.String ROLE_NONE
           
 
Constructor Summary
DemandType()
          Constructor
 
Method Summary
 java.util.Date getDateBegin()
          Get the beginning date
 java.util.Date getDateEnd()
          Get the closing date
 int getIdCategory()
          Get the id category
 int getIdDemandType()
          Get the id demand type
 java.lang.String getLabel()
          Get the label
 int getOrder()
          Get the order
 java.lang.String getRole()
          Get the role
 java.lang.String getUrlContact()
          Get the url of the contact
 java.lang.String getUrlInfo()
          Get the url of the information
 java.lang.String getUrlResource()
          Get the url of the resource
 java.lang.String getWorkgroup()
          Get the workgroup key
 boolean isClosed()
          Check if the demand type is closed
 boolean isOpen()
          Check if the demand type is open or not
 void setDateBegin(java.util.Date dateBegin)
          Set the beginning date
 void setDateEnd(java.util.Date dateEnd)
          Set the closing date
 void setIdCategory(int nIdCategory)
          Set the ID category
 void setIdDemandType(int nIdDemandType)
          Set the id demand type
 void setLabel(java.lang.String strLabel)
          Set the label
 void setOrder(int nOrder)
          Set the order
 void setRole(java.lang.String strRoleKey)
          Set the role
 void setUrlContact(java.lang.String strUrlContact)
          Set the url of the contact
 void setUrlInfo(java.lang.String strUrlInfo)
          Set the url of the information
 void setUrlResource(java.lang.String strUrlResource)
          Set the url of the form
 void setWorkgroup(java.lang.String strWorkgroupKey)
          Set the workgroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_NONE

public static final java.lang.String ROLE_NONE
See Also:
Constant Field Values
Constructor Detail

DemandType

public DemandType()
Constructor

Method Detail

getIdDemandType

public int getIdDemandType()
Get the id demand type

Returns:
the id demand type

setIdDemandType

public void setIdDemandType(int nIdDemandType)
Set the id demand type

Parameters:
nIdDemandType - the id deman type

getLabel

public java.lang.String getLabel()
Get the label

Returns:
the label

setLabel

public void setLabel(java.lang.String strLabel)
Set the label

Parameters:
strLabel - the label

getUrlResource

public java.lang.String getUrlResource()
Get the url of the resource

Returns:
the url of the resource

setUrlResource

public void setUrlResource(java.lang.String strUrlResource)
Set the url of the form

Parameters:
strUrlResource - the url of the form

getUrlInfo

public java.lang.String getUrlInfo()
Get the url of the information

Returns:
the url of the information

setUrlInfo

public void setUrlInfo(java.lang.String strUrlInfo)
Set the url of the information

Parameters:
strUrlInfo - the url of the information

getUrlContact

public java.lang.String getUrlContact()
Get the url of the contact

Returns:
the url of the contact

setUrlContact

public void setUrlContact(java.lang.String strUrlContact)
Set the url of the contact

Parameters:
strUrlContact - the url of the contact

getOrder

public int getOrder()
Get the order

Returns:
the order

setOrder

public void setOrder(int nOrder)
Set the order

Parameters:
nOrder - the order

getIdCategory

public int getIdCategory()
Get the id category

Returns:
the ID category

setIdCategory

public void setIdCategory(int nIdCategory)
Set the ID category

Parameters:
nIdCategory - the id category

getDateBegin

public java.util.Date getDateBegin()
Get the beginning date

Returns:
the beginning date

setDateBegin

public void setDateBegin(java.util.Date dateBegin)
Set the beginning date

Parameters:
dateBegin - the beginning date

getDateEnd

public java.util.Date getDateEnd()
Get the closing date

Returns:
the closing date

setDateEnd

public void setDateEnd(java.util.Date dateEnd)
Set the closing date

Parameters:
dateEnd - the closing date

setWorkgroup

public void setWorkgroup(java.lang.String strWorkgroupKey)
Set the workgroup

Parameters:
strWorkgroupKey - the workgroup key

getWorkgroup

public java.lang.String getWorkgroup()
Get the workgroup key

Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
the workgroup key

setRole

public void setRole(java.lang.String strRoleKey)
Set the role

Parameters:
strRoleKey - the role key

getRole

public java.lang.String getRole()
Get the role

Returns:
the role key

isOpen

public boolean isOpen()
Check if the demand type is open or not

Returns:
true if it is open, false otherwise

isClosed

public boolean isClosed()
Check if the demand type is closed

Returns:
true if it is closed, false otherwise


Copyright © 2011 Mairie de Paris. All Rights Reserved.