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

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.alfresco.bpm.OwAlfrescoBPMBaseContainer
All Implemented Interfaces:
com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer, com.wewebu.ow.server.ecm.OwObject, com.wewebu.ow.server.ecm.OwObjectReference, IfOwAlfrescoBPMWporkitemContainer, com.wewebu.ow.server.field.OwFieldProvider
Direct Known Subclasses:
OwAlfrescoBPMLaunchableWorkitemContainer, OwAlfrescoBPMWorkitemContainer

public abstract class OwAlfrescoBPMBaseContainer
extends Object
implements IfOwAlfrescoBPMWporkitemContainer

Base implementation of OwWorkitemContainer.

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  OwAlfrescoBPMRepository bpmRepository
           
protected  com.wewebu.ow.server.ecm.OwNetwork network
           
 
Fields inherited from interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer
FILTER_TYPE_NONE, FILTER_TYPE_NORMAL, FILTER_TYPE_RESUBMISSION, GROUPBOX_PROPERTY_NAME
 
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
OwAlfrescoBPMBaseContainer(com.wewebu.ow.server.ecm.OwNetwork network, 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 canFilterChilds()
           
 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 canPull(int iContext_p)
           
 boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject oObject_p, 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()
           
 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()
           
 Collection getDefaultUsers()
           
 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)
           
 int getFilterType()
           
 com.wewebu.ow.server.ecm.OwObject getInstance()
           
 boolean getLock(int iContext_p)
           
 String getLockUserID(int iContext_p)
           
 String getMIMEParameter()
           
 boolean getMyLock(int iContext_p)
           
 Object getNativeObject()
           
 com.wewebu.ow.server.ecm.OwNetwork getNetwork()
           
 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)
           
 String getPublicReassignContainerDisplayName(String sName_p)
           
 Collection getPublicReassignContainerNames()
           
 com.wewebu.ow.server.ecm.OwResource getResource()
           
 String getResourceID()
           
 Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
           
 com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate()
           
 com.wewebu.ow.server.ecm.OwVersion getVersion()
           
 com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
           
 boolean hasContent(int iContext_p)
           
 boolean hasVersionSeries()
           
 void move(com.wewebu.ow.server.ecm.OwObject oObject_p, com.wewebu.ow.server.ecm.OwObject oldParent_p)
           
 com.wewebu.ow.server.ecm.bpm.OwWorkitem pull(com.wewebu.ow.server.field.OwSort sort_p, Set exclude_p)
           
 void refreshProperties()
           
 void refreshProperties(Collection props_p)
           
 void removeReference(com.wewebu.ow.server.ecm.OwObject oObject_p)
           
 void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p)
           
 void setField(String sName_p, Object value_p)
           
 void setFilterType(int iFilterType_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)
           
 
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.ecmimpl.alfresco.bpm.IfOwAlfrescoBPMWporkitemContainer
createContaineeMIMEParameter, createContaineeMIMEType
 
Methods inherited from interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer
canResubmit
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwObject
getChildCount, getChilds, hasChilds
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwObjectReference
getID, getMIMEType, getName, getType
 

Field Detail

network

protected com.wewebu.ow.server.ecm.OwNetwork network

bpmRepository

protected OwAlfrescoBPMRepository bpmRepository
Constructor Detail

OwAlfrescoBPMBaseContainer

public OwAlfrescoBPMBaseContainer(com.wewebu.ow.server.ecm.OwNetwork network,
                                  OwAlfrescoBPMRepository bpmRepository)
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

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

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

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

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

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

setFilterType

public void setFilterType(int iFilterType_p)
Specified by:
setFilterType in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer

getFilterType

public int getFilterType()
Specified by:
getFilterType in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer

getPublicReassignContainerNames

public Collection getPublicReassignContainerNames()
                                           throws Exception
Specified by:
getPublicReassignContainerNames in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer
Throws:
Exception

getPublicReassignContainerDisplayName

public String getPublicReassignContainerDisplayName(String sName_p)
Specified by:
getPublicReassignContainerDisplayName in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer

canPull

public boolean canPull(int iContext_p)
                throws Exception,
                       com.wewebu.ow.server.ecm.OwStatusContextException
Specified by:
canPull in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer
Throws:
Exception
com.wewebu.ow.server.ecm.OwStatusContextException

pull

public com.wewebu.ow.server.ecm.bpm.OwWorkitem pull(com.wewebu.ow.server.field.OwSort sort_p,
                                                    Set exclude_p)
                                             throws Exception,
                                                    com.wewebu.ow.server.exceptions.OwObjectNotFoundException,
                                                    com.wewebu.ow.server.exceptions.OwServerException
Specified by:
pull in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer
Throws:
Exception
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
com.wewebu.ow.server.exceptions.OwServerException

getDefaultUsers

public Collection getDefaultUsers()
Specified by:
getDefaultUsers in interface com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer

getNetwork

public com.wewebu.ow.server.ecm.OwNetwork getNetwork()
Specified by:
getNetwork in interface IfOwAlfrescoBPMWporkitemContainer


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.