|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.spis.rms.DefaultResource de.danet.an.workflow.spis.rms.DefaultRoleResource
This class provides a RoleResource
implementation based
on the BasicResource
. The class ensures that the resource
key can be distinguished as a role resource's key.
Constructor Summary | |
DefaultRoleResource(ResourceAssignmentContext cbh,
java.lang.String id,
java.lang.String name)
Create a new instance with all attributes initialized to defaults or the given values. |
Method Summary | |
java.lang.String |
getId()
Return the id passed to the constructor. |
static java.lang.String |
getId(java.lang.String key)
Return the id part of a key. |
static boolean |
isValidKey(java.lang.String key)
Check if the given key is a role resource's key. |
Methods inherited from class de.danet.an.workflow.spis.rms.DefaultResource |
equals, hashCode, isMemberOfWorkItems, release, resourceKey, resourceName, workItems |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.danet.an.workflow.omgcore.WfResource |
isMemberOfWorkItems, release, resourceKey, resourceName, workItems |
Constructor Detail |
public DefaultRoleResource(ResourceAssignmentContext cbh, java.lang.String id, java.lang.String name)
cbh
- id
- name
- Method Detail |
public static boolean isValidKey(java.lang.String key)
public static java.lang.String getId(java.lang.String key)
public java.lang.String getId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |