com.wewebu.ow.server.ecmimpl.opencmis.object
Class OwCMISResourceObjectImpl

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractObject<C>
      extended by com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractSessionObject<OwCMISSession,OwCMISResourceObjectClass>
          extended by com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISResourceObjectImpl
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwObject, com.wewebu.ow.server.ecm.OwObjectReference, OwCMISObject, OwCMISResourceObject, OwCMISSessionObject, com.wewebu.ow.server.field.OwFieldProvider

public class OwCMISResourceObjectImpl
extends OwCMISAbstractSessionObject<OwCMISSession,OwCMISResourceObjectClass>
implements OwCMISResourceObject

OwCMISResourceObjectImpl.

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


Field Summary
 
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
OwCMISResourceObjectImpl(OwCMISResourceObjectClass class_p)
           
 
Method Summary
 boolean canGetContent(int iContentType_p, int iContext_p)
           
 boolean canSetContent(int iContentType_p, int iContext_p)
           
 boolean canSetProperties(int iContext_p)
           
 int getChildCount(int[] objectTypes_p, int context_p)
           
 com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] objectTypes_p, Collection propertyNames_p, com.wewebu.ow.server.field.OwSort sort_p, int maxSize_p, int versionSelection_p, com.wewebu.ow.server.field.OwSearchNode filterCriteria_p)
           
 String getDMSID()
           
 String getID()
           
 String getName()
           
 OwCMISSession getNativeObject()
           
 OwCMISResourceInfo getResourceInfo()
           
 OwCMISObject getRootFolder()
           
 com.wewebu.ow.server.ecm.OwVersion getVersion()
           
 com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
           
 boolean hasChilds(int[] iObjectTypes_p, int iContext_p)
           
 void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p)
           
 void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties_p, Object mode_p)
           
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractSessionObject
canGetPermissions, canSetPermissions, createCopy, createCopyProperties, getResource, getSession
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISAbstractObject
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetProperties, canLock, canMove, canRemoveReference, changeClass, checkPropertyCollection, delete, equals, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getFilterProperties, getInstance, getLock, getLockUserID, getMIMEParameter, getMIMEType, getMyLock, getObjectClass, getPageCount, getParents, getPath, getPermissions, getProperties, getProperty, getResourceID, getSafeFieldValue, getSearchTemplate, getType, getVirtualProperties, getVirtualProperty, hasContent, hashCode, hasVersionSeries, move, refreshProperties, refreshProperties, removeReference, setField, setLock, setPermissions, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISSessionObject
getSession
 
Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.object.OwCMISObject
createCopy, getObjectClass, getPath, getPermissions, getProperty, getResource, getResourceID, setProperties
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwObject
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetPermissions, canGetProperties, canLock, canMove, canRemoveReference, canSetPermissions, changeClass, delete, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getFilterProperties, getLock, getLockUserID, getMyLock, getParents, getProperties, getSearchTemplate, hasVersionSeries, move, refreshProperties, refreshProperties, removeReference, setLock, setPermissions
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwObjectReference
getInstance, getMIMEParameter, getMIMEType, getPageCount, getType, hasContent
 
Methods inherited from interface com.wewebu.ow.server.field.OwFieldProvider
getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getSafeFieldValue, setField
 

Constructor Detail

OwCMISResourceObjectImpl

public OwCMISResourceObjectImpl(OwCMISResourceObjectClass class_p)
                         throws com.wewebu.ow.server.exceptions.OwException
Throws:
com.wewebu.ow.server.exceptions.OwException
Method Detail

getDMSID

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

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

getChildCount

public int getChildCount(int[] objectTypes_p,
                         int context_p)
                  throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getChildCount in interface com.wewebu.ow.server.ecm.OwObject
Specified by:
getChildCount in interface OwCMISObject
Overrides:
getChildCount in class OwCMISAbstractObject<OwCMISResourceObjectClass>
Throws:
com.wewebu.ow.server.exceptions.OwException

getChilds

public com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] objectTypes_p,
                                                             Collection propertyNames_p,
                                                             com.wewebu.ow.server.field.OwSort sort_p,
                                                             int maxSize_p,
                                                             int versionSelection_p,
                                                             com.wewebu.ow.server.field.OwSearchNode filterCriteria_p)
                                                      throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getChilds in interface com.wewebu.ow.server.ecm.OwObject
Specified by:
getChilds in interface OwCMISObject
Overrides:
getChilds in class OwCMISAbstractObject<OwCMISResourceObjectClass>
Throws:
com.wewebu.ow.server.exceptions.OwException

hasChilds

public boolean hasChilds(int[] iObjectTypes_p,
                         int iContext_p)
                  throws com.wewebu.ow.server.exceptions.OwException
Specified by:
hasChilds in interface com.wewebu.ow.server.ecm.OwObject
Specified by:
hasChilds in interface OwCMISObject
Overrides:
hasChilds in class OwCMISAbstractObject<OwCMISResourceObjectClass>
Throws:
com.wewebu.ow.server.exceptions.OwException

getNativeObject

public OwCMISSession getNativeObject()
Specified by:
getNativeObject in interface com.wewebu.ow.server.ecm.OwObject
Specified by:
getNativeObject in interface OwCMISObject
Specified by:
getNativeObject in interface OwCMISResourceObject

getRootFolder

public OwCMISObject getRootFolder()
                           throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getRootFolder in interface OwCMISResourceObject
Throws:
com.wewebu.ow.server.exceptions.OwException

getResourceInfo

public OwCMISResourceInfo getResourceInfo()
Specified by:
getResourceInfo in interface OwCMISResourceObject

canSetProperties

public boolean canSetProperties(int iContext_p)
                         throws Exception
Specified by:
canSetProperties 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 com.wewebu.ow.server.exceptions.OwException
Specified by:
setProperties in interface com.wewebu.ow.server.ecm.OwObject
Specified by:
setProperties in interface OwCMISObject
Throws:
com.wewebu.ow.server.exceptions.OwException

getVersionSeries

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

getVersion

public final com.wewebu.ow.server.ecm.OwVersion getVersion()
                                                    throws Exception
Specified by:
getVersion 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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.