|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OwCMISNativeSession
Abstraction to OpenCMIS-Session object, contains additionally simplified helper methods.
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 | ||
---|---|---|
|
classOf(O object)
|
|
org.apache.chemistry.opencmis.client.api.OperationContext |
createOperationContext(Collection<String> filterPropertyNames,
int maxItemsPerPage,
OwCMISNativeObjectClass<?,?>... classContext)
|
|
|
from(O transientCmisObject,
Map<String,?> conversionParameters)
|
|
|
from(T type)
Performs ObjectType to OwCMISNativeObjectClass conversion. |
|
OwCMISNativeObject<org.apache.chemistry.opencmis.client.api.TransientCmisObject> |
getNativeObject(String objectNativeId,
Collection<String> propertyNames,
Map<String,?> conversionParameters)
|
|
OwCMISNativeObjectClass<?,?> |
getNativeObjectClass(String className)
|
|
OwCMISNativePropertyClassFactory |
getNativePropertyClassFactory()
|
|
org.apache.chemistry.opencmis.client.api.Session |
getOpenCMISSession()
|
Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.OwCMISSession |
---|
createObject, createObjectSkeleton, getDMSIDDecoder, getLocale, getNetwork, getObject, getObjectByPath, getObjectClass, getObjectClasses, getParameterValue, getResource, getResourceInfo, getRootFolder, getTimeZone, query |
Method Detail |
---|
org.apache.chemistry.opencmis.client.api.Session getOpenCMISSession()
Session
org.apache.chemistry.opencmis.client.api.OperationContext createOperationContext(Collection<String> filterPropertyNames, int maxItemsPerPage, OwCMISNativeObjectClass<?,?>... classContext)
filterPropertyNames
- maxItemsPerPage
- classContext
-
OperationContext
with the filter set to the give properties and max items to the given value.
Property IDs resolution is done in the given AWD class context.OwCMISNativePropertyClassFactory getNativePropertyClassFactory()
<T extends org.apache.chemistry.opencmis.client.api.ObjectType> OwCMISNativeObjectClass<T,?> from(T type) throws com.wewebu.ow.server.exceptions.OwException
ObjectType
to OwCMISNativeObjectClass
conversion.
type
-
OwCMISNativeObjectClass
correspondent of the given type.
com.wewebu.ow.server.exceptions.OwException
<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject> OwCMISNativeObjectClass<?,O> classOf(O object) throws com.wewebu.ow.server.exceptions.OwException
object
-
OwCMISNativeObjectClass
of the given TransientCmisObject
com.wewebu.ow.server.exceptions.OwException
<O extends org.apache.chemistry.opencmis.client.api.TransientCmisObject> OwCMISNativeObject<O> from(O transientCmisObject, Map<String,?> conversionParameters) throws com.wewebu.ow.server.exceptions.OwException
transientCmisObject
- conversionParameters
-
OwCMISNativeObject
o
com.wewebu.ow.server.exceptions.OwException
OwCMISNativeObjectClass<?,?> getNativeObjectClass(String className) throws com.wewebu.ow.server.exceptions.OwException
className
-
com.wewebu.ow.server.exceptions.OwException
OwCMISNativeObject<org.apache.chemistry.opencmis.client.api.TransientCmisObject> getNativeObject(String objectNativeId, Collection<String> propertyNames, Map<String,?> conversionParameters) throws com.wewebu.ow.server.exceptions.OwException
objectNativeId
- the object ID of the documentpropertyNames
- a list of properties to be loaded for this object.
If null then the set of properties that are loaded depends on the particular content repository implementation.
com.wewebu.ow.server.exceptions.OwException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |