public class UserPrivileges
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UserPrivileges() |
UserPrivileges(Element e) |
UserPrivileges(java.lang.String pid) |
UserPrivileges(java.lang.String pid,
boolean canChooseItemToStart,
boolean canStartConcurrent,
boolean canReorder,
boolean canViewAllOffered,
boolean canViewAllAllocated,
boolean canViewAllExecuting,
boolean canViewTeamItems,
boolean canViewOrgGroupItems,
boolean canChainExecution,
boolean canManageCases) |
Modifier and Type | Method and Description |
---|---|
void |
allowAll() |
boolean |
canChainExecution() |
boolean |
canChooseItemToStart() |
boolean |
canManageCases() |
boolean |
canReorder() |
boolean |
canStartConcurrent() |
boolean |
canViewOrgGroupItems() |
boolean |
canViewTeamItems() |
UserPrivileges |
clone() |
void |
disallowAll() |
void |
fromXML(java.lang.String xml) |
java.lang.String |
getID() |
java.lang.String |
getPrivilegesAsBits() |
void |
reconstitute(Element e) |
void |
setCanChainExecution(boolean canChainExecution) |
void |
setCanChooseItemToStart(boolean canChooseItemToStart) |
void |
setCanManageCases(boolean canManageCases) |
void |
setCanReorder(boolean canReorder) |
void |
setCanStartConcurrent(boolean canStartConcurrent) |
void |
setCanViewOrgGroupItems(boolean canViewOrgGroupItems) |
void |
setCanViewTeamItems(boolean canViewTeamItems) |
void |
setID(java.lang.String pid) |
void |
setPrivilegesFromBits(java.lang.String bits) |
void |
setValues(UserPrivileges up) |
java.lang.String |
toXML() |
public UserPrivileges()
public UserPrivileges(java.lang.String pid)
public UserPrivileges(java.lang.String pid, boolean canChooseItemToStart, boolean canStartConcurrent, boolean canReorder, boolean canViewAllOffered, boolean canViewAllAllocated, boolean canViewAllExecuting, boolean canViewTeamItems, boolean canViewOrgGroupItems, boolean canChainExecution, boolean canManageCases)
public UserPrivileges(Element e)
public UserPrivileges clone()
clone
in class java.lang.Object
public void setValues(UserPrivileges up)
public void allowAll()
public void disallowAll()
public java.lang.String getID()
public void setID(java.lang.String pid)
public boolean canChooseItemToStart()
public boolean canStartConcurrent()
public boolean canReorder()
public boolean canChainExecution()
public boolean canViewOrgGroupItems()
public boolean canViewTeamItems()
public boolean canManageCases()
public void setCanChooseItemToStart(boolean canChooseItemToStart)
public void setCanStartConcurrent(boolean canStartConcurrent)
public void setCanReorder(boolean canReorder)
public void setCanViewTeamItems(boolean canViewTeamItems)
public void setCanViewOrgGroupItems(boolean canViewOrgGroupItems)
public void setCanChainExecution(boolean canChainExecution)
public void setCanManageCases(boolean canManageCases)
public java.lang.String toXML()
public void fromXML(java.lang.String xml)
public void reconstitute(Element e)
public java.lang.String getPrivilegesAsBits()
public void setPrivilegesFromBits(java.lang.String bits)
Copyright © 2004-2014 The YAWL Foundation.