Class Demand
java.lang.Object
fr.paris.lutece.plugins.crm.business.demand.Demand
Demand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Get the dataReturns the Date of the last ModificationintGet the user user crm idintGet the ID demandintGet the ID demand typeintGet the id status crmintGet the number of notificationsintGet the number of unread notificationsGet the statusvoidSet the datavoidsetDateModification(Timestamp dateModification) Sets the Date of the last ModificationvoidsetIdCRMUser(int nIdCRMUser) Set the user crm idvoidsetIdDemand(int nIdDemand) Set the ID demandvoidsetIdDemandType(int nIdDemandType) Set the ID demand typevoidsetIdStatusCRM(int nIdStatusCRM) Set the id status CRMvoidsetRemoteId(String _strRemoteId) voidsetStatusText(String strStatusText) Set the status
-
Constructor Details
-
Demand
public Demand()
-
-
Method Details
-
setIdDemand
public void setIdDemand(int nIdDemand) Set the ID demand- Parameters:
nIdDemand- the ID demand
-
getIdDemand
public int getIdDemand()Get the ID demand- Returns:
- the ID demand
-
setStatusText
Set the status- Parameters:
strStatusText- the status
-
getStatusText
Get the status- Returns:
- the status
-
setIdDemandType
public void setIdDemandType(int nIdDemandType) Set the ID demand type- Parameters:
nIdDemandType- the ID demand type
-
getIdDemandType
public int getIdDemandType()Get the ID demand type- Returns:
- the ID demand type
-
setIdCRMUser
public void setIdCRMUser(int nIdCRMUser) Set the user crm id- Parameters:
nIdCRMUser- the user crm id
-
getIdCRMUser
public int getIdCRMUser()Get the user user crm id- Returns:
- the user crm id
-
getDateModification
Returns the Date of the last Modification- Returns:
- The Date of the last Modification
-
setDateModification
Sets the Date of the last Modification- Parameters:
dateModification- The Date of the last Modification
-
getNumberUnreadNotifications
public int getNumberUnreadNotifications()Get the number of unread notifications- Returns:
- the number of unread notifications
-
getNumberNotifications
public int getNumberNotifications()Get the number of notifications- Returns:
- the number of notifications
-
setData
Set the data- Parameters:
strData- the data
-
getData
Get the data- Returns:
- the data
-
setIdStatusCRM
public void setIdStatusCRM(int nIdStatusCRM) Set the id status CRM- Parameters:
nIdStatusCRM- the id status crm
-
getIdStatusCRM
public int getIdStatusCRM()Get the id status crm- Returns:
- the id status crm
-
getRemoteId
- Returns:
- the remote Id
-
setRemoteId
- Parameters:
_strRemoteId- the Remote Id
-