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_PropertyMap
OBJECT_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_TRACKER
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL
CONTENT_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, setProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, 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, setProperties
protected static final com.wewebu.ow.server.ecm.OwFileObject.OwFileObjectClass m_WorkitemClassDescription
public OwDummyWorkitem(OwDummyWorkitemRepository repository_p, File file_p, OwDummyWorkitemContainer container_p) throws Exception
Exception
protected void loadProperties() throws Exception
loadProperties
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
getObjectClass
in interface com.wewebu.ow.server.ecm.OwObject
getObjectClass
in class com.wewebu.ow.server.ecm.OwFileObject
public static com.wewebu.ow.server.ecm.OwObjectClass getStaticObjectClass()
public int getType()
getType
in interface com.wewebu.ow.server.ecm.OwObjectReference
getType
in class com.wewebu.ow.server.ecm.OwFileObject
public String getMIMEType() throws Exception
getMIMEType
in interface com.wewebu.ow.server.ecm.OwContentElement
getMIMEType
in interface com.wewebu.ow.server.ecm.OwObjectReference
getMIMEType
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public boolean getLock(int iContext_p) throws Exception
getLock
in interface com.wewebu.ow.server.ecm.OwObject
getLock
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public String getLockUserID(int iContext_p) throws Exception
getLockUserID
in interface com.wewebu.ow.server.ecm.OwObject
getLockUserID
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public boolean getMyLock(int iContext_p) throws Exception
getMyLock
in interface com.wewebu.ow.server.ecm.OwObject
getMyLock
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public boolean setLock(boolean fLock_p) throws Exception
setLock
in interface com.wewebu.ow.server.ecm.OwObject
setLock
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public boolean isPropertiesObject()
boolean
public boolean canLock() throws Exception
canLock
in interface com.wewebu.ow.server.ecm.OwObject
canLock
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public String getDMSID() throws Exception
getDMSID
in interface com.wewebu.ow.server.ecm.OwObjectReference
getDMSID
in class com.wewebu.ow.server.ecm.OwFileObject
Exception
public boolean canDispatch(int iContext_p) throws Exception
canDispatch
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public boolean canForcedelete(int iContext_p) throws Exception
canForcedelete
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public boolean canReassignToPublicContainer(int iContext_p) throws Exception
canReassignToPublicContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public boolean canReassignToUserContainer(int iContext_p) throws Exception
canReassignToUserContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public boolean canResponse()
canResponse
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
public boolean canResubmit(int iContext_p) throws Exception
canResubmit
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public boolean canReturnToSource(int iContext_p) throws Exception
canReturnToSource
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public void dispatch() throws Exception
dispatch
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public void forcedelete() throws Exception
forcedelete
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public String getResponse() throws Exception
getResponse
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public Collection getResponses() throws Exception
getResponses
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public Date getResubmitDate(int iContext_p) throws Exception
getResubmitDate
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public com.wewebu.ow.server.ecm.bpm.OwWorkitemProcessorInfo getStepProcessorInfo() throws com.wewebu.ow.server.exceptions.OwObjectNotFoundException
getStepProcessorInfo
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
public void reassignToPublicContainer(String containername_p, boolean delegateFlag_p) throws Exception
reassignToPublicContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public void reassignToUserContainer(String participant_p, boolean delegateFlag_p) throws Exception
reassignToUserContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public void resubmit(Date date_p) throws Exception
resubmit
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
public void returnToSource() throws Exception
returnToSource
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.