java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.demand.Demand

public class Demand extends Object
Demand Class
  • Constructor Details

    • Demand

      public Demand()
  • Method Details

    • getUID

      public int getUID()
      Get the primary key id
      Returns:
      the technical id
    • setUID

      public void setUID(int nUId)
      Set the primary key id
      Parameters:
      nUId - The technical id
    • getId

      public String getId()
      Get the demand id
      Returns:
      the demand id
    • setId

      public void setId(String strId)
      Set the demand id
      Parameters:
      strId - The demand id
    • getReference

      public String getReference()
      Gives the reference
      Returns:
      The reference
    • setReference

      public void setReference(String strReference)
      Sets the reference
      Parameters:
      strReference - The reference
    • getStatusId

      public int getStatusId()
      Gives the status id
      Returns:
      The status id
    • setStatusId

      public void setStatusId(int nStatusId)
      Sets the status id
      Parameters:
      nStatusId - The status id
    • setTypeId

      public void setTypeId(String strTypeId)
      Sets the type id
      Parameters:
      strTypeId - The type id
    • getTypeId

      public String getTypeId()
      Gves the type id
      Returns:
      The type id
    • setSubtypeId

      public void setSubtypeId(String strSubtypeId)
      Sets the subtype id
      Parameters:
      strSubtypeId - The subtype id
    • getSubtypeId

      public String getSubtypeId()
      Gves the subtype id
      Returns:
      The subtype id
    • getTitle

      public String getTitle()
      Returns the Title
      Returns:
      The Title
    • setTitle

      public void setTitle(String strTitle)
      Sets the Title
      Parameters:
      strTitle - The Title
    • getNotifications

      public List<Notification> getNotifications()
      Returns the Notifications
      Returns:
      The Notifications
    • setNotifications

      public void setNotifications(List<Notification> listNotifications)
      Sets the Notifications
      Parameters:
      listNotifications - The Notifications
    • getActions

      public List<Action> getActions()
      Returns the Actions
      Returns:
      The Actions
    • setActions

      public void setActions(List<Action> listActions)
      Sets the Actions
      Parameters:
      listActions - The Actions
    • addAction

      public void addAction(Action action)
      Add an action
      Parameters:
      action - the action to add
    • getCustomer

      public Customer getCustomer()
      Gives the customer
      Returns:
      the customer
    • setCustomer

      public void setCustomer(Customer customer)
      Sets the customer
      Parameters:
      customer - the customer to set
    • getCreationDate

      public long getCreationDate()
      Gives the creation date
      Returns:
      the creation date
    • setCreationDate

      public void setCreationDate(long lCreationDate)
      Sets the creation date
      Parameters:
      lCreationDate - the creation date to set
    • getClosureDate

      public long getClosureDate()
      Gives the closure date
      Returns:
      the closure date
    • setClosureDate

      public void setClosureDate(long lClosureDate)
      Sets the closure date
      Parameters:
      lClosureDate - the closure date to set
    • getMaxSteps

      public int getMaxSteps()
      Gives the number of steps
      Returns:
      the number of steps
    • setMaxSteps

      public void setMaxSteps(int nMaxSteps)
      Sets the number of steps
      Parameters:
      nMaxSteps - the number of steps to set
    • getCurrentStep

      public int getCurrentStep()
      Gives the current step
      Returns:
      the current step
    • setCurrentStep

      public void setCurrentStep(int nCurrentStep)
      Sets the current step
      Parameters:
      nCurrentStep - the current step to set
    • setShowDetails

      public void setShowDetails(boolean bShowDetails)
      Set the flag to show or not details
      Parameters:
      bShowDetails - the flag value
    • getShowDetails

      public boolean getShowDetails()
      Return true if details can be shown otherwise false.
      Returns:
      The display details flag
    • getModifyDate

      public long getModifyDate()
      Returns:
      the _lModifyDate
    • setModifyDate

      public void setModifyDate(long lModifyDate)
      Parameters:
      lModifyDate - the _lModifyDate to set
    • getMetaData

      public Map<String,String> getMetaData()
      get meta data
      Returns:
      the data
    • setMetaData

      public void setMetaData(Map<String,String> _mapMetaData)
      set meta data
      Parameters:
      _mapMetaData -
    • addMetaData

      public void addMetaData(String key, String value)
      add a meta data
      Parameters:
      key -
      value -