Class CaseModel

java.lang.Object
com.aquima.interactions.process.dao.impl.CaseModel
All Implemented Interfaces:
com.aquima.interactions.process.dao.ICaseModel, Serializable

public class CaseModel extends Object implements com.aquima.interactions.process.dao.ICaseModel
See Also:
  • Constructor Details

    • CaseModel

      public CaseModel(long id, String applicationId, String name, com.aquima.interactions.process.dao.CaseStatusType status, String lockedBy, com.aquima.interactions.foundation.types.DateTimeValue creationDate, com.aquima.interactions.foundation.text.IMultilingualText displayName, List<com.aquima.interactions.process.dao.ICaseDataInstance> instances)
    • CaseModel

      public CaseModel(CaseModel other)
  • Method Details

    • getId

      public long getId()
      Specified by:
      getId in interface com.aquima.interactions.process.dao.ICaseModel
    • getApplicationId

      public String getApplicationId()
      Specified by:
      getApplicationId in interface com.aquima.interactions.process.dao.ICaseModel
    • getName

      public String getName()
      Specified by:
      getName in interface com.aquima.interactions.process.dao.ICaseModel
    • setName

      public void setName(String name)
    • getStatus

      public com.aquima.interactions.process.dao.CaseStatusType getStatus()
      Specified by:
      getStatus in interface com.aquima.interactions.process.dao.ICaseModel
    • setStatus

      public void setStatus(com.aquima.interactions.process.dao.CaseStatusType status)
    • getLockedBy

      public String getLockedBy()
      Specified by:
      getLockedBy in interface com.aquima.interactions.process.dao.ICaseModel
    • setLockedBy

      public void setLockedBy(String lockedBy)
    • getCreationDate

      public com.aquima.interactions.foundation.types.DateTimeValue getCreationDate()
      Specified by:
      getCreationDate in interface com.aquima.interactions.process.dao.ICaseModel
    • setCreationDate

      public void setCreationDate(com.aquima.interactions.foundation.types.DateTimeValue creationDate)
    • duplicate

      public CaseModel duplicate()
    • setDisplayName

      public final void setDisplayName(com.aquima.interactions.foundation.text.IMultilingualText displayName)
    • getDisplayName

      public AbstractDisplayNameModel getDisplayName(String languageCode)
      Parameters:
      languageCode - if null, returns the default display name(the one with no language code in the DB)
      Returns:
      the AbstractDisplayNameModel for the specific language code or for the default value if there is no description for the specific language, or null
    • getDisplayName

      public com.aquima.interactions.foundation.text.IMultilingualText getDisplayName()
      Specified by:
      getDisplayName in interface com.aquima.interactions.process.dao.ICaseModel
    • getInstances

      public List<com.aquima.interactions.process.dao.ICaseDataInstance> getInstances()
      Specified by:
      getInstances in interface com.aquima.interactions.process.dao.ICaseModel
    • setInstances

      public void setInstances(List<com.aquima.interactions.process.dao.ICaseDataInstance> instances)
    • getDisplayNames

      public List<CaseDisplayNameModel> getDisplayNames()