com.wewebu.ow.server.ecmimpl.alfresco.bpm
Class OwAlfrescoBPMWorkItem

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.alfresco.bpm.OwAlfrescoBPMWorkItem
All Implemented Interfaces:
com.wewebu.ow.server.ecm.bpm.OwWorkitem, com.wewebu.ow.server.ecm.OwObject, com.wewebu.ow.server.ecm.OwObjectReference, com.wewebu.ow.server.field.OwFieldProvider
Direct Known Subclasses:
OwAlfrescoBPMLaunchableWorkItem

public class OwAlfrescoBPMWorkItem
extends Object
implements com.wewebu.ow.server.ecm.bpm.OwWorkitem

Alfresco BPM based implementation of a OwWorkitem.

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

Since:
4.0.0.0

Field Summary
protected  Collection attachmentobjects
           
protected  OwAlfrescoBPMRepository bpmRepository
           
protected  IfOwAlfrescoBPMWporkitemContainer container
           
protected  OwAlfrescoBPMObjectClass objectClass
           
protected  Map<String,com.wewebu.ow.server.ecm.OwProperty> properties
           
protected  TaskInstance taskInstance
           
 
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
 
Constructor Summary
OwAlfrescoBPMWorkItem(TaskInstance taskInstance, IfOwAlfrescoBPMWporkitemContainer container, OwAlfrescoBPMRepository bpmRepository)
           
 
Method Summary
 void add(com.wewebu.ow.server.ecm.OwObject oObject_p)
           
 boolean canAdd(com.wewebu.ow.server.ecm.OwObject oObject_p, int iContext_p)
           
 boolean canChangeClass()
           
 boolean canDelete(int iContext_p)
           
 boolean canDispatch(int iContext_p)
           
 boolean canFilterChilds()
           
 boolean canForcedelete(int iContext_p)
           
 boolean canGetContent(int iContentType_p, int iContext_p)
           
 boolean canGetPermissions()
           
 boolean canGetProperties(int iContext_p)
           
 boolean canLock()
           
 boolean canMove(com.wewebu.ow.server.ecm.OwObject oObject_p, com.wewebu.ow.server.ecm.OwObject oldParent_p, int iContext_p)
           
 boolean canReassignToPublicContainer(int iContext_p)
           
 boolean canReassignToUserContainer(int iContext_p)
           
 boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject oObject_p, int iContext_p)
           
 boolean canResponse()
           
 boolean canResubmit(int iContext_p)
           
 boolean canReturnToSource(int iContext_p)
           
 boolean canSetContent(int iContentType_p, int iContext_p)
           
 boolean canSetPermissions()
           
 boolean canSetProperties(int iContext_p)
           
 void changeClass(String strNewClassName_p, com.wewebu.ow.server.ecm.OwPropertyCollection properties_p, com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p)
           
 void delete()
           
 void dispatch()
           
 void forcedelete()
           
 int getChildCount(int[] iObjectTypes_p, int iContext_p)
           
 com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] iObjectTypes_p, Collection propertyNames_p, com.wewebu.ow.server.field.OwSort sort_p, int iMaxSize_p, int iVersionSelection_p, com.wewebu.ow.server.field.OwSearchNode filterCriteria_p)
           
 String getClassName()
           
 com.wewebu.ow.server.ecm.OwPermissionCollection getClonedPermissions()
           
 com.wewebu.ow.server.ecm.OwPropertyCollection getClonedProperties(Collection propertyNames_p)
           
 Collection getColumnInfoList()
           
 com.wewebu.ow.server.ecm.OwContentCollection getContentCollection()
           
 String getDMSID()
           
 com.wewebu.ow.server.field.OwField getField(String strFieldClassName_p)
           
 String getFieldProviderName()
           
 Object getFieldProviderSource()
           
 int getFieldProviderType()
           
 Collection getFields()
           
 Collection getFilterProperties(Collection propertynames_p)
           
 String getID()
           
 com.wewebu.ow.server.ecm.OwObject getInstance()
           
 boolean getLock(int iContext_p)
           
 String getLockUserID(int iContext_p)
           
 String getMIMEParameter()
           
 String getMIMEType()
           
 boolean getMyLock(int iContext_p)
           
 String getName()
           
 Object getNativeObject()
           
 com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
           
 int getPageCount()
           
 com.wewebu.ow.server.ecm.OwObjectCollection getParents()
           
 String getPath()
           
 com.wewebu.ow.server.ecm.OwPermissionCollection getPermissions()
           
 com.wewebu.ow.server.ecm.OwPropertyCollection getProperties(Collection propertyNames_p)
           
 com.wewebu.ow.server.ecm.OwProperty getProperty(String strPropertyName_p)
           
 com.wewebu.ow.server.ecm.OwResource getResource()
           
 String getResourceID()
           
 String getResponse()
           
 Collection getResponses()
           
 Date getResubmitDate(int iContext_p)
           
 Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
           
 com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate()
           
 com.wewebu.ow.server.ecm.bpm.OwWorkitemProcessorInfo getStepProcessorInfo()
           
 int getType()
           
 com.wewebu.ow.server.ecm.OwVersion getVersion()
           
 com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
           
 String getWorkflowInstanceId()
           
 boolean hasChilds(int[] iObjectTypes_p, int iContext_p)
           
 boolean hasContent(int iContext_p)
           
 boolean hasVersionSeries()
           
protected  void loadAttachments()
           
protected  Object loadPropertyValue(String strPropertyName_p, com.wewebu.ow.server.ecm.OwPropertyClass propertyClass)
          Makes sure the type of the returned value matches OwFieldDefinition.getJavaClassName().
 void move(com.wewebu.ow.server.ecm.OwObject oObject_p, com.wewebu.ow.server.ecm.OwObject oldParent_p)
           
protected  Map<String,Object> prepareParameters()
          Construct a map with parameters suitable for JSon encoding, from the properties of this object.
 void reassignToPublicContainer(String containername_p, boolean delegateFlag_p)
           
 void reassignToUserContainer(String participant_p, boolean delegateFlag_p)
           
 void refreshProperties()
           
 void refreshProperties(Collection props_p)
           
 void removeReference(com.wewebu.ow.server.ecm.OwObject oObject_p)
           
 void resubmit(Date date_p)
           
 void returnToSource()
           
protected  void save()
           
protected  void saveAttachments()
           
 void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p)
           
 void setField(String sName_p, Object value_p)
           
 boolean setLock(boolean fLock_p)
           
 void setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p)
           
 void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p)
           
 void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p, Object mode_p)
           
 void setResponse(String strResponse_p)
           
protected  String shrinkPropertyName(String longPropertyName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

taskInstance

protected TaskInstance taskInstance

container

protected IfOwAlfrescoBPMWporkitemContainer container

objectClass

protected OwAlfrescoBPMObjectClass objectClass

bpmRepository

protected OwAlfrescoBPMRepository bpmRepository

properties

protected Map<String,com.wewebu.ow.server.ecm.OwProperty> properties

attachmentobjects

protected Collection attachmentobjects
Constructor Detail

OwAlfrescoBPMWorkItem

public OwAlfrescoBPMWorkItem(TaskInstance taskInstance,
                             IfOwAlfrescoBPMWporkitemContainer container,
                             OwAlfrescoBPMRepository bpmRepository)
                      throws com.wewebu.ow.server.exceptions.OwException
Throws:
com.wewebu.ow.server.exceptions.OwException
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface com.wewebu.ow.server.ecm.OwObject

getObjectClass

public com.wewebu.ow.server.ecm.OwObjectClass getObjectClass()
Specified by:
getObjectClass in interface com.wewebu.ow.server.ecm.OwObject

getParents

public com.wewebu.ow.server.ecm.OwObjectCollection getParents()
                                                       throws Exception
Specified by:
getParents in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getChilds

public com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] iObjectTypes_p,
                                                             Collection propertyNames_p,
                                                             com.wewebu.ow.server.field.OwSort sort_p,
                                                             int iMaxSize_p,
                                                             int iVersionSelection_p,
                                                             com.wewebu.ow.server.field.OwSearchNode filterCriteria_p)
                                                      throws Exception
Specified by:
getChilds in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

hasChilds

public boolean hasChilds(int[] iObjectTypes_p,
                         int iContext_p)
                  throws Exception
Specified by:
hasChilds in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getChildCount

public int getChildCount(int[] iObjectTypes_p,
                         int iContext_p)
                  throws Exception
Specified by:
getChildCount in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

changeClass

public void changeClass(String strNewClassName_p,
                        com.wewebu.ow.server.ecm.OwPropertyCollection properties_p,
                        com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p)
                 throws Exception
Specified by:
changeClass in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canChangeClass

public boolean canChangeClass()
                       throws Exception
Specified by:
canChangeClass in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canFilterChilds

public boolean canFilterChilds()
                        throws Exception
Specified by:
canFilterChilds in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getFilterProperties

public Collection getFilterProperties(Collection propertynames_p)
                               throws Exception
Specified by:
getFilterProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getVersionSeries

public com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
                                                          throws Exception
Specified by:
getVersionSeries in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

hasVersionSeries

public boolean hasVersionSeries()
                         throws Exception
Specified by:
hasVersionSeries in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getVersion

public com.wewebu.ow.server.ecm.OwVersion getVersion()
                                              throws Exception
Specified by:
getVersion in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getProperty

public com.wewebu.ow.server.ecm.OwProperty getProperty(String strPropertyName_p)
                                                throws Exception
Specified by:
getProperty in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

loadAttachments

protected void loadAttachments()
                        throws Exception
Throws:
Exception

loadPropertyValue

protected Object loadPropertyValue(String strPropertyName_p,
                                   com.wewebu.ow.server.ecm.OwPropertyClass propertyClass)
                            throws Exception
Makes sure the type of the returned value matches OwFieldDefinition.getJavaClassName().

Parameters:
strPropertyName_p -
propertyClass -
Returns:
Object
Throws:
ClassNotFoundException
Exception

getProperties

public com.wewebu.ow.server.ecm.OwPropertyCollection getProperties(Collection propertyNames_p)
                                                            throws Exception
Specified by:
getProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getClonedProperties

public com.wewebu.ow.server.ecm.OwPropertyCollection getClonedProperties(Collection propertyNames_p)
                                                                  throws Exception
Specified by:
getClonedProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

setProperties

public void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p)
                   throws Exception
Specified by:
setProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

save

protected void save()
             throws Exception
Throws:
Exception

saveAttachments

protected void saveAttachments()
                        throws Exception
Throws:
Exception

setProperties

public void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p,
                          Object mode_p)
                   throws Exception
Specified by:
setProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canSetProperties

public boolean canSetProperties(int iContext_p)
                         throws Exception
Specified by:
canSetProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canGetProperties

public boolean canGetProperties(int iContext_p)
                         throws Exception
Specified by:
canGetProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canLock

public boolean canLock()
                throws Exception
Specified by:
canLock in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

setLock

public boolean setLock(boolean fLock_p)
                throws Exception
Specified by:
setLock in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getLock

public boolean getLock(int iContext_p)
                throws Exception
Specified by:
getLock in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getMyLock

public boolean getMyLock(int iContext_p)
                  throws Exception
Specified by:
getMyLock in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getLockUserID

public String getLockUserID(int iContext_p)
                     throws Exception
Specified by:
getLockUserID in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

delete

public void delete()
            throws Exception
Specified by:
delete in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canDelete

public boolean canDelete(int iContext_p)
                  throws Exception
Specified by:
canDelete in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

removeReference

public void removeReference(com.wewebu.ow.server.ecm.OwObject oObject_p)
                     throws Exception
Specified by:
removeReference in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canRemoveReference

public boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject oObject_p,
                                  int iContext_p)
                           throws Exception
Specified by:
canRemoveReference in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

add

public void add(com.wewebu.ow.server.ecm.OwObject oObject_p)
         throws Exception
Specified by:
add in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canAdd

public boolean canAdd(com.wewebu.ow.server.ecm.OwObject oObject_p,
                      int iContext_p)
               throws Exception
Specified by:
canAdd in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

move

public void move(com.wewebu.ow.server.ecm.OwObject oObject_p,
                 com.wewebu.ow.server.ecm.OwObject oldParent_p)
          throws Exception
Specified by:
move in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canMove

public boolean canMove(com.wewebu.ow.server.ecm.OwObject oObject_p,
                       com.wewebu.ow.server.ecm.OwObject oldParent_p,
                       int iContext_p)
                throws Exception
Specified by:
canMove in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getSearchTemplate

public com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate()
                                                              throws Exception
Specified by:
getSearchTemplate in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getColumnInfoList

public Collection getColumnInfoList()
                             throws Exception
Specified by:
getColumnInfoList in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getResource

public com.wewebu.ow.server.ecm.OwResource getResource()
                                                throws Exception
Specified by:
getResource in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getPermissions

public com.wewebu.ow.server.ecm.OwPermissionCollection getPermissions()
                                                               throws Exception
Specified by:
getPermissions in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getClonedPermissions

public com.wewebu.ow.server.ecm.OwPermissionCollection getClonedPermissions()
                                                                     throws Exception
Specified by:
getClonedPermissions in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canGetPermissions

public boolean canGetPermissions()
                          throws Exception
Specified by:
canGetPermissions in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canSetPermissions

public boolean canSetPermissions()
                          throws Exception
Specified by:
canSetPermissions in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

setPermissions

public void setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p)
                    throws Exception
Specified by:
setPermissions in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getContentCollection

public com.wewebu.ow.server.ecm.OwContentCollection getContentCollection()
                                                                  throws Exception
Specified by:
getContentCollection in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

setContentCollection

