public class OwCMISRelationshipClassImpl extends OwCMISAbstractNativeObjectClass<org.apache.chemistry.opencmis.client.api.RelationshipType,org.apache.chemistry.opencmis.client.api.TransientRelationship> implements OwCMISRelationshipClass
OwCMISRelationshipClassImpl.
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 |
|---|
OwCMISRelationshipClassImpl(org.apache.chemistry.opencmis.client.api.RelationshipType relationshipType,
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 sourceObject,
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
|
OwCMISRelationship |
from(org.apache.chemistry.opencmis.client.api.TransientRelationship object,
Map<String,?> conversionParameters)
Creates an
OwCMISObject for the given native TransientCmisObject |
protected org.apache.chemistry.opencmis.client.api.ObjectId |
getNativeParentFromObject(com.wewebu.ow.server.ecm.OwObject parent_p)
Get the native parent/representation from provide OwObject.
|
boolean |
hasVersionSeries() |
protected void |
initializeAsHierarchyRoot() |
canCreateNewObject, convertToNativeProperties, createContext, createNewObject, createSkeletonObject, findPropertyClass, getChilds, getClassName, getDescription, getDisplayName, getMimetype, getNativeObject, 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 OwCMISRelationshipClassImpl(org.apache.chemistry.opencmis.client.api.RelationshipType relationshipType,
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 OwCMISRelationship from(org.apache.chemistry.opencmis.client.api.TransientRelationship object, Map<String,?> conversionParameters) throws com.wewebu.ow.server.exceptions.OwException
OwCMISNativeObjectClassOwCMISObject for the given native TransientCmisObjectfrom in interface OwCMISNativeObjectClass<org.apache.chemistry.opencmis.client.api.RelationshipType,org.apache.chemistry.opencmis.client.api.TransientRelationship>from in interface OwCMISRelationshipClassconversionParameters - 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 sourceObject, 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.RelationshipType,org.apache.chemistry.opencmis.client.api.TransientRelationship>properties - Map of property names (String) to corresponding values (extend Object)sourceObject - 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)protected org.apache.chemistry.opencmis.client.api.ObjectId getNativeParentFromObject(com.wewebu.ow.server.ecm.OwObject parent_p)
throws com.wewebu.ow.server.exceptions.OwException
OwCMISAbstractNativeObjectClassgetNativeParentFromObject in class OwCMISAbstractNativeObjectClass<org.apache.chemistry.opencmis.client.api.RelationshipType,org.apache.chemistry.opencmis.client.api.TransientRelationship>parent_p - OwObject (can be null)com.wewebu.ow.server.exceptions.OwExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.