|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Base interface for entities with attributes that are accessible via WAPI.
| Field Summary | |
static int |
ACTIVITY_INSTANCE_TYPE
The entity is of type ActivityInstance |
static int |
PROCESS_INSTANCE_TYPE
The entity is of type ProcessInstance |
static int |
WORKITEM_TYPE
The entity is of type WorkItem |
| Method Summary | |
AttributeInstance |
getAttributeInstance(java.lang.String attributeName)
Returns the named attribute for the entity, if one exists. |
java.util.Map |
getAttributeInstances()
Returns a map of attributes for this entity, keyed on attribute name. |
java.lang.String |
getEntityId()
Returns the primary key for the entity. |
java.lang.String |
getProcessDefinitionId()
Returns the ID of the associated process definition. |
java.lang.String |
getProcessInstanceId()
Returns the ID of the associated process instance. |
| Field Detail |
public static final int PROCESS_INSTANCE_TYPE
ProcessInstance
public static final int ACTIVITY_INSTANCE_TYPE
ActivityInstance
public static final int WORKITEM_TYPE
WorkItem
| Method Detail |
public java.lang.String getProcessDefinitionId()
public java.lang.String getProcessInstanceId()
public java.lang.String getEntityId()
public AttributeInstance getAttributeInstance(java.lang.String attributeName)
throws RepositoryException
attributeName - The name of the attribute.
ObjectNotFoundException - if the attribute could not be found.
RepositoryException - if some other exception occurred.
public java.util.Map getAttributeInstances()
throws RepositoryException
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||