com.wewebu.ow.server.ecmimpl.owdummy
Class OwDummyWorkitem
java.lang.Object
com.wewebu.ow.server.ecm.OwFileObject
com.wewebu.ow.server.ecmimpl.owdummy.OwDummyWorkitem
- All Implemented Interfaces:
- com.wewebu.ow.server.ecm.bpm.OwWorkitem, com.wewebu.ow.server.ecm.OwContentCollection, com.wewebu.ow.server.ecm.OwContentElement, com.wewebu.ow.server.ecm.OwObject, com.wewebu.ow.server.ecm.OwObjectReference, com.wewebu.ow.server.field.OwFieldProvider
- Direct Known Subclasses:
- OwDummyLaunchWorkitemContainer.OwDummyLaunchWorkitem
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
Nested classes/interfaces inherited from class com.wewebu.ow.server.ecm.OwFileObject |
com.wewebu.ow.server.ecm.OwFileObject.OwFileObjectClass, com.wewebu.ow.server.ecm.OwFileObject.OwFilePropertyClass, com.wewebu.ow.server.ecm.OwFileObject.OwObjectFileFilter |
Field Summary |
protected static com.wewebu.ow.server.ecm.OwFileObject.OwFileObjectClass |
m_WorkitemClassDescription
the one and only class description for the file objects |
Fields inherited from class com.wewebu.ow.server.ecm.OwFileObject |
m_DirectoryClassDescription, m_eventmanager, m_File, m_FileClassDescription, m_locale, m_PropertyMap |
Fields inherited from interface com.wewebu.ow.server.ecm.OwObject |
STANDARD_PATH_DELIMITER |
Fields inherited from interface com.wewebu.ow.server.ecm.OwObjectReference |
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 |
Fields inherited from interface com.wewebu.ow.server.field.OwFieldProvider |
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL |
Fields inherited from interface com.wewebu.ow.server.ecm.OwContentCollection |
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 |
Methods inherited from class com.wewebu.ow.server.ecm.OwFileObject |
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetContent, canGetPermissions, canGetProperties, canMove, canRemoveReference, canSetContent, canSetPermissions, canSetProperties, changeClass, createFileObject, delete, exists, getChildCount, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.wewebu.ow.server.ecm.OwObject |
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 |
Methods inherited from interface com.wewebu.ow.server.ecm.OwObjectReference |
getID, getInstance, getMIMEParameter, getName, getPageCount, getResourceID, hasContent |
Methods inherited from interface com.wewebu.ow.server.field.OwFieldProvider |
getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getSafeFieldValue, setField |
m_WorkitemClassDescription
protected static final com.wewebu.ow.server.ecm.OwFileObject.OwFileObjectClass m_WorkitemClassDescription
- the one and only class description for the file objects
OwDummyWorkitem
public OwDummyWorkitem(OwDummyWorkitemRepository repository_p,
File file_p,
OwDummyWorkitemContainer container_p)
throws Exception
- Throws:
Exception
loadProperties
protected void loadProperties()
throws Exception
- load all properties of the file. There are so little, we just load all at once
- Overrides:
loadProperties
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
getObjectClass
public com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
- get the class description of the object, the class descriptions are defined by the DMS System
- Specified by:
getObjectClass
in interface com.wewebu.ow.server.ecm.OwObject
- Overrides:
getObjectClass
in class com.wewebu.ow.server.ecm.OwFileObject
- Returns:
- class description name of object class
getStaticObjectClass
public static com.wewebu.ow.server.ecm.OwObjectClass getStaticObjectClass()
- get the class description of the object, the class descriptions are defined by the DMS System
- Returns:
- class description name of object class
getType
public int getType()
- Specified by:
getType
in interface com.wewebu.ow.server.ecm.OwObjectReference
- Overrides:
getType
in class com.wewebu.ow.server.ecm.OwFileObject
getMIMEType
public String getMIMEType()
throws Exception
- Specified by:
getMIMEType
in interface com.wewebu.ow.server.ecm.OwContentElement
- Specified by:
getMIMEType
in interface com.wewebu.ow.server.ecm.OwObjectReference
- Overrides:
getMIMEType
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
getLock
public boolean getLock(int iContext_p)
throws Exception
- Specified by:
getLock
in interface com.wewebu.ow.server.ecm.OwObject
- Overrides:
getLock
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
getLockUserID
public String getLockUserID(int iContext_p)
throws Exception
- Specified by:
getLockUserID
in interface com.wewebu.ow.server.ecm.OwObject
- Overrides:
getLockUserID
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
getMyLock
public boolean getMyLock(int iContext_p)
throws Exception
- Specified by:
getMyLock
in interface com.wewebu.ow.server.ecm.OwObject
- Overrides:
getMyLock
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
setLock
public boolean setLock(boolean fLock_p)
throws Exception
- Specified by:
setLock
in interface com.wewebu.ow.server.ecm.OwObject
- Overrides:
setLock
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
isPropertiesObject
public boolean isPropertiesObject()
- check if this object is a properties file to another object
- Returns:
- a
boolean
canLock
public boolean canLock()
throws Exception
- check if object supports lock mechanism
- Specified by:
canLock
in interface com.wewebu.ow.server.ecm.OwObject
- Overrides:
canLock
in class com.wewebu.ow.server.ecm.OwFileObject
- Returns:
- true, if object supports lock, i.e. the setLock function works
- Throws:
Exception
getDMSID
public String getDMSID()
throws Exception
- Specified by:
getDMSID
in interface com.wewebu.ow.server.ecm.OwObjectReference
- Overrides:
getDMSID
in class com.wewebu.ow.server.ecm.OwFileObject
- Throws:
Exception
canDispatch
public boolean canDispatch(int iContext_p)
throws Exception
- Specified by:
canDispatch
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
canForcedelete
public boolean canForcedelete(int iContext_p)
throws Exception
- Specified by:
canForcedelete
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
canReassignToPublicContainer
public boolean canReassignToPublicContainer(int iContext_p)
throws Exception
- Specified by:
canReassignToPublicContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
canReassignToUserContainer
public boolean canReassignToUserContainer(int iContext_p)
throws Exception
- Specified by:
canReassignToUserContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
canResponse
public boolean canResponse()
- Specified by:
canResponse
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
canResubmit
public boolean canResubmit(int iContext_p)
throws Exception
- Specified by:
canResubmit
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
canReturnToSource
public boolean canReturnToSource(int iContext_p)
throws Exception
- Specified by:
canReturnToSource
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
dispatch
public void dispatch()
throws Exception
- Specified by:
dispatch
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
forcedelete
public void forcedelete()
throws Exception
- Specified by:
forcedelete
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
getResponse
public String getResponse()
throws Exception
- Specified by:
getResponse
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
getResponses
public Collection getResponses()
throws Exception
- Specified by:
getResponses
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
getResubmitDate
public Date getResubmitDate(int iContext_p)
throws Exception
- Specified by:
getResubmitDate
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
getStepProcessorInfo
public com.wewebu.ow.server.ecm.bpm.OwWorkitemProcessorInfo getStepProcessorInfo()
throws com.wewebu.ow.server.exceptions.OwObjectNotFoundException
- Specified by:
getStepProcessorInfo
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
reassignToPublicContainer
public void reassignToPublicContainer(String containername_p,
boolean delegateFlag_p)
throws Exception
- Specified by:
reassignToPublicContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
reassignToUserContainer
public void reassignToUserContainer(String participant_p,
boolean delegateFlag_p)
throws Exception
- Specified by:
reassignToUserContainer
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
resubmit
public void resubmit(Date date_p)
throws Exception
- Specified by:
resubmit
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
returnToSource
public void returnToSource()
throws Exception
- Specified by:
returnToSource
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
setResponse
public void setResponse(String strResponse_p)
throws Exception
- Specified by:
setResponse
in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.