Class WorkbasketSummaryImpl
java.lang.Object
pro.taskana.workbasket.internal.models.WorkbasketSummaryImpl
- All Implemented Interfaces:
WorkbasketSummary
- Direct Known Subclasses:
WorkbasketImpl
This entity contains the most important information about a workbasket.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected WorkbasketType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancopy()Duplicates this WorkbasketSummary without the id.booleangetCustomAttribute(WorkbasketCustomField customField) Deprecated.getCustomField(WorkbasketCustomField customField) Returns the value of the specified WorkbasketCustomField of the Workbasket.Returns the description of the Workbasket.Returns the domain of the Workbasket.getId()Returns the id of the Workbasket.getKey()Returns the key of the Workbasket.getName()Returns the name of the Workbasket.Returns the orglevel1 of the Workbasket.Returns the orglevel2 of the Workbasket.Returns the orglevel3 of the Workbasket.Returns the orglevel4 of the Workbasket.getOwner()Returns the owner of the Workbasket.getType()Returns the type of the Workbasket.inthashCode()booleanChecks if the Workbasket is marked for deletion.voidsetCustom1(String custom1) voidsetCustom2(String custom2) voidsetCustom3(String custom3) voidsetCustom4(String custom4) voidsetCustom5(String custom5) voidsetCustom6(String custom6) voidsetCustom7(String custom7) voidsetCustom8(String custom8) voidsetDescription(String description) voidvoidvoidvoidsetMarkedForDeletion(boolean markedForDeletion) voidvoidsetOrgLevel1(String orgLevel1) voidsetOrgLevel2(String orgLevel2) voidsetOrgLevel3(String orgLevel3) voidsetOrgLevel4(String orgLevel4) voidvoidsetType(WorkbasketType type) toString()
-
Field Details
-
id
-
key
-
name
-
description
-
owner
-
domain
-
type
-
custom1
-
custom2
-
custom3
-
custom4
-
custom5
-
custom6
-
custom7
-
custom8
-
orgLevel1
-
orgLevel2
-
orgLevel3
-
orgLevel4
-
markedForDeletion
protected boolean markedForDeletion
-
-
Constructor Details
-
WorkbasketSummaryImpl
public WorkbasketSummaryImpl() -
WorkbasketSummaryImpl
-
-
Method Details
-
getId
Description copied from interface:WorkbasketSummaryReturns the id of the Workbasket.- Specified by:
getIdin interfaceWorkbasketSummary- Returns:
- id
-
setId
-
getKey
Description copied from interface:WorkbasketSummaryReturns the key of the Workbasket.- Specified by:
getKeyin interfaceWorkbasketSummary- Returns:
- key
-
setKey
-
getName
Description copied from interface:WorkbasketSummaryReturns the name of the Workbasket.- Specified by:
getNamein interfaceWorkbasketSummary- Returns:
- name
-
setName
-
getDescription
Description copied from interface:WorkbasketSummaryReturns the description of the Workbasket.- Specified by:
getDescriptionin interfaceWorkbasketSummary- Returns:
- description
-
setDescription
-
getOwner
Description copied from interface:WorkbasketSummaryReturns the owner of the Workbasket.- Specified by:
getOwnerin interfaceWorkbasketSummary- Returns:
- owner
-
setOwner
-
getDomain
Description copied from interface:WorkbasketSummaryReturns the domain of the Workbasket.- Specified by:
getDomainin interfaceWorkbasketSummary- Returns:
- domain
-
setDomain
-
getType
Description copied from interface:WorkbasketSummaryReturns the type of the Workbasket.- Specified by:
getTypein interfaceWorkbasketSummary- Returns:
- type
-
setType
-
getCustomAttribute
Deprecated.Description copied from interface:WorkbasketSummaryReturns the value of the specified WorkbasketCustomField of the Workbasket.- Specified by:
getCustomAttributein interfaceWorkbasketSummary- Parameters:
customField- identifies which WorkbasketCustomField is requested- Returns:
- the value for the given WorkbasketCustomField
-
getCustomField
Description copied from interface:WorkbasketSummaryReturns the value of the specified WorkbasketCustomField of the Workbasket.- Specified by:
getCustomFieldin interfaceWorkbasketSummary- Parameters:
customField- identifies which the value of the specified WorkbasketCustomField of the Workbasket is requested- Returns:
- the value for the given the value of the specified WorkbasketCustomField of the Workbasket
-
getOrgLevel1
Description copied from interface:WorkbasketSummaryReturns the orglevel1 of the Workbasket.- Specified by:
getOrgLevel1in interfaceWorkbasketSummary- Returns:
- orglevel1
-
setOrgLevel1
-
getOrgLevel2
Description copied from interface:WorkbasketSummaryReturns the orglevel2 of the Workbasket.- Specified by:
getOrgLevel2in interfaceWorkbasketSummary- Returns:
- orglevel2
-
setOrgLevel2
-
getOrgLevel3
Description copied from interface:WorkbasketSummaryReturns the orglevel3 of the Workbasket.- Specified by:
getOrgLevel3in interfaceWorkbasketSummary- Returns:
- orglevel3
-
setOrgLevel3
-
getOrgLevel4
Description copied from interface:WorkbasketSummaryReturns the orglevel4 of the Workbasket.- Specified by:
getOrgLevel4in interfaceWorkbasketSummary- Returns:
- orglevel4
-
setOrgLevel4
-
isMarkedForDeletion
public boolean isMarkedForDeletion()Description copied from interface:WorkbasketSummaryChecks if the Workbasket is marked for deletion.- Specified by:
isMarkedForDeletionin interfaceWorkbasketSummary- Returns:
- the markedForDeletion flag
-
setMarkedForDeletion
public void setMarkedForDeletion(boolean markedForDeletion) -
copy
Description copied from interface:WorkbasketSummaryDuplicates this WorkbasketSummary without the id.- Specified by:
copyin interfaceWorkbasketSummary- Returns:
- a copy of this WorkbasketSummary
-
getCustom1
-
setCustom1
-
getCustom2
-
setCustom2
-
getCustom3
-
setCustom3
-
getCustom4
-
setCustom4
-
getCustom5
-
setCustom5
-
getCustom6
-
setCustom6
-
getCustom7
-
setCustom7
-
getCustom8
-
setCustom8
-
canEqual
-
hashCode
public int hashCode() -
equals
-
toString
-