com.wewebu.ow.server.ecmimpl.opencmis.util
Interface OwCMISObjectClassFactory

All Known Implementing Classes:
OwCMISAlfrescoObjectClassFactory, OwCMISSimpleObjectClassFactory

public interface OwCMISObjectClassFactory

Interface for OwObjectClass creation.

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


Method Summary
<T extends org.apache.chemistry.opencmis.client.api.ObjectType>
OwCMISNativeObjectClass<T,?>
createObjectClass(T objectType)
          Create an OwCMISNativeObjectClass representation from the given native definition object.
<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject>
OwCMISNativeObjectClass<?,O>
createObjectClassOf(O object)
          Create an OwCMISNativeObjectClass representation of the object type of the given TransientCmisObject .
 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.
 

Method Detail

retrieveObjectType

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
Handling native object retrieval for provided object type id.

Parameters:
id - String specific object type id
session - Session the current OpenCMIS session
Returns:
ObjectType
Throws:
com.wewebu.ow.server.exceptions.OwException

createObjectClass

<T extends org.apache.chemistry.opencmis.client.api.ObjectType> OwCMISNativeObjectClass<T,?> createObjectClass(T objectType)
                                                                                                           throws com.wewebu.ow.server.exceptions.OwException
Create an OwCMISNativeObjectClass representation from the given native definition object.

Parameters:
objectType - ObjectType
Returns:
OwCMISObjectClass
Throws:
com.wewebu.ow.server.exceptions.OwException

createObjectClassOf

<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject> OwCMISNativeObjectClass<?,O> createObjectClassOf(O object)
                                                                                                                      throws com.wewebu.ow.server.exceptions.OwException
Create an OwCMISNativeObjectClass representation of the object type of the given TransientCmisObject .

Parameters:
object -
Returns:
an OwCMISNativeObjectClass
Throws:
com.wewebu.ow.server.exceptions.OwException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.