public void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p)
                          throws Exception
Specified by:
setContentCollection in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canSetContent

public boolean canSetContent(int iContentType_p,
                             int iContext_p)
                      throws Exception
Specified by:
canSetContent in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

canGetContent

public boolean canGetContent(int iContentType_p,
                             int iContext_p)
                      throws Exception
Specified by:
canGetContent in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

refreshProperties

public void refreshProperties()
                       throws Exception
Specified by:
refreshProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

refreshProperties

public void refreshProperties(Collection props_p)
                       throws Exception
Specified by:
refreshProperties in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getNativeObject

public Object getNativeObject()
                       throws Exception
Specified by:
getNativeObject in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getPath

public String getPath()
               throws Exception
Specified by:
getPath in interface com.wewebu.ow.server.ecm.OwObject
Throws:
Exception

getResourceID

public String getResourceID()
                     throws Exception
Specified by:
getResourceID in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

getInstance

public com.wewebu.ow.server.ecm.OwObject getInstance()
                                              throws Exception
Specified by:
getInstance in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

getName

public String getName()
Specified by:
getName in interface com.wewebu.ow.server.ecm.OwObjectReference

getID

public String getID()
Specified by:
getID in interface com.wewebu.ow.server.ecm.OwObjectReference

getType

public int getType()
Specified by:
getType in interface com.wewebu.ow.server.ecm.OwObjectReference

getDMSID

public String getDMSID()
                throws Exception
Specified by:
getDMSID in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

getPageCount

public int getPageCount()
                 throws Exception
Specified by:
getPageCount in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

getMIMEType

public String getMIMEType()
                   throws Exception
Specified by:
getMIMEType in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

getMIMEParameter

public String getMIMEParameter()
                        throws Exception
Specified by:
getMIMEParameter in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

hasContent

public boolean hasContent(int iContext_p)
                   throws Exception
Specified by:
hasContent in interface com.wewebu.ow.server.ecm.OwObjectReference
Throws:
Exception

getField

public com.wewebu.ow.server.field.OwField getField(String strFieldClassName_p)
                                            throws Exception,
                                                   com.wewebu.ow.server.exceptions.OwObjectNotFoundException
Specified by:
getField in interface com.wewebu.ow.server.field.OwFieldProvider
Throws:
Exception
com.wewebu.ow.server.exceptions.OwObjectNotFoundException

setField

public void setField(String sName_p,
                     Object value_p)
              throws Exception,
                     com.wewebu.ow.server.exceptions.OwObjectNotFoundException
Specified by:
setField in interface com.wewebu.ow.server.field.OwFieldProvider
Throws:
Exception
com.wewebu.ow.server.exceptions.OwObjectNotFoundException

getSafeFieldValue

public Object getSafeFieldValue(String sName_p,
                                Object defaultvalue_p)
Specified by:
getSafeFieldValue in interface com.wewebu.ow.server.field.OwFieldProvider

getFields

public Collection getFields()
                     throws Exception
Specified by:
getFields in interface com.wewebu.ow.server.field.OwFieldProvider
Throws:
Exception

getFieldProviderType

public int getFieldProviderType()
Specified by:
getFieldProviderType in interface com.wewebu.ow.server.field.OwFieldProvider

getFieldProviderSource

public Object getFieldProviderSource()
Specified by:
getFieldProviderSource in interface com.wewebu.ow.server.field.OwFieldProvider

getFieldProviderName

public String getFieldProviderName()
Specified by:
getFieldProviderName in interface com.wewebu.ow.server.field.OwFieldProvider

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

setResponse

public void setResponse(String strResponse_p)
                 throws Exception
Specified by:
setResponse 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

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

forcedelete

public void forcedelete()
                 throws Exception
Specified by:
forcedelete 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

dispatch

public void dispatch()
              throws Exception
Specified by:
dispatch in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
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

returnToSource

public void returnToSource()
                    throws Exception
Specified by:
returnToSource 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

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

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

resubmit

public void resubmit(Date date_p)
              throws Exception
Specified by:
resubmit in interface com.wewebu.ow.server.ecm.bpm.OwWorkitem
Throws:
Exception

canResubmit

public boolean canResubmit(int iContext_p)
                    throws Exception
Specified by:
canResubmit 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

toString

public String toString()
Overrides:
toString in class Object

shrinkPropertyName

protected String shrinkPropertyName(String longPropertyName)

prepareParameters

protected Map<String,Object> prepareParameters()
                                        throws Exception
Construct a map with parameters suitable for JSon encoding, from the properties of this object.

Returns:
a map between property names and property values
Throws:
Exception

getWorkflowInstanceId

public String getWorkflowInstanceId()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.