|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.home1.jdo2.WfProcessInstance
public class WfProcessInstance
Class WfProcessInstance
| Nested Class Summary | |
|---|---|
static class |
WfProcessInstance.Identity
The object's application identity |
static class |
WfProcessInstance.Slice
|
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Field Summary | |
|---|---|
static List<String> |
BASE_CLASS
Define this class as base class |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::home1::WfProcessInstance |
| Constructor Summary | |
|---|---|
WfProcessInstance()
|
|
| Method Summary | ||
|---|---|---|
|
addOwningGroup(PrincipalGroup group,
short mode)
|
|
org.openmdx.base.cci2.BasicObject |
getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent. |
|
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
|
|
getActionLog()
Retrieves a set containing all the elements for the reference actionLog. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
|
|
XRI |
getIdentity()
Retrieves the value for the derived attribute identity. |
|
Date |
getLastActivityOn()
|
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
|
|
List<String> |
getOwner()
|
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by
owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
WfProcessInstance |
getParent()
Retrieves the value for the reference parent. |
|
WfProcess |
getProcess()
Retrieves the value for the reference process. |
|
|
getProperty()
Retrieves a set containing all the elements for the reference property. |
|
Date |
getStartedOn()
|
|
Integer |
getStepCounter()
|
|
URI |
getTargetObject()
|
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
Boolean |
isFailed()
|
|
static WfProcessInstance.Identity |
newIdentity(UserHome.Identity userHome,
boolean idIsPersistent,
String id)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
static CloseableCollection<WfProcessInstance> |
openmdxjdoGetObjectsByParent(UserHome userHome)
Navigate through an object's composite association |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
|
removeAllOwningGroup(short mode)
|
|
|
removeOwningGroup(PrincipalGroup group,
short mode)
|
|
|
setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
|
|
void |
setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse. |
|
void |
setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete. |
|
void |
setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate. |
|
void |
setFailed(Boolean failed)
Sets a new value for the attribute failed. |
|
void |
setLastActivityOn(Date lastActivityOn)
Sets a new value for the attribute lastActivityOn. |
|
|
setOwningUser(short mode,
User user)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setParent(WfProcessInstance parent)
Sets a new value for the reference parent. |
|
void |
setProcess(WfProcess process)
Sets a new value for the reference process. |
|
void |
setStartedOn(Date startedOn)
Sets a new value for the attribute startedOn. |
|
void |
setStepCounter(Integer stepCounter)
Sets a new value for the attribute stepCounter. |
|
void |
setTargetObject(URI targetObject)
Sets a new value for the attribute targetObject. |
|
void |
setUserHome(UserHome userHome)
Sets a new value for the reference userHome. |
|
void |
setUserHome(UserHome userHome,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:home1:UserHomeContainsWfProcessInstance. |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetIdentity, openmdxjdoGetIdentity, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::home1::WfProcessInstance
public static final List<String> BASE_CLASS
WfProcessInstance.CLASS| Constructor Detail |
|---|
public WfProcessInstance()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic final URI getTargetObject()
getTargetObject in interface WfProcessInstancetargetObject.public void setTargetObject(URI targetObject)
targetObject.
setTargetObject in interface WfProcessInstancetargetObject - The possibly null new value for attribute targetObject.public short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface org.openmdx.base.cci2.BasicObjectmodifiedAt.public <T extends WfActionLogEntry> Collection<T> getActionLog()
actionLog.
getActionLog in interface WfProcessInstancepublic final Set<String> getModifiedBy()
getModifiedBy in interface org.openmdx.base.cci2.BasicObjectpublic final Boolean isFailed()
isFailed in interface WfProcessInstancefailed.public void setFailed(Boolean failed)
failed.
setFailed in interface WfProcessInstancefailed - The possibly null new value for attribute failed.public short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public final Date getLastActivityOn()
getLastActivityOn in interface WfProcessInstancelastActivityOn.public void setLastActivityOn(Date lastActivityOn)
lastActivityOn.
setLastActivityOn in interface WfProcessInstancelastActivityOn - The possibly null new value for attribute lastActivityOn.public XRI getIdentity()
identity.
getIdentity in interface org.openmdx.base.cci2.ExtentCapableidentitypublic final Date getStartedOn()
getStartedOn in interface WfProcessInstancestartedOn.public void setStartedOn(Date startedOn)
startedOn.
setStartedOn in interface WfProcessInstancestartedOn - The possibly null new value for attribute startedOn.public Date getCreatedAt()
createdAt.
getCreatedAt in interface org.openmdx.base.cci2.BasicObjectcreatedAt.
public <T extends ModifySecureObjectResult> T removeAllOwningGroup(short mode)
throws RefException
removeAllOwningGroup in interface SecureObjectRefException
public <T extends ModifySecureObjectResult> T setOwningUser(short mode,
User user)
throws RefException
setOwningUser in interface SecureObjectRefExceptionpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by
owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public final Integer getStepCounter()
getStepCounter in interface WfProcessInstancestepCounter.public void setStepCounter(Integer stepCounter)
stepCounter.
setStepCounter in interface WfProcessInstancestepCounter - The possibly null new value for attribute stepCounter.
public <T extends ModifySecureObjectResult> T addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic WfProcessInstance getParent()
parent.
getParent in interface WfProcessInstancenull – value for this reference.public void setParent(WfProcessInstance parent)
parent.
setParent in interface WfProcessInstanceparent - The non-null new value for this reference.public <T extends Property> Collection<T> getProperty()
property.
getProperty in interface PropertySet
public <T extends ModifySecureObjectResult> T removeOwningGroup(PrincipalGroup group,
short mode)
throws RefException
removeOwningGroup in interface SecureObjectRefExceptionpublic WfProcess getProcess()
process.
getProcess in interface WfProcessInstancenull value for this reference.public void setProcess(WfProcess process)
process.
setProcess in interface WfProcessInstanceprocess - The non-null new value for this reference.public short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public final Set<String> getCreatedBy()
getCreatedBy in interface org.openmdx.base.cci2.BasicObjectpublic org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.
public <T extends ModifySecureObjectResult> T setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
throws RefException
setAccessLevel in interface SecureObjectRefExceptionpublic final List<String> getOwner()
getOwner in interface SecureObjectpublic <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
view.
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapablepublic User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
WfProcessInstance.CLASSpublic void setUserHome(UserHome userHome)
userHome.
setUserHome in interface WfProcessInstanceuserHome - The non-null new value for this reference.public static CloseableCollection<WfProcessInstance> openmdxjdoGetObjectsByParent(UserHome userHome)
public void setUserHome(UserHome userHome,
boolean idIsPersistent,
String id)
org:opencrx:kernel:home1:UserHomeContainsWfProcessInstance.
setUserHome in interface WfProcessInstanceuserHome - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
public static WfProcessInstance.Identity newIdentity(UserHome.Identity userHome,
boolean idIsPersistent,
String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||