|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Not Implemented in CS Java Connector v3.0.
AWorkflowSubscription
object links an object implementing the
WorkflowTarget
interface to a workflow
definition and specifies whether a workflow can be launched manually or
launched automatically when
a particular event occurs.
Because of this linkage, you can retrieve a
list of workflows that can be launched for a target object
by calling the getWorkflowSubscriptions
method on the target object.
To have a workflow automatically launch for an object when an event
occurs (for example, on document check-in), set one of the WorkflowSubscription
object's
event-related properties (such as EnableOnCheckIn) to true. (Note that a
workflow subscription event is always fired asynchronously on the Content
Engine server, which means that the evaluation of the WorkflowSubscription
object and the launch of the workflow runs outside the causing transaction.)
You can also specify that a workflow can be launched manually by setting the
EnableManualLaunch property to true.
To create a WorkflowSubscription
object and persist it to a Content Services object store,
call the ObjectStore
interface's
createObject
method. An appropriate EventAction
object must exist before you can create a WorkflowSubscription
object and persist it.
You can instantiate a persisted WorkflowSubscription
object in the following ways:
getObject
method on an
ObjectStore
object.
WorkflowSubscriptions
collection, then
returning a WorkflowSubscription
object from the collection. See
the
WorkflowSubscriptions
interface for ways to instantiate a WorkflowSubscriptions
collection.
Field Summary |
Methods inherited from interface com.filenet.wcm.api.Subscription |
delete, getPermissionsXML, getUserAccess, getUserAccess, getUserAccess |
Methods inherited from interface com.filenet.wcm.api.BaseObject |
equals, exportObject, getClassId, getId, getName, getObjectStoreId, getObjectType, getSession, hashCode, thisBaseObject |
Methods inherited from interface com.filenet.wcm.api.WriteableSecurityObject |
setPermissions, setPermissions |
Methods inherited from interface com.filenet.wcm.api.WriteableMetadataObject |
setProperties |
Methods inherited from interface com.filenet.wcm.api.ReadableMetadataObject |
getProperties, getProperties, getPropertiesXML, getPropertyBinaryValue, getPropertyBooleanValue, getPropertyDateValue, getPropertyDoubleValue, getPropertyIntValue, getPropertyStringValue, getPropertyValue, getPropertyValuesValue, refresh, refresh |
Methods inherited from interface com.filenet.wcm.api.ReadableSecurityObject |
getPermissions, getPermissions |
|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |