Class BaseDemandObject

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.elasticdata.business.DataObject

    public class BaseDemandObject
    extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
    BaseDemandObject
    • 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