public interface OwWorkitem extends OwObject
Base interface for Workitem containers, or BPM Queues.
To be implemented with the specific BPM system.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
STANDARD_PATH_DELIMITEROBJECT_TYPE_ALL_CONTAINER_OBJECTS, OBJECT_TYPE_ALL_CONTENT_OBJECTS, OBJECT_TYPE_ALL_TUPLE_OBJECTS, OBJECT_TYPE_ALL_WORKFLOW_OBJECTS, OBJECT_TYPE_BPM_ROOT_FOLDER, OBJECT_TYPE_CONTAINER_USER_START, OBJECT_TYPE_CONTENT_USER_START, OBJECT_TYPE_CROSS_QUEUE_FOLDER, OBJECT_TYPE_CUSTOM, OBJECT_TYPE_DOCUMENT, OBJECT_TYPE_DYNAMIC_VIRTUAL_FOLDER, OBJECT_TYPE_ECM_ROOT_FOLDER, OBJECT_TYPE_FOLDER, OBJECT_TYPE_HISTORY, OBJECT_TYPE_LINK, OBJECT_TYPE_PROXY_QUEUE_FOLDER, OBJECT_TYPE_PUBLIC_QUEUE_FOLDER, OBJECT_TYPE_ROSTER_FOLDER, OBJECT_TYPE_ROSTERITEM, OBJECT_TYPE_STORED_SEARCH, OBJECT_TYPE_SYS_QUEUE_FOLDER, OBJECT_TYPE_TRACKER_QUEUE_FOLDER, OBJECT_TYPE_TUPLE_USER_START, OBJECT_TYPE_UNDEFINED, OBJECT_TYPE_USER_QUEUE_FOLDER, OBJECT_TYPE_VIRTUAL_FOLDER, OBJECT_TYPE_WORKFLOW_USER_START, OBJECT_TYPE_WORKITEM, OBJECT_TYPE_WORKITEM_PROXY, OBJECT_TYPE_WORKITEM_TRACKERTYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL| Modifier and Type | Method and Description |
|---|---|
boolean |
canDispatch(int iContext_p)
check if you can dispatch the workitem, move it to the next public queue
|
boolean |
canForcedelete(int iContext_p)
check if deletion of object and all references, regardless of any state is possible / allowed
|
boolean |
canReassignToPublicContainer(int iContext_p)
check if you can reassign the work item
|
boolean |
canReassignToUserContainer(int iContext_p)
check if you can reassign the work item
|
boolean |
canResponse()
check if you can set a response
|
boolean |
canResubmit(int iContext_p)
check if you can resubmit the work item to
|
boolean |
canReturnToSource(int iContext_p)
check if you can return the work item to the source from where it has been moved
|
void |
dispatch()
dispatch the workitem, move it to the next public queue
|
void |
forcedelete()
delete object and all references, regardless of any state
|
String |
getResponse()
get a response
|
Collection |
getResponses()
get a list of possible responses
|
Date |
getResubmitDate(int iContext_p)
get the currently set resubmit date
|
OwWorkitemProcessorInfo |
getStepProcessorInfo()
get a step processor info class for the work item
|
void |
reassignToPublicContainer(String containername_p,
boolean delegateFlag_p)
reassign the workitem.
|
void |
reassignToUserContainer(String participant_p,
boolean delegateFlag_p)
reassign the workitem.
|
void |
resubmit(Date date_p)
resubmit the work item to the given date
|
void |
returnToSource()
return the work item to the source from where it has been moved
|
void |
setResponse(String strResponse_p)
set a response
|
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetContent, canGetPermissions, canGetProperties, canLock, canMove, canRemoveReference, canSetContent, canSetPermissions, canSetProperties, changeClass, delete, getChildCount, getChilds, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getFilterProperties, getLock, getLockUserID, getMyLock, getNativeObject, getObjectClass, getParents, getPath, getPermissions, getProperties, getProperty, getResource, getSearchTemplate, getVersion, getVersionSeries, hasChilds, hasVersionSeries, move, refreshProperties, refreshProperties, removeReference, setContentCollection, setLock, setPermissions, setProperties, setPropertiesgetDMSID, getID, getInstance, getMIMEParameter, getMIMEType, getName, getPageCount, getResourceID, getType, hasContentgetField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getSafeFieldValue, setFieldOwWorkitemProcessorInfo getStepProcessorInfo() throws OwObjectNotFoundException
OwObjectNotFoundExceptionvoid setResponse(String strResponse_p) throws Exception
Exceptionboolean canResponse()
Collection getResponses() throws Exception
Exceptionvoid forcedelete()
throws Exception
Exceptionboolean canForcedelete(int iContext_p)
throws Exception
iContext_p - OwStatusContextDefinitionsExceptionvoid dispatch()
throws Exception
Exceptionboolean canDispatch(int iContext_p)
throws Exception
iContext_p - OwStatusContextDefinitionsExceptionvoid returnToSource()
throws Exception
Exceptionboolean canReturnToSource(int iContext_p)
throws Exception
iContext_p - OwStatusContextDefinitionsExceptionvoid reassignToPublicContainer(String containername_p, boolean delegateFlag_p) throws Exception
containername_p - StringdelegateFlag_p - A boolean value. Specify true if you delegate the assignment and plan to review the completed assignment; otherwise specify false.Exceptionvoid reassignToUserContainer(String participant_p, boolean delegateFlag_p) throws Exception
participant_p - StringdelegateFlag_p - A boolean value. Specify true if you delegate the assignment and plan to review the completed assignment; otherwise specify false.Exceptionboolean canReassignToPublicContainer(int iContext_p)
throws Exception
iContext_p - OwStatusContextDefinitionsExceptionboolean canReassignToUserContainer(int iContext_p)
throws Exception
iContext_p - OwStatusContextDefinitionsExceptionvoid resubmit(Date date_p) throws Exception
date_p - the date to resubmit, or null to clear resubmissionExceptionboolean canResubmit(int iContext_p)
throws Exception
iContext_p - OwStatusContextDefinitionsExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.