public class OwDummyWorkitem
extends com.wewebu.ow.server.ecm.OwFileObject
implements com.wewebu.ow.server.ecm.bpm.OwWorkitem
Implementation for the dummy BPM Repository.
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
| Modifier and Type | Class and Description |
|---|---|
static class |
OwDummyWorkitem.OwDummyWorkitemFileObjectClass
File documents class definition for the OwFileDocument Object.
|
protected class |
OwDummyWorkitem.OwDummyWorkitemProcessorInfo |
protected static class |
OwDummyWorkitem.OwDummyWorkitemPropertyClass
Property class definition for the OwStandardProperty properties.
|
| Modifier and Type | Field and Description |
|---|---|
protected static com.wewebu.ow.server.ecm.OwFileObject.OwFileObjectClass |
m_WorkitemClassDescription
the one and only class description for the file objects
|
m_DirectoryClassDescription, m_eventmanager, m_File, m_FileClassDescription, m_locale, m_PropertyMapOBJECT_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_SMALLCONTENT_REPRESENTATION_TYPE_NONE, CONTENT_REPRESENTATION_TYPE_OBJECT, CONTENT_REPRESENTATION_TYPE_STREAM, CONTENT_REPRESENTATION_TYPE_URL, CONTENT_REPRESENTATION_TYPE_USER_START, CONTENT_TYPE_ANNOTATION, CONTENT_TYPE_DOCUMENT, CONTENT_TYPE_SECURITY, CONTENT_TYPE_USER_START| Constructor and Description |
|---|
OwDummyWorkitem(OwDummyWorkitemRepository repository_p,
File file_p,
OwDummyWorkitemContainer container_p) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDispatch(int iContext_p) |
boolean |
canForcedelete(int iContext_p) |
boolean |
canLock()
check if object supports lock mechanism
|
boolean |
canReassignToPublicContainer(int iContext_p) |
boolean |
canReassignToUserContainer(int iContext_p) |
boolean |
canResponse() |
boolean |
canResubmit(int iContext_p) |
boolean |
canReturnToSource(int iContext_p) |
void |
dispatch() |
void |
forcedelete() |
String |
getDMSID() |
boolean |
getLock(int iContext_p) |
String |
getLockUserID(int iContext_p) |
String |
getMIMEType() |
boolean |
getMyLock(int iContext_p) |
com.wewebu.ow.server.ecm.OwObjectClass |
getObjectClass()
get the class description of the object, the class descriptions are defined by the DMS System
|
String |
getResponse() |
Collection |
getResponses() |
Date |
getResubmitDate(int iContext_p) |
static com.wewebu.ow.server.ecm.OwObjectClass |
getStaticObjectClass()
get the class description of the object, the class descriptions are defined by the DMS System
|
com.wewebu.ow.server.ecm.bpm.OwWorkitemProcessorInfo |
getStepProcessorInfo() |
int |
getType() |
boolean |
isPropertiesObject()
check if this object is a properties file to another object
|
protected void |
loadProperties()
load all properties of the file.
|
void |
reassignToPublicContainer(String containername_p,
boolean delegateFlag_p) |
void |
reassignToUserContainer(String participant_p,
boolean delegateFlag_p) |
void |
resubmit(Date date_p) |
void |
returnToSource() |
boolean |
setLock(boolean fLock_p) |
void |
setResponse(String strResponse_p) |
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetContent, canGetPermissions, canGetProperties, canMove, canRemoveReference, canSetContent, canSetPermissions, canSetProperties, changeClass, createFileObject, delete, exists, getChildCount, getChildren, getChilds, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getContentElement, getContentFilePath, getContentObject, getContentRepresentation, getContentStream, getContentTypes, getContentURL, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getFileObject, getFilterProperties, getID, getInstance, getMIMEParameter, getName, getNativeObject, getNetwork, getPageCount, getPageNumber, getParents, getPath, getPermissions, getProperties, getProperty, getResource, getResourceID, getSafeFieldValue, getSearchTemplate, getVersion, getVersionSeries, hasChilds, hasContent, hasVersionSeries, isInputStreamNative, move, refreshProperties, refreshProperties, releaseResources, removeReference, setContentCollection, setField, setPermissions, setProperties, setPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, canAdd, canChangeClass, canDelete, canFilterChilds, canGetContent, canGetPermissions, canGetProperties, canMove, canRemoveReference, canSetContent, canSetPermissions, canSetProperties, changeClass, delete, getChildCount, getChilds, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getFilterProperties, getNativeObject, getParents, getPath, getPermissions, getProperties, getProperty, getResource, getSearchTemplate, getVersion, getVersionSeries, hasChilds, hasVersionSeries, move, refreshProperties, refreshProperties, removeReference, setContentCollection, setPermissions, setProperties, setPropertiesprotected static final com.wewebu.ow.server.ecm.OwFileObject.OwFileObjectClass m_WorkitemClassDescription
public OwDummyWorkitem(OwDummyWorkitemRepository repository_p, File file_p, OwDummyWorkitemContainer container_p) throws Exception
Exceptionprotected void loadProperties()
throws Exception
loadProperties in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
getObjectClass in interface com.wewebu.ow.server.ecm.OwObjectgetObjectClass in class com.wewebu.ow.server.ecm.OwFileObjectpublic static com.wewebu.ow.server.ecm.OwObjectClass getStaticObjectClass()
public int getType()
getType in interface com.wewebu.ow.server.ecm.OwObjectReferencegetType in class com.wewebu.ow.server.ecm.OwFileObjectpublic String getMIMEType() throws Exception
getMIMEType in interface com.wewebu.ow.server.ecm.OwContentElementgetMIMEType in interface com.wewebu.ow.server.ecm.OwObjectReferencegetMIMEType in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic boolean getLock(int iContext_p)
throws Exception
getLock in interface com.wewebu.ow.server.ecm.OwObjectgetLock in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic String getLockUserID(int iContext_p) throws Exception
getLockUserID in interface com.wewebu.ow.server.ecm.OwObjectgetLockUserID in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic boolean getMyLock(int iContext_p)
throws Exception
getMyLock in interface com.wewebu.ow.server.ecm.OwObjectgetMyLock in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic boolean setLock(boolean fLock_p)
throws Exception
setLock in interface com.wewebu.ow.server.ecm.OwObjectsetLock in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic boolean isPropertiesObject()
booleanpublic boolean canLock()
throws Exception
canLock in interface com.wewebu.ow.server.ecm.OwObjectcanLock in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic String getDMSID() throws Exception
getDMSID in interface com.wewebu.ow.server.ecm.OwObjectReferencegetDMSID in class com.wewebu.ow.server.ecm.OwFileObjectExceptionpublic boolean canDispatch(int iContext_p)
throws Exception
canDispatch in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic boolean canForcedelete(int iContext_p)
throws Exception
canForcedelete in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic boolean canReassignToPublicContainer(int iContext_p)
throws Exception
canReassignToPublicContainer in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic boolean canReassignToUserContainer(int iContext_p)
throws Exception
canReassignToUserContainer in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic boolean canResponse()
canResponse in interface com.wewebu.ow.server.ecm.bpm.OwWorkitempublic boolean canResubmit(int iContext_p)
throws Exception
canResubmit in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic boolean canReturnToSource(int iContext_p)
throws Exception
canReturnToSource in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic void dispatch()
throws Exception
dispatch in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic void forcedelete()
throws Exception
forcedelete in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic String getResponse() throws Exception
getResponse in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic Collection getResponses() throws Exception
getResponses in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic Date getResubmitDate(int iContext_p) throws Exception
getResubmitDate in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic com.wewebu.ow.server.ecm.bpm.OwWorkitemProcessorInfo getStepProcessorInfo()
throws com.wewebu.ow.server.exceptions.OwObjectNotFoundException
getStepProcessorInfo in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemcom.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionpublic void reassignToPublicContainer(String containername_p, boolean delegateFlag_p) throws Exception
reassignToPublicContainer in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic void reassignToUserContainer(String participant_p, boolean delegateFlag_p) throws Exception
reassignToUserContainer in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic void resubmit(Date date_p) throws Exception
resubmit in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionpublic void returnToSource()
throws Exception
returnToSource in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.