Class WorkbasketAccessItemImpl
java.lang.Object
pro.taskana.workbasket.internal.models.WorkbasketAccessItemImpl
- All Implemented Interfaces:
WorkbasketAccessItem
WorkbasketAccessItemImpl Entity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Duplicates this WorkbasketAccessItem without the id.booleanReturns the id of the group or the user for which this WorkbasketAccessItem controls access permissions.Returns the name of the group or user for which this WorkbasketAccessItem controls access permissions.getId()Returns the current id of the WorkbasketAccessItem.booleangetPermission(WorkbasketPermission permission) Returns whether the given permissions is permitted or not.Returns the id of the referenced Workbasket.Returns the key of the referenced Workbasket.inthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAccessId(String accessId) voidsetAccessName(String accessName) Set the name of the group or user for which this WorkbasketAccessItem controls access permissions.voidvoidsetPermAppend(boolean permAppend) voidsetPermCustom1(boolean permCustom1) voidsetPermCustom10(boolean permCustom10) voidsetPermCustom11(boolean permCustom11) voidsetPermCustom12(boolean permCustom12) voidsetPermCustom2(boolean permCustom2) voidsetPermCustom3(boolean permCustom3) voidsetPermCustom4(boolean permCustom4) voidsetPermCustom5(boolean permCustom5) voidsetPermCustom6(boolean permCustom6) voidsetPermCustom7(boolean permCustom7) voidsetPermCustom8(boolean permCustom8) voidsetPermCustom9(boolean permCustom9) voidsetPermDistribute(boolean permDistribute) voidsetPermEditTasks(boolean permEditTasks) voidsetPermission(WorkbasketPermission permission, boolean value) Sets a given permissions for the referencedWorkbasket.voidsetPermOpen(boolean permOpen) voidsetPermRead(boolean permRead) voidsetPermReadTasks(boolean permReadTasks) voidsetPermTransfer(boolean permTransfer) voidsetWorkbasketId(String workbasketId) voidsetWorkbasketKey(String workbasketKey) toString()
-
Constructor Details
-
WorkbasketAccessItemImpl
public WorkbasketAccessItemImpl()
-
-
Method Details
-
getId
Description copied from interface:WorkbasketAccessItemReturns the current id of the WorkbasketAccessItem.- Specified by:
getIdin interfaceWorkbasketAccessItem- Returns:
- id
-
setId
-
getWorkbasketId
Description copied from interface:WorkbasketAccessItemReturns the id of the referenced Workbasket.- Specified by:
getWorkbasketIdin interfaceWorkbasketAccessItem- Returns:
- workbasketId
-
setWorkbasketId
-
getWorkbasketKey
Description copied from interface:WorkbasketAccessItemReturns the key of the referenced Workbasket.- Specified by:
getWorkbasketKeyin interfaceWorkbasketAccessItem- Returns:
- key
-
setWorkbasketKey
-
getAccessId
Description copied from interface:WorkbasketAccessItemReturns the id of the group or the user for which this WorkbasketAccessItem controls access permissions.- Specified by:
getAccessIdin interfaceWorkbasketAccessItem- Returns:
- the accessId, this is the group id or user id
-
setAccessId
-
getAccessName
Description copied from interface:WorkbasketAccessItemReturns the name of the group or user for which this WorkbasketAccessItem controls access permissions.- Specified by:
getAccessNamein interfaceWorkbasketAccessItem- Returns:
- the accessName, this is the name of the group or user
-
setAccessName
Description copied from interface:WorkbasketAccessItemSet the name of the group or user for which this WorkbasketAccessItem controls access permissions.- Specified by:
setAccessNamein interfaceWorkbasketAccessItem- Parameters:
accessName- the name of the group or user for which this WorkbasketAccessItem controls access permissions
-
setPermission
Description copied from interface:WorkbasketAccessItemSets a given permissions for the referencedWorkbasket.- Specified by:
setPermissionin interfaceWorkbasketAccessItem- Parameters:
permission- the permissions which is setvalue- the value for the permissions
-
getPermission
Description copied from interface:WorkbasketAccessItemReturns whether the given permissions is permitted or not.- Specified by:
getPermissionin interfaceWorkbasketAccessItem- Parameters:
permission- the permissions in question- Returns:
- True, if the given permissions is permitted; otherwise false
-
isPermRead
public boolean isPermRead() -
setPermRead
public void setPermRead(boolean permRead) -
isPermReadTasks
public boolean isPermReadTasks() -
setPermReadTasks
public void setPermReadTasks(boolean permReadTasks) -
isPermEditTasks
public boolean isPermEditTasks() -
setPermEditTasks
public void setPermEditTasks(boolean permEditTasks) -
isPermOpen
public boolean isPermOpen() -
setPermOpen
public void setPermOpen(boolean permOpen) -
isPermAppend
public boolean isPermAppend() -
setPermAppend
public void setPermAppend(boolean permAppend) -
isPermTransfer
public boolean isPermTransfer() -
setPermTransfer
public void setPermTransfer(boolean permTransfer) -
isPermDistribute
public boolean isPermDistribute() -
setPermDistribute
public void setPermDistribute(boolean permDistribute) -
isPermCustom1
public boolean isPermCustom1() -
setPermCustom1
public void setPermCustom1(boolean permCustom1) -
isPermCustom2
public boolean isPermCustom2() -
setPermCustom2
public void setPermCustom2(boolean permCustom2) -
isPermCustom3
public boolean isPermCustom3() -
setPermCustom3
public void setPermCustom3(boolean permCustom3) -
isPermCustom4
public boolean isPermCustom4() -
setPermCustom4
public void setPermCustom4(boolean permCustom4) -
isPermCustom5
public boolean isPermCustom5() -
setPermCustom5
public void setPermCustom5(boolean permCustom5) -
isPermCustom6
public boolean isPermCustom6() -
setPermCustom6
public void setPermCustom6(boolean permCustom6) -
isPermCustom7
public boolean isPermCustom7() -
setPermCustom7
public void setPermCustom7(boolean permCustom7) -
isPermCustom8
public boolean isPermCustom8() -
setPermCustom8
public void setPermCustom8(boolean permCustom8) -
isPermCustom9
public boolean isPermCustom9() -
setPermCustom9
public void setPermCustom9(boolean permCustom9) -
isPermCustom10
public boolean isPermCustom10() -
setPermCustom10
public void setPermCustom10(boolean permCustom10) -
isPermCustom11
public boolean isPermCustom11() -
setPermCustom11
public void setPermCustom11(boolean permCustom11) -
isPermCustom12
public boolean isPermCustom12() -
setPermCustom12
public void setPermCustom12(boolean permCustom12) -
copy
Description copied from interface:WorkbasketAccessItemDuplicates this WorkbasketAccessItem without the id.- Specified by:
copyin interfaceWorkbasketAccessItem- Returns:
- a copy of this WorkbasketAccessItem
-
hashCode
public int hashCode() -
equals
-
toString
-