public class OwCMISDocumentClassImpl extends OwCMISAbstractNativeObjectClass<org.apache.chemistry.opencmis.client.api.DocumentType,org.apache.chemistry.opencmis.client.api.TransientDocument> implements OwCMISDocumentClass<org.apache.chemistry.opencmis.client.api.TransientDocument>
OwObjectClass to represent Document objects. Explicit handling and extension of Versioning functionality.
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
MIME_TYPE_PREFIX_OW_POLICY, MIME_TYPE_PREFIX_OW_RELATIONSHIP| Constructor and Description |
|---|
OwCMISDocumentClassImpl(org.apache.chemistry.opencmis.client.api.DocumentType documentType,
OwCMISNativeSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.chemistry.opencmis.client.api.ObjectId |
createNativeObject(Map<String,Object> properties,
org.apache.chemistry.opencmis.client.api.ObjectId nativeParentFolder,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean majorVersion,
boolean checkedOut,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAce,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAce)
To be implemented for specific object type, providing already native value representations
|
OwCMISDocument |
from(org.apache.chemistry.opencmis.client.api.TransientDocument object_p,
Map<String,?> conversionParameters)
Creates an
OwCMISObject for the given native TransientCmisObject |
boolean |
hasVersionSeries() |
protected void |
initializeAsHierarchyRoot() |
canCreateNewObject, convertToNativeProperties, createContext, createNewObject, createSkeletonObject, findPropertyClass, getChilds, getClassName, getDescription, getDisplayName, getMimetype, getNativeObject, getNativeParentFromObject, getNativePropertyClass, getNativePropertyClasses, getParent, getPropertyClasses, getQueryName, getQueryResultConverter, getType, isQueryable, newTransientObjectgetChildNames, getPreferredPropertyType, getSession, hasChildsaddVirtualPropertyClass, getCopyClassName, getModes, getNamePropertyName, getParameterValue, getPropertyClass, getPropertyClassNames, getQueryablePropertyClasses, getVirtualPropertyClass, getVirtualPropertyClasses, isAssignableFrom, isContentRequired, isHidden, subclassedByclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertToNativeProperties, getNativeObject, getNativePropertyClass, getNativePropertyClasses, getParent, getQueryResultConverter, getSession, newTransientObjectcanCreateNewObject, createNewObject, createSkeletonObject, findPropertyClass, getChildNames, getChilds, getCopyClassName, getMimetype, getNamePropertyName, getPreferredPropertyType, getPropertyClass, getPropertyClasses, getPropertyClassNames, getQueryablePropertyClasses, getQueryName, getVirtualPropertyClass, getVirtualPropertyClasses, isAssignableFrom, isContentRequired, isQueryable, subclassedBypublic OwCMISDocumentClassImpl(org.apache.chemistry.opencmis.client.api.DocumentType documentType,
OwCMISNativeSession session)
protected void initializeAsHierarchyRoot()
initializeAsHierarchyRoot in class OwCMISAbstractObjectClasspublic boolean hasVersionSeries()
throws Exception
hasVersionSeries in interface com.wewebu.ow.server.ecm.OwObjectClasshasVersionSeries in class OwCMISAbstractObjectClassExceptionpublic OwCMISDocument from(org.apache.chemistry.opencmis.client.api.TransientDocument object_p, Map<String,?> conversionParameters) throws com.wewebu.ow.server.exceptions.OwException
OwCMISNativeObjectClassOwCMISObject for the given native TransientCmisObjectfrom in interface OwCMISDocumentClass<org.apache.chemistry.opencmis.client.api.TransientDocument>from in interface OwCMISNativeObjectClass<org.apache.chemistry.opencmis.client.api.DocumentType,org.apache.chemistry.opencmis.client.api.TransientDocument>conversionParameters - a Map of conversion parameters values (see OwCMISConversionParameters for
a list of common parameter names)OwCMISObject corresponding to the given TransientCmisObjectcom.wewebu.ow.server.exceptions.OwExceptionprotected org.apache.chemistry.opencmis.client.api.ObjectId createNativeObject(Map<String,Object> properties, org.apache.chemistry.opencmis.client.api.ObjectId nativeParentFolder, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean majorVersion, boolean checkedOut, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addAce, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAce)
OwCMISAbstractNativeObjectClasscreateNativeObject in class OwCMISAbstractNativeObjectClass<org.apache.chemistry.opencmis.client.api.DocumentType,org.apache.chemistry.opencmis.client.api.TransientDocument>properties - Map of property names (String) to corresponding values (extend Object)nativeParentFolder - ObjectId native parent folder id representationcontentStream - ContentStream (can be null)majorVersion - boolean version state (ignored if checkdedOut = true or non versionable type is created)checkedOut - boolean create checked-out (ignored for non versionable types)policies - List of org.apache.chemistry.opencmis.client.api.Policy objects (can be null)addAce - List of ACE's which should be added (can be null)removeAce - List of ACE's which should be removed (can be null)Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.