public class OwCMISSemiVirtualFolderObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject> extends Object implements com.wewebu.ow.server.ecm.OwSemiVirtualFolder, OwCMISNativeObject<N>, com.wewebu.ow.server.collections.OwPageableObject<OwCMISObject>
CMIS Adaptor: Semi Virtual FolderObject.
Implements the OwCMISNativeObject and delegates the call to corresponding wrapped object.
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 | Field and Description |
|---|---|
protected com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass |
semiVirtualEntry
The semi virtual folder entry configured in owbootstrap.xml
|
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| Constructor and Description |
|---|
OwCMISSemiVirtualFolderObject(OwCMISNativeObject<N> wrappedObj,
com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass semiVirtualEntry,
OwCMISNetwork network) |
OwCMISSemiVirtualFolderObject(OwCMISNativeObject<N> wrappedObj,
com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass semiVirtualEntry,
com.wewebu.ow.server.ecm.OwSemiVirtualFolderAdapter virtualFolderAdapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.wewebu.ow.server.ecm.OwObject object) |
boolean |
canAdd(com.wewebu.ow.server.ecm.OwObject object,
int context) |
boolean |
canChangeClass() |
boolean |
canDelete(int context) |
boolean |
canFilterChilds() |
boolean |
canGetContent(int contentType,
int context) |
boolean |
canGetPermissions() |
boolean |
canGetProperties(int context) |
boolean |
canLock() |
boolean |
canMove(com.wewebu.ow.server.ecm.OwObject object,
com.wewebu.ow.server.ecm.OwObject oldParent,
int context) |
boolean |
canRemoveReference(com.wewebu.ow.server.ecm.OwObject object,
int context) |
boolean |
canSetContent(int contentType,
int context) |
boolean |
canSetPermissions() |
boolean |
canSetProperties(int context) |
void |
changeClass(String newClassName,
com.wewebu.ow.server.ecm.OwPropertyCollection properties,
com.wewebu.ow.server.ecm.OwPermissionCollection permissions) |
OwCMISObject |
createCopy(OwCMISObject copyParent,
com.wewebu.ow.server.ecm.OwPropertyCollection properties,
com.wewebu.ow.server.ecm.OwPermissionCollection permissions,
int[] childTypes)
Create a copy of this object using provided information.
|
void |
delete() |
int |
getChildCount(int[] objectTypes,
int context) |
com.wewebu.ow.server.collections.OwIterable<OwCMISObject> |
getChildren(com.wewebu.ow.server.collections.OwLoadContext loadContext) |
com.wewebu.ow.server.ecm.OwObjectCollection |
getChilds(int[] objectTypes,
Collection propertyNames,
com.wewebu.ow.server.field.OwSort sort,
int maxChildren,
int versionSelection,
com.wewebu.ow.server.field.OwSearchNode filterCriteria) |
String |
getClassName() |
com.wewebu.ow.server.ecm.OwPermissionCollection |
getClonedPermissions() |
com.wewebu.ow.server.ecm.OwPropertyCollection |
getClonedProperties(Collection propertyNames) |
Collection |
getColumnInfoList() |
com.wewebu.ow.server.ecm.OwContentCollection |
getContentCollection() |
String |
getDMSID() |
com.wewebu.ow.server.field.OwField |
getField(String strFieldClassName) |
String |
getFieldProviderName() |
Object |
getFieldProviderSource() |
int |
getFieldProviderType() |
Collection |
getFields() |
Collection |
getFilterProperties(Collection propertyNames) |
String |
getID() |
com.wewebu.ow.server.ecm.OwObject |
getInstance() |
boolean |
getLock(int context) |
String |
getLockUserID(int context) |
String |
getMIMEParameter() |
String |
getMIMEType() |
boolean |
getMyLock(int context) |
String |
getName() |
String |
getNativeID() |
N |
getNativeObject() |
OwCMISObjectClass |
getObjectClass() |
int |
getPageCount() |
com.wewebu.ow.server.ecm.OwObjectCollection |
getParents() |
String |
getPath() |
OwCMISPermissionCollection |
getPermissions() |
com.wewebu.ow.server.ecm.OwObjectCollection |
getPhysicalChildren(int[] objectTypes,
Collection propertyNames,
com.wewebu.ow.server.field.OwSort sort,
int maxSize,
int versionSelection,
com.wewebu.ow.server.field.OwSearchNode filterCriteria) |
com.wewebu.ow.server.collections.OwIterable<com.wewebu.ow.server.ecm.OwObject> |
getPhysicalChildren(com.wewebu.ow.server.collections.OwLoadContext loadContext) |
com.wewebu.ow.server.ecm.OwPropertyCollection |
getProperties(Collection propertyNames) |
OwCMISProperty |
getProperty(String propertyName) |
Map |
getPropertyMap() |
OwCMISResource |
getResource() |
String |
getResourceID() |
Object |
getSafeFieldValue(String name,
Object defaultValue) |
com.wewebu.ow.server.field.OwSearchTemplate |
getSearchTemplate() |
OwCMISSession |
getSession() |
OwCMISTransientObject<N> |
getTransientObject() |
int |
getType() |
com.wewebu.ow.server.ecm.OwVersion |
getVersion() |
com.wewebu.ow.server.ecm.OwVersionSeries |
getVersionSeries() |
String |
getVirtualFolderName() |
protected OwCMISNativeObject<N> |
getWrappedObject()
Getter for current wrapped object.
|
boolean |
hasChilds(int[] objectTypes,
int context) |
boolean |
hasContent(int context) |
boolean |
hasVersionSeries() |
boolean |
includesPhysicalChildren() |
void |
move(com.wewebu.ow.server.ecm.OwObject object,
com.wewebu.ow.server.ecm.OwObject oldParent) |
void |
refreshProperties() |
void |
refreshProperties(Collection props_p) |
void |
removeReference(com.wewebu.ow.server.ecm.OwObject object) |
List<OwCMISRendition> |
retrieveRenditions(Set<String> filter,
boolean refresh) |
boolean |
searchSubstructure() |
void |
setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content) |
void |
setField(String sName,
Object value) |
boolean |
setLock(boolean lock) |
void |
setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions) |
void |
setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties) |
void |
setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties,
Object mode) |
protected com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass semiVirtualEntry
public OwCMISSemiVirtualFolderObject(OwCMISNativeObject<N> wrappedObj, com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass semiVirtualEntry, OwCMISNetwork network) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwExceptionpublic OwCMISSemiVirtualFolderObject(OwCMISNativeObject<N> wrappedObj, com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass semiVirtualEntry, com.wewebu.ow.server.ecm.OwSemiVirtualFolderAdapter virtualFolderAdapter) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwExceptionpublic void add(com.wewebu.ow.server.ecm.OwObject object)
throws Exception
add in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canAdd(com.wewebu.ow.server.ecm.OwObject object,
int context)
throws Exception
canAdd in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canChangeClass()
throws Exception
canChangeClass in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canDelete(int context)
throws Exception
canDelete in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canFilterChilds()
throws Exception
canFilterChilds in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canGetContent(int contentType,
int context)
throws Exception
canGetContent in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canGetPermissions()
throws Exception
canGetPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canGetProperties(int context)
throws Exception
canGetProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canLock()
throws Exception
canLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canMove(com.wewebu.ow.server.ecm.OwObject object,
com.wewebu.ow.server.ecm.OwObject oldParent,
int context)
throws Exception
canMove in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject object,
int context)
throws Exception
canRemoveReference in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canSetContent(int contentType,
int context)
throws Exception
canSetContent in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canSetPermissions()
throws Exception
canSetPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean canSetProperties(int context)
throws Exception
canSetProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void changeClass(String newClassName, com.wewebu.ow.server.ecm.OwPropertyCollection properties, com.wewebu.ow.server.ecm.OwPermissionCollection permissions) throws Exception
changeClass in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic OwCMISObject createCopy(OwCMISObject copyParent, com.wewebu.ow.server.ecm.OwPropertyCollection properties, com.wewebu.ow.server.ecm.OwPermissionCollection permissions, int[] childTypes) throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectcreateCopy in interface OwCMISObjectcopyParent - OwCMISObject parent for created copy (can be null)properties - OwPropertyCollection to be set for new created copypermissions - OwPermissionCollection to be defined for copy objectchildTypes - int array of child types which should be also copiedcom.wewebu.ow.server.exceptions.OwExceptionpublic void delete()
throws Exception
delete in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic int getChildCount(int[] objectTypes,
int context)
throws com.wewebu.ow.server.exceptions.OwException
getChildCount in interface com.wewebu.ow.server.ecm.OwObjectgetChildCount in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic com.wewebu.ow.server.ecm.OwObjectCollection getChilds(int[] objectTypes,
Collection propertyNames,
com.wewebu.ow.server.field.OwSort sort,
int maxChildren,
int versionSelection,
com.wewebu.ow.server.field.OwSearchNode filterCriteria)
throws com.wewebu.ow.server.exceptions.OwException
getChilds in interface com.wewebu.ow.server.ecm.OwObjectgetChilds in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic com.wewebu.ow.server.collections.OwIterable<OwCMISObject> getChildren(com.wewebu.ow.server.collections.OwLoadContext loadContext) throws com.wewebu.ow.server.exceptions.OwException
getChildren in interface com.wewebu.ow.server.collections.OwPageableObject<OwCMISObject>com.wewebu.ow.server.exceptions.OwExceptionpublic String getClassName()
getClassName in interface com.wewebu.ow.server.ecm.OwObjectpublic com.wewebu.ow.server.ecm.OwPermissionCollection getClonedPermissions()
throws Exception
getClonedPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwPropertyCollection getClonedProperties(Collection propertyNames) throws Exception
getClonedProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic Collection getColumnInfoList() throws Exception
getColumnInfoList in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwContentCollection getContentCollection()
throws Exception
getContentCollection in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getDMSID()
getDMSID in interface com.wewebu.ow.server.ecm.OwObjectReferencegetDMSID in interface OwCMISObjectpublic com.wewebu.ow.server.field.OwField getField(String strFieldClassName) throws Exception, com.wewebu.ow.server.exceptions.OwObjectNotFoundException
getField in interface com.wewebu.ow.server.field.OwFieldProviderExceptioncom.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionpublic String getFieldProviderName()
getFieldProviderName in interface com.wewebu.ow.server.field.OwFieldProviderpublic Object getFieldProviderSource()
getFieldProviderSource in interface com.wewebu.ow.server.field.OwFieldProviderpublic int getFieldProviderType()
getFieldProviderType in interface com.wewebu.ow.server.field.OwFieldProviderpublic Collection getFields() throws Exception
getFields in interface com.wewebu.ow.server.field.OwFieldProviderExceptionpublic Collection getFilterProperties(Collection propertyNames) throws Exception
getFilterProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getID()
getID in interface com.wewebu.ow.server.ecm.OwObjectReferencepublic String getNativeID()
getNativeID in interface OwCMISObjectpublic com.wewebu.ow.server.ecm.OwObject getInstance()
throws Exception
getInstance in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic boolean getLock(int context)
throws Exception
getLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getLockUserID(int context) throws Exception
getLockUserID in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getMIMEParameter() throws Exception
getMIMEParameter in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic String getMIMEType() throws Exception
getMIMEType in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic boolean getMyLock(int context)
throws Exception
getMyLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getName()
getName in interface com.wewebu.ow.server.ecm.OwObjectReferenceprotected OwCMISNativeObject<N> getWrappedObject()
public N getNativeObject()
getNativeObject in interface com.wewebu.ow.server.ecm.OwObjectgetNativeObject in interface OwCMISNativeObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>getNativeObject in interface OwCMISObjectpublic OwCMISObjectClass getObjectClass()
getObjectClass in interface com.wewebu.ow.server.ecm.OwObjectgetObjectClass in interface OwCMISObjectpublic int getPageCount()
throws Exception
getPageCount in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic com.wewebu.ow.server.ecm.OwObjectCollection getParents()
throws Exception
getParents in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getPath() throws com.wewebu.ow.server.exceptions.OwException
getPath in interface com.wewebu.ow.server.ecm.OwObjectgetPath in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic OwCMISPermissionCollection getPermissions() throws com.wewebu.ow.server.exceptions.OwException
getPermissions in interface com.wewebu.ow.server.ecm.OwObjectgetPermissions in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic com.wewebu.ow.server.ecm.OwObjectCollection getPhysicalChildren(int[] objectTypes,
Collection propertyNames,
com.wewebu.ow.server.field.OwSort sort,
int maxSize,
int versionSelection,
com.wewebu.ow.server.field.OwSearchNode filterCriteria)
throws com.wewebu.ow.server.exceptions.OwException
getPhysicalChildren in interface com.wewebu.ow.server.ecm.OwSemiVirtualFoldercom.wewebu.ow.server.exceptions.OwExceptionpublic com.wewebu.ow.server.collections.OwIterable<com.wewebu.ow.server.ecm.OwObject> getPhysicalChildren(com.wewebu.ow.server.collections.OwLoadContext loadContext)
throws com.wewebu.ow.server.exceptions.OwException
getPhysicalChildren in interface com.wewebu.ow.server.ecm.OwSemiVirtualFoldercom.wewebu.ow.server.exceptions.OwExceptionpublic com.wewebu.ow.server.ecm.OwPropertyCollection getProperties(Collection propertyNames) throws Exception
getProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic OwCMISProperty getProperty(String propertyName) throws com.wewebu.ow.server.exceptions.OwException
getProperty in interface com.wewebu.ow.server.ecm.OwObjectgetProperty in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic Map getPropertyMap()
getPropertyMap in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolderpublic OwCMISResource getResource()
getResource in interface com.wewebu.ow.server.ecm.OwObjectgetResource in interface OwCMISObjectpublic String getResourceID()
getResourceID in interface com.wewebu.ow.server.ecm.OwObjectReferencegetResourceID in interface OwCMISObjectpublic Object getSafeFieldValue(String name, Object defaultValue)
getSafeFieldValue in interface com.wewebu.ow.server.field.OwFieldProviderpublic com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate()
throws com.wewebu.ow.server.exceptions.OwException
getSearchTemplate in interface com.wewebu.ow.server.ecm.OwObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic OwCMISSession getSession()
getSession in interface OwCMISSessionObjectpublic int getType()
getType in interface com.wewebu.ow.server.ecm.OwObjectReferencepublic com.wewebu.ow.server.ecm.OwVersion getVersion()
throws Exception
getVersion in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
throws Exception
getVersionSeries in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic String getVirtualFolderName()
getVirtualFolderName in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolderpublic boolean hasChilds(int[] objectTypes,
int context)
throws com.wewebu.ow.server.exceptions.OwException
hasChilds in interface com.wewebu.ow.server.ecm.OwObjecthasChilds in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic boolean hasContent(int context)
throws Exception
hasContent in interface com.wewebu.ow.server.ecm.OwObjectReferenceExceptionpublic boolean hasVersionSeries()
throws Exception
hasVersionSeries in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean includesPhysicalChildren()
includesPhysicalChildren in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolderpublic void move(com.wewebu.ow.server.ecm.OwObject object,
com.wewebu.ow.server.ecm.OwObject oldParent)
throws Exception
move in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void refreshProperties()
throws Exception
refreshProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void refreshProperties(Collection props_p) throws Exception
refreshProperties in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void removeReference(com.wewebu.ow.server.ecm.OwObject object)
throws Exception
removeReference in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic boolean searchSubstructure()
searchSubstructure in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolderpublic void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content)
throws Exception
setContentCollection in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setField(String sName, Object value) throws Exception, com.wewebu.ow.server.exceptions.OwObjectNotFoundException
setField in interface com.wewebu.ow.server.field.OwFieldProviderExceptioncom.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionpublic boolean setLock(boolean lock)
throws Exception
setLock in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions)
throws Exception
setPermissions in interface com.wewebu.ow.server.ecm.OwObjectExceptionpublic void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties)
throws com.wewebu.ow.server.exceptions.OwException
setProperties in interface com.wewebu.ow.server.ecm.OwObjectsetProperties in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties,
Object mode)
throws com.wewebu.ow.server.exceptions.OwException
setProperties in interface com.wewebu.ow.server.ecm.OwObjectsetProperties in interface OwCMISObjectcom.wewebu.ow.server.exceptions.OwExceptionpublic OwCMISTransientObject<N> getTransientObject()
getTransientObject in interface OwCMISNativeObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>public List<OwCMISRendition> retrieveRenditions(Set<String> filter, boolean refresh) throws com.wewebu.ow.server.exceptions.OwException
retrieveRenditions in interface OwCMISNativeObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>refresh - true if the renditions indicated by the filter Set should be refreshedList of renditions corresponding to the given filter Setcom.wewebu.ow.server.exceptions.OwExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.