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.OwException
public 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.OwException
public void add(com.wewebu.ow.server.ecm.OwObject object) throws Exception
add
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canAdd(com.wewebu.ow.server.ecm.OwObject object, int context) throws Exception
canAdd
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canChangeClass() throws Exception
canChangeClass
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canDelete(int context) throws Exception
canDelete
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canFilterChilds() throws Exception
canFilterChilds
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canGetContent(int contentType, int context) throws Exception
canGetContent
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canGetPermissions() throws Exception
canGetPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canGetProperties(int context) throws Exception
canGetProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canLock() throws Exception
canLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public 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.OwObject
Exception
public boolean canRemoveReference(com.wewebu.ow.server.ecm.OwObject object, int context) throws Exception
canRemoveReference
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canSetContent(int contentType, int context) throws Exception
canSetContent
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canSetPermissions() throws Exception
canSetPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean canSetProperties(int context) throws Exception
canSetProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public 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.OwObject
Exception
public 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
OwCMISObject
createCopy
in interface OwCMISObject
copyParent
- 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.OwException
public void delete() throws Exception
delete
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public int getChildCount(int[] objectTypes, int context) throws com.wewebu.ow.server.exceptions.OwException
getChildCount
in interface com.wewebu.ow.server.ecm.OwObject
getChildCount
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public 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.OwObject
getChilds
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public 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.OwException
public String getClassName()
getClassName
in interface com.wewebu.ow.server.ecm.OwObject
public com.wewebu.ow.server.ecm.OwPermissionCollection getClonedPermissions() throws Exception
getClonedPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwPropertyCollection getClonedProperties(Collection propertyNames) throws Exception
getClonedProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public Collection getColumnInfoList() throws Exception
getColumnInfoList
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwContentCollection getContentCollection() throws Exception
getContentCollection
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getDMSID()
getDMSID
in interface com.wewebu.ow.server.ecm.OwObjectReference
getDMSID
in interface OwCMISObject
public 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.OwFieldProvider
Exception
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
public String getFieldProviderName()
getFieldProviderName
in interface com.wewebu.ow.server.field.OwFieldProvider
public Object getFieldProviderSource()
getFieldProviderSource
in interface com.wewebu.ow.server.field.OwFieldProvider
public int getFieldProviderType()
getFieldProviderType
in interface com.wewebu.ow.server.field.OwFieldProvider
public Collection getFields() throws Exception
getFields
in interface com.wewebu.ow.server.field.OwFieldProvider
Exception
public Collection getFilterProperties(Collection propertyNames) throws Exception
getFilterProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getID()
getID
in interface com.wewebu.ow.server.ecm.OwObjectReference
public String getNativeID()
getNativeID
in interface OwCMISObject
public com.wewebu.ow.server.ecm.OwObject getInstance() throws Exception
getInstance
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public boolean getLock(int context) throws Exception
getLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getLockUserID(int context) throws Exception
getLockUserID
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getMIMEParameter() throws Exception
getMIMEParameter
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public String getMIMEType() throws Exception
getMIMEType
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public boolean getMyLock(int context) throws Exception
getMyLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getName()
getName
in interface com.wewebu.ow.server.ecm.OwObjectReference
protected OwCMISNativeObject<N> getWrappedObject()
public N getNativeObject()
getNativeObject
in interface com.wewebu.ow.server.ecm.OwObject
getNativeObject
in interface OwCMISNativeObject<N extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>
getNativeObject
in interface OwCMISObject
public OwCMISObjectClass getObjectClass()
getObjectClass
in interface com.wewebu.ow.server.ecm.OwObject
getObjectClass
in interface OwCMISObject
public int getPageCount() throws Exception
getPageCount
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public com.wewebu.ow.server.ecm.OwObjectCollection getParents() throws Exception
getParents
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getPath() throws com.wewebu.ow.server.exceptions.OwException
getPath
in interface com.wewebu.ow.server.ecm.OwObject
getPath
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public OwCMISPermissionCollection getPermissions() throws com.wewebu.ow.server.exceptions.OwException
getPermissions
in interface com.wewebu.ow.server.ecm.OwObject
getPermissions
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public 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.OwSemiVirtualFolder
com.wewebu.ow.server.exceptions.OwException
public 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.OwSemiVirtualFolder
com.wewebu.ow.server.exceptions.OwException
public com.wewebu.ow.server.ecm.OwPropertyCollection getProperties(Collection propertyNames) throws Exception
getProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public OwCMISProperty getProperty(String propertyName) throws com.wewebu.ow.server.exceptions.OwException
getProperty
in interface com.wewebu.ow.server.ecm.OwObject
getProperty
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public Map getPropertyMap()
getPropertyMap
in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolder
public OwCMISResource getResource()
getResource
in interface com.wewebu.ow.server.ecm.OwObject
getResource
in interface OwCMISObject
public String getResourceID()
getResourceID
in interface com.wewebu.ow.server.ecm.OwObjectReference
getResourceID
in interface OwCMISObject
public Object getSafeFieldValue(String name, Object defaultValue)
getSafeFieldValue
in interface com.wewebu.ow.server.field.OwFieldProvider
public com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate() throws com.wewebu.ow.server.exceptions.OwException
getSearchTemplate
in interface com.wewebu.ow.server.ecm.OwObject
com.wewebu.ow.server.exceptions.OwException
public OwCMISSession getSession()
getSession
in interface OwCMISSessionObject
public int getType()
getType
in interface com.wewebu.ow.server.ecm.OwObjectReference
public com.wewebu.ow.server.ecm.OwVersion getVersion() throws Exception
getVersion
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries() throws Exception
getVersionSeries
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public String getVirtualFolderName()
getVirtualFolderName
in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolder
public boolean hasChilds(int[] objectTypes, int context) throws com.wewebu.ow.server.exceptions.OwException
hasChilds
in interface com.wewebu.ow.server.ecm.OwObject
hasChilds
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public boolean hasContent(int context) throws Exception
hasContent
in interface com.wewebu.ow.server.ecm.OwObjectReference
Exception
public boolean hasVersionSeries() throws Exception
hasVersionSeries
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean includesPhysicalChildren()
includesPhysicalChildren
in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolder
public 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.OwObject
Exception
public void refreshProperties() throws Exception
refreshProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void refreshProperties(Collection props_p) throws Exception
refreshProperties
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void removeReference(com.wewebu.ow.server.ecm.OwObject object) throws Exception
removeReference
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public boolean searchSubstructure()
searchSubstructure
in interface com.wewebu.ow.server.ecm.OwSemiVirtualFolder
public void setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content) throws Exception
setContentCollection
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setField(String sName, Object value) throws Exception, com.wewebu.ow.server.exceptions.OwObjectNotFoundException
setField
in interface com.wewebu.ow.server.field.OwFieldProvider
Exception
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
public boolean setLock(boolean lock) throws Exception
setLock
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setPermissions(com.wewebu.ow.server.ecm.OwPermissionCollection permissions) throws Exception
setPermissions
in interface com.wewebu.ow.server.ecm.OwObject
Exception
public void setProperties(com.wewebu.ow.server.ecm.OwPropertyCollection properties) throws com.wewebu.ow.server.exceptions.OwException
setProperties
in interface com.wewebu.ow.server.ecm.OwObject
setProperties
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public 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.OwObject
setProperties
in interface OwCMISObject
com.wewebu.ow.server.exceptions.OwException
public 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 Set
com.wewebu.ow.server.exceptions.OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.