com.wewebu.ow.server.ecmimpl.cmis.object
Class OwCMISDocumentObject
java.lang.Object
com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISObjectBase
com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISDocumentObject
- All Implemented Interfaces:
- com.wewebu.ow.server.ecm.OwObject, com.wewebu.ow.server.ecm.OwObjectReference, OwCMISVersionEventListener, OwCMISObject, com.wewebu.ow.server.field.OwFieldProvider
public class OwCMISDocumentObject
- extends OwCMISObjectBase
- implements OwCMISVersionEventListener
Class representing Document in CMIS environments,
which implements also the OwVersion interface.
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
| 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 |
|
Method Summary |
boolean |
canGetContent(int contentType_p,
int context_p)
|
boolean |
canSetContent(int contentType_p,
int context_p)
|
boolean |
canSetProperties(int contextStatus_p)
|
void |
delete()
|
org.oasis_open.docs.ns.cmis.core._200908.CmisAllowableActionsType |
getAllowableActions()
|
String |
getMIMEParameter()
|
String |
getMIMEType()
|
com.wewebu.ow.server.ecm.OwObjectCollection |
getParents()
|
String |
getPath()
|
com.wewebu.ow.server.ecm.OwVersion |
getVersion()
|
com.wewebu.ow.server.ecm.OwVersionSeries |
getVersionSeries()
|
String |
getVersionSeriesId()
|
boolean |
hasChilds(int[] objectTypes_p,
int context_p)
|
boolean |
hasContent(int context_p)
|
boolean |
hasVersionSeries()
|
boolean |
isImmutable()
|
protected void |
resetNativeObject(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p)
|
void |
setContentCollection(com.wewebu.ow.server.ecm.OwContentCollection content_p)
|
void |
versionCanceledChenckedOut(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType currentObject_p,
String pwcVersionId_p)
|
void |
versionCheckedIn(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType currentObject_p,
String pwcVersionId_p)
|
void |
versionCheckedOut(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType pwcObject_p,
String oldVersionId_p)
|
void |
versionSaved(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType currentObject_p,
String oldVersionId_p)
|
| Methods inherited from class com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISObjectBase |
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetPermissions, canGetProperties, canLock, canMove, canRemoveReference, canSetPermissions, changeClass, createCopy, decodeID, encodeID, equals, getChangeToken, getChildCount, getChilds, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getDecodedID, getDMSID, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getFilterProperties, getID, getInstance, getLock, getLockUserID, getMyLock, getName, getNativeObject, getNetwork, getObjectClass, getObjectModel, getPageCount, getPermissions, getProperties, getProperty, getResource, getResourceID, getSafeFieldValue, getSearchTemplate, getType, hashCode, move, refreshProperties, refreshProperties, removeReference, retrieveCmisProperties, retrieveCmisProperty, setField, setLock, setPermissions, setProperties, setProperties |
OwCMISDocumentObject
public OwCMISDocumentObject(OwCMISNetwork network_p,
OwCMISObjectModel objectModel_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType type_p)
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
canGetContent
public boolean canGetContent(int contentType_p,
int context_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
canGetContent in interface com.wewebu.ow.server.ecm.OwObject
- Throws:
com.wewebu.ow.server.exceptions.OwException
canSetProperties
public boolean canSetProperties(int contextStatus_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
canSetProperties in interface com.wewebu.ow.server.ecm.OwObject- Overrides:
canSetProperties in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
isImmutable
public boolean isImmutable()
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
getParents
public com.wewebu.ow.server.ecm.OwObjectCollection getParents()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getParents in interface com.wewebu.ow.server.ecm.OwObject- Overrides:
getParents in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
getMIMEType
public String getMIMEType()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getMIMEType in interface com.wewebu.ow.server.ecm.OwObjectReference- Overrides:
getMIMEType in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
getMIMEParameter
public String getMIMEParameter()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getMIMEParameter in interface com.wewebu.ow.server.ecm.OwObjectReference- Overrides:
getMIMEParameter in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
hasContent
public boolean hasContent(int context_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
hasContent in interface com.wewebu.ow.server.ecm.OwObjectReference- Overrides:
hasContent in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
delete
public void delete()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
delete in interface com.wewebu.ow.server.ecm.OwObject- Overrides:
delete in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
getVersion
public com.wewebu.ow.server.ecm.OwVersion getVersion()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getVersion in interface com.wewebu.ow.server.ecm.OwObject
- Throws:
com.wewebu.ow.server.exceptions.OwException
getVersionSeriesId
public String getVersionSeriesId()
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
getAllowableActions
public org.oasis_open.docs.ns.cmis.core._200908.CmisAllowableActionsType getAllowableActions()
getVersionSeries
public com.wewebu.ow.server.ecm.OwVersionSeries getVersionSeries()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getVersionSeries in interface com.wewebu.ow.server.ecm.OwObject
- Throws:
com.wewebu.ow.server.exceptions.OwException
hasVersionSeries
public boolean hasVersionSeries()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
hasVersionSeries in interface com.wewebu.ow.server.ecm.OwObject
- Throws:
com.wewebu.ow.server.exceptions.OwException
canSetContent
public boolean canSetContent(int contentType_p,
int context_p)
throws Exception
- Specified by:
canSetContent 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
versionCheckedOut
public void versionCheckedOut(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType pwcObject_p,
String oldVersionId_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
versionCheckedOut in interface OwCMISVersionEventListener
- Throws:
com.wewebu.ow.server.exceptions.OwException
versionCanceledChenckedOut
public void versionCanceledChenckedOut(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType currentObject_p,
String pwcVersionId_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
versionCanceledChenckedOut in interface OwCMISVersionEventListener
- Throws:
com.wewebu.ow.server.exceptions.OwException
versionCheckedIn
public void versionCheckedIn(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType currentObject_p,
String pwcVersionId_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
versionCheckedIn in interface OwCMISVersionEventListener
- Throws:
com.wewebu.ow.server.exceptions.OwException
versionSaved
public void versionSaved(String resourceId_p,
String versionSeriesId_p,
org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType currentObject_p,
String oldVersionId_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
versionSaved in interface OwCMISVersionEventListener
- Throws:
com.wewebu.ow.server.exceptions.OwException
hasChilds
public boolean hasChilds(int[] objectTypes_p,
int context_p)
throws Exception
- Specified by:
hasChilds in interface com.wewebu.ow.server.ecm.OwObject
- Throws:
Exception
resetNativeObject
protected void resetNativeObject(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType object_p)
throws com.wewebu.ow.server.exceptions.OwException
- Overrides:
resetNativeObject in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
getPath
public String getPath()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getPath in interface com.wewebu.ow.server.ecm.OwObject- Overrides:
getPath in class OwCMISObjectBase
- Throws:
com.wewebu.ow.server.exceptions.OwException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.