|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.OwCMISSimpleObjectClassFactory
public class OwCMISSimpleObjectClassFactory
Simple/default implementation of class factory 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
Constructor Summary | |
---|---|
OwCMISSimpleObjectClassFactory(OwCMISNativeSession session)
|
Method Summary | ||
---|---|---|
protected void |
baseInitialize(OwCMISAbstractObjectClass objectClass)
|
|
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. |
|
|
createObjectClass(T objectType)
Create an OwCMISNativeObjectClass representation from the given native definition object. |
|
|
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. |
|
protected void |
initialize(OwCMISDocumentClassImpl objectClass)
|
|
protected void |
initialize(OwCMISFolderClassImpl objectClass)
|
|
protected void |
initialize(OwCMISPolicyClassImpl objectClass)
|
|
protected void |
initialize(OwCMISRelationshipClassImpl objectClass)
|
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISSimpleObjectClassFactory(OwCMISNativeSession session)
Method Detail |
---|
public <T extends org.apache.chemistry.opencmis.client.api.ObjectType> OwCMISNativeObjectClass<T,?> createObjectClass(T objectType) throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectClassFactory
OwCMISNativeObjectClass
representation from the given native definition object.
createObjectClass
in interface OwCMISObjectClassFactory
objectType
- ObjectType
com.wewebu.ow.server.exceptions.OwException
protected void baseInitialize(OwCMISAbstractObjectClass objectClass)
protected void initialize(OwCMISDocumentClassImpl objectClass)
protected void initialize(OwCMISFolderClassImpl objectClass)
protected void initialize(OwCMISPolicyClassImpl objectClass)
protected void initialize(OwCMISRelationshipClassImpl objectClass)
protected OwCMISDocumentClass createDocumentClass(org.apache.chemistry.opencmis.client.api.DocumentType documentType) throws com.wewebu.ow.server.exceptions.OwException
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
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
policyType
- PolicyType
com.wewebu.ow.server.exceptions.OwException
protected OwCMISRelationshipClass createRelationshipClass(org.apache.chemistry.opencmis.client.api.RelationshipType relationshipType) throws com.wewebu.ow.server.exceptions.OwException
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
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
id
- String specific object type idsession
- Session the current OpenCMIS session
com.wewebu.ow.server.exceptions.OwException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |