public class OwCMISAlfrescoObjectClassFactory extends OwCMISSimpleObjectClassFactory
OwCMISAlfrescoObjectClassFactory.
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
Constructor and Description |
---|
OwCMISAlfrescoObjectClassFactory(OwCMISNativeSession session) |
Modifier and Type | Method and Description |
---|---|
protected OwCMISDocumentClass |
createDocumentClass(org.apache.chemistry.opencmis.client.api.DocumentType documentType)
(overridable)
Create a Document class/definition object. |
protected OwCMISFolderClass |
createFolderClass(org.apache.chemistry.opencmis.client.api.FolderType folderType)
(overridable)
Create a folder class/definition object. |
<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject> |
createObjectClassOf(O object)
Create an
OwCMISNativeObjectClass representation of the object type of the given TransientCmisObject . |
protected OwCMISPolicyClass |
createPolicyClass(org.apache.chemistry.opencmis.client.api.PolicyType policyType)
(overridable)
Create a policy class/definition object. |
protected OwCMISRelationshipClass |
createRelationshipClass(org.apache.chemistry.opencmis.client.api.RelationshipType relationshipType)
(overridable)
Create a relationship class/definition object. |
org.apache.chemistry.opencmis.client.api.ObjectType |
retrieveObjectType(String id,
org.apache.chemistry.opencmis.client.api.Session session)
Handling native object retrieval for provided object type id.
|
baseInitialize, createObjectClass, initialize, initialize, initialize, initialize
public OwCMISAlfrescoObjectClassFactory(OwCMISNativeSession session)
protected OwCMISDocumentClass createDocumentClass(org.apache.chemistry.opencmis.client.api.DocumentType documentType) throws com.wewebu.ow.server.exceptions.OwException
OwCMISSimpleObjectClassFactory
createDocumentClass
in class OwCMISSimpleObjectClassFactory
documentType
- DocumentType
com.wewebu.ow.server.exceptions.OwException
protected OwCMISFolderClass createFolderClass(org.apache.chemistry.opencmis.client.api.FolderType folderType) throws com.wewebu.ow.server.exceptions.OwException
OwCMISSimpleObjectClassFactory
createFolderClass
in class OwCMISSimpleObjectClassFactory
folderType
- FolderType
com.wewebu.ow.server.exceptions.OwException
protected OwCMISPolicyClass createPolicyClass(org.apache.chemistry.opencmis.client.api.PolicyType policyType) throws com.wewebu.ow.server.exceptions.OwException
OwCMISSimpleObjectClassFactory
createPolicyClass
in class OwCMISSimpleObjectClassFactory
policyType
- PolicyTypecom.wewebu.ow.server.exceptions.OwException
protected OwCMISRelationshipClass createRelationshipClass(org.apache.chemistry.opencmis.client.api.RelationshipType relationshipType) throws com.wewebu.ow.server.exceptions.OwException
OwCMISSimpleObjectClassFactory
createRelationshipClass
in class OwCMISSimpleObjectClassFactory
relationshipType
- RelationshipType
com.wewebu.ow.server.exceptions.OwException
public <O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject> OwCMISNativeObjectClass<?,O> createObjectClassOf(O object) throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectClassFactory
OwCMISNativeObjectClass
representation of the object type of the given TransientCmisObject
.createObjectClassOf
in interface OwCMISObjectClassFactory
createObjectClassOf
in class OwCMISSimpleObjectClassFactory
OwCMISNativeObjectClass
com.wewebu.ow.server.exceptions.OwException
public org.apache.chemistry.opencmis.client.api.ObjectType retrieveObjectType(String id, org.apache.chemistry.opencmis.client.api.Session session) throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectClassFactory
retrieveObjectType
in interface OwCMISObjectClassFactory
retrieveObjectType
in class OwCMISSimpleObjectClassFactory
id
- String specific object type idsession
- Session the current OpenCMIS sessioncom.wewebu.ow.server.exceptions.OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.