Class WorkbasketImpl
java.lang.Object
pro.taskana.workbasket.internal.models.WorkbasketSummaryImpl
pro.taskana.workbasket.internal.models.WorkbasketImpl
- All Implemented Interfaces:
Workbasket,WorkbasketSummary
Workbasket entity.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a summary of the current Workbasket.protected booleanDuplicates the Workbasket without the id.booleanReturns the time when the Workbasket was created.Returns the time when the Workbasket was modified last time.inthashCode()voidsetCreated(Instant created) voidsetCustomAttribute(WorkbasketCustomField customField, String value) Deprecated.voidsetCustomField(WorkbasketCustomField customField, String value) Sets the value for the specified WorkbasketCustomField.voidsetModified(Instant modified) toString()Methods inherited from class pro.taskana.workbasket.internal.models.WorkbasketSummaryImpl
copy, getCustom1, getCustom2, getCustom3, getCustom4, getCustom5, getCustom6, getCustom7, getCustom8, getCustomAttribute, getCustomField, getDescription, getDomain, getId, getKey, getName, getOrgLevel1, getOrgLevel2, getOrgLevel3, getOrgLevel4, getOwner, getType, isMarkedForDeletion, setCustom1, setCustom2, setCustom3, setCustom4, setCustom5, setCustom6, setCustom7, setCustom8, setDescription, setDomain, setId, setKey, setMarkedForDeletion, setName, setOrgLevel1, setOrgLevel2, setOrgLevel3, setOrgLevel4, setOwner, setTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface pro.taskana.workbasket.api.models.Workbasket
isMarkedForDeletion, setDescription, setMarkedForDeletion, setName, setOrgLevel1, setOrgLevel2, setOrgLevel3, setOrgLevel4, setOwner, setTypeMethods inherited from interface pro.taskana.workbasket.api.models.WorkbasketSummary
copy, getCustomAttribute, getCustomField, getDescription, getDomain, getId, getKey, getName, getOrgLevel1, getOrgLevel2, getOrgLevel3, getOrgLevel4, getOwner, getType
-
Constructor Details
-
WorkbasketImpl
public WorkbasketImpl()
-
-
Method Details
-
setCustomAttribute
Deprecated.Description copied from interface:WorkbasketSets the value of the specified WorkbasketCustomField.- Specified by:
setCustomAttributein interfaceWorkbasket- Parameters:
customField- identifies which WorkbasketCustomField is to be setvalue- the value of the WorkbasketCustomField to be set
-
setCustomField
Description copied from interface:WorkbasketSets the value for the specified WorkbasketCustomField.- Specified by:
setCustomFieldin interfaceWorkbasket- Parameters:
customField- identifies which WorkbasketCustomField is to be set.value- the value of the WorkbasketCustomField to be set
-
copy
Description copied from interface:WorkbasketDuplicates the Workbasket without the id.- Specified by:
copyin interfaceWorkbasket- Parameters:
key- for the new Workbasket- Returns:
- a copy of this Workbasket
-
getCreated
Description copied from interface:WorkbasketReturns the time when the Workbasket was created.- Specified by:
getCreatedin interfaceWorkbasket- Returns:
- the created Instant
-
setCreated
-
getModified
Description copied from interface:WorkbasketReturns the time when the Workbasket was modified last time.- Specified by:
getModifiedin interfaceWorkbasket- Returns:
- the modified Instant
-
setModified
-
asSummary
Description copied from interface:WorkbasketReturns a summary of the current Workbasket.- Specified by:
asSummaryin interfaceWorkbasket- Returns:
- the WorkbasketSummary object for the current Workbasket
-
canEqual
- Overrides:
canEqualin classWorkbasketSummaryImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkbasketSummaryImpl
-
equals
- Overrides:
equalsin classWorkbasketSummaryImpl
-
toString
- Overrides:
toStringin classWorkbasketSummaryImpl
-