public interface WorkbasketAccessItem
| Modifier and Type | Method and Description |
|---|---|
WorkbasketAccessItem |
copy()
Duplicates this WorkbasketAccessItem without the id.
|
String |
getAccessId()
Returns the group id or user id for which this WorkbasketAccessItem controls access
permissions.
|
String |
getAccessName()
Returns the name of the group or user for which this WorkbasketAccessItem controls access
permissions.
|
String |
getId()
Returns the current id of the WorkbasketAccessItem.
|
boolean |
getPermission(WorkbasketPermission permission)
Returns weather the given permission is permitted or not.
|
String |
getWorkbasketId()
Returns the Id of the referenced workbasket.
|
String |
getWorkbasketKey()
Returns the Key of the referenced workbasket.
|
void |
setAccessName(String name)
Set the name of the group or user for which this WorkbasketAccessItem controls access
permissions.
|
void |
setPermission(WorkbasketPermission permission,
boolean value)
Sets a given permission for the referenced workbasket.
|
String getId()
String getWorkbasketId()
String getWorkbasketKey()
String getAccessId()
String getAccessName()
void setAccessName(String name)
name - the name of the group or user for which this WorkbasketAccessItem controls access
permissions.void setPermission(WorkbasketPermission permission, boolean value)
permission - the permission which is set.value - the value for the permission.boolean getPermission(WorkbasketPermission permission)
permission - the permission in question.WorkbasketAccessItem copy()
Copyright © 2020. All rights reserved.