public interface Workbasket extends WorkbasketSummary
| Modifier and Type | Method and Description |
|---|---|
WorkbasketSummary |
asSummary()
Return a summary of the current workbasket.
|
Workbasket |
copy(String key)
Duplicates this Workbasket without the id.
|
Instant |
getCreated()
Returns the date when the workbasket was created.
|
Instant |
getModified()
Returns the date when the workbasket was modified the last time.
|
boolean |
isMarkedForDeletion()
Return the value for the markedForDeletion attribute.
|
void |
setCustomAttribute(WorkbasketCustomField customField,
String value)
Sets the value for custom Attribute.
|
void |
setDescription(String description)
Sets the workbasket-descriptions.
|
void |
setMarkedForDeletion(boolean markedForDeletion)
Sets the value for markedForDeletion attribute.
|
void |
setName(String workbasketName)
Sets the name of the workbasket.
|
void |
setOrgLevel1(String orgLevel1)
Sets the value for orgLevel1 attribute.
|
void |
setOrgLevel2(String orgLevel2)
Sets the value for orgLevel2 attribute.
|
void |
setOrgLevel3(String orgLevel3)
Sets the value for orgLevel3 attribute.
|
void |
setOrgLevel4(String orgLevel4)
Sets the value for orgLevel4 attribute.
|
void |
setOwner(String owner)
Sets the owner-ID of the workbasket.
|
void |
setType(WorkbasketType type)
Sets the type of the workbasket.
|
copy, getCustomAttribute, getDescription, getDomain, getId, getKey, getName, getOrgLevel1, getOrgLevel2, getOrgLevel3, getOrgLevel4, getOwner, getTypevoid setName(String workbasketName)
workbasketName - the name of the workbasketvoid setDescription(String description)
description - the description of the workbasketvoid setType(WorkbasketType type)
type - the type of the workbasketvoid setCustomAttribute(WorkbasketCustomField customField, String value)
customField - identifies which custom attribute is to be set.value - the value of the custom attribute to be setvoid setOrgLevel1(String orgLevel1)
orgLevel1 - the orgLevel1 property of the workbasketvoid setOrgLevel2(String orgLevel2)
orgLevel2 - the orgLevel2 property of the workbasketvoid setOrgLevel3(String orgLevel3)
orgLevel3 - the orgLevel3 property of the workbasketvoid setOrgLevel4(String orgLevel4)
orgLevel4 - the orgLevel4 property of the workbasketboolean isMarkedForDeletion()
isMarkedForDeletion in interface WorkbasketSummaryvoid setMarkedForDeletion(boolean markedForDeletion)
markedForDeletion - the markedForDeletion property of the workbasketWorkbasket copy(String key)
key - for the new Workbasketvoid setOwner(String owner)
owner - of the current workbasketInstant getCreated()
Instant getModified()
WorkbasketSummary asSummary()
Copyright © 2020. All rights reserved.