Class BaseDemandObject
- java.lang.Object
-
- fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
-
- fr.paris.lutece.plugins.elasticdata.modules.gru.business.BaseDemandObject
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.elasticdata.business.DataObject
public class BaseDemandObject extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataObjectBaseDemandObject
-
-
Constructor Summary
Constructors Constructor Description BaseDemandObject()Base constructorBaseDemandObject(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)Constructor with DemandBaseDemandObject(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)Constructor with Notification
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectionId()Get the connection id of the user of the demandMap<String,String>getCustomerIdentityAttributes()Get customer identity attributesStringgetDayOfWeekClosure()Get the day of week of the closure of the demandStringgetDemandSubtype()Returns the DemandSubtypeStringgetDemandSubtypeId()Returns the DemandSubtype IdStringgetDemandType()Returns the DemandTypeStringgetDemandTypeId()Returns the DemandType IdStringgetHourClosure()Get the hour of the closure of the demandStringgetMonthClosure()Get the month of the closure of the demandStringgetPrefixedDayOfWeekClosure()Get the prefixed day of week of the closure of the demandStringgetPrefixedMonthClosure()Get the prefixed month of the closure of the demandStringgetTimestampClosure()Get the timestamp of the closure of the demandvoidsetConnectionId(String strConnectionId)Set the connection id of the user of the demandvoidsetCustomerIdentityAttributes(Map<String,String> mapCustomerIdentityAttributes)Set the customer identity attributes mapvoidsetDemandSubtypeId(String strDemandSubtypeId)Set the demand type idvoidsetDemandType(String strDemandType)Set the demand typevoidsetDemandTypeId(String strDemandTypeId)Set the demand type id-
Methods inherited from class fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
getDayOfWeek, getDocumentTypeName, getHour, getId, getMonth, getParentId, getParentName, getPrefixedDayOfWeek, getPrefixedMonth, getTimestamp, setDocumentTypeName, setId, setParentId, setParentName, setTimestamp
-
-
-
-
Constructor Detail
-
BaseDemandObject
public BaseDemandObject()
Base constructor
-
BaseDemandObject
public BaseDemandObject(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
Constructor with Demand- Parameters:
demand- The demand
-
BaseDemandObject
public BaseDemandObject(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
Constructor with Notification- Parameters:
notification- The notification
-
-
Method Detail
-
getDemandTypeId
public String getDemandTypeId()
Returns the DemandType Id- Returns:
- The DemandType Id
-
setDemandTypeId
public void setDemandTypeId(String strDemandTypeId)
Set the demand type id- Parameters:
strDemandTypeId- the demand type id
-
getDemandType
public String getDemandType()
Returns the DemandType- Returns:
- The DemandType
-
setDemandType
public void setDemandType(String strDemandType)
Set the demand type- Parameters:
strDemandType-
-
getDemandSubtypeId
public String getDemandSubtypeId()
Returns the DemandSubtype Id- Returns:
- The DemandSubtype Id
-
setDemandSubtypeId
public void setDemandSubtypeId(String strDemandSubtypeId)
Set the demand type id- Parameters:
strDemandSubtypeId- the demand type id
-
getDemandSubtype
public String getDemandSubtype()
Returns the DemandSubtype- Returns:
- The DemandSubtype
-
getConnectionId
public String getConnectionId()
Get the connection id of the user of the demand- Returns:
- the connection id
-
setConnectionId
public void setConnectionId(String strConnectionId)
Set the connection id of the user of the demand- Parameters:
strConnectionId- the connection id
-
getCustomerIdentityAttributes
public Map<String,String> getCustomerIdentityAttributes()
Get customer identity attributes- Returns:
- the map of customer identity attributes
-
setCustomerIdentityAttributes
public void setCustomerIdentityAttributes(Map<String,String> mapCustomerIdentityAttributes)
Set the customer identity attributes map- Parameters:
mapCustomerIdentityAttributes-
-
getTimestampClosure
public String getTimestampClosure()
Get the timestamp of the closure of the demand- Returns:
- The timestamp of the closure of the demand
-
getDayOfWeekClosure
public String getDayOfWeekClosure()
Get the day of week of the closure of the demand- Returns:
- the day of week of the closure of the demand
-
getMonthClosure
public String getMonthClosure()
Get the month of the closure of the demand- Returns:
- the month of the closure of the demand
-
getHourClosure
public String getHourClosure()
Get the hour of the closure of the demand- Returns:
- the hour of the closure of the demand
-
getPrefixedDayOfWeekClosure
public String getPrefixedDayOfWeekClosure()
Get the prefixed day of week of the closure of the demand- Returns:
- the prefixed day of week of the closure of the demand
-
getPrefixedMonthClosure
public String getPrefixedMonthClosure()
Get the prefixed month of the closure of the demand- Returns:
- the prefixed month of the closure of the demand
-
-