Package org.opencms.cmis
Class CmsCmisCallContext
java.lang.Object
org.opencms.cmis.CmsCmisCallContext
- All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CallContext
public class CmsCmisCallContext
extends Object
implements org.apache.chemistry.opencmis.commons.server.CallContext
Call context implementation which delegates most methods to a wrapped call context, but also provides additional functionality.
-
Field Summary
Fields inherited from interface org.apache.chemistry.opencmis.commons.server.CallContext
BINDING_ATOMPUB, BINDING_BROWSER, BINDING_LOCAL, BINDING_WEBSERVICES, CMIS_VERSION, ENCRYPT_TEMP_FILE, HTTP_SERVLET_REQUEST, HTTP_SERVLET_RESPONSE, LENGTH, LOCALE, LOCALE_ISO3166_COUNTRY, LOCALE_ISO639_LANGUAGE, MAX_CONTENT_SIZE, MEMORY_THRESHOLD, OFFSET, PASSWORD, REPOSITORY_ID, SERVLET_CONTEXT, STREAM_FACTORY, TEMP_DIR, USERNAME
-
Constructor Summary
ConstructorDescriptionCmsCmisCallContext
(org.apache.chemistry.opencmis.commons.server.CallContext originalContext, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.apache.chemistry.opencmis.commons.enums.CmisVersion
long
int
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
The object info handler to use.boolean
-
Constructor Details
-
CmsCmisCallContext
public CmsCmisCallContext(org.apache.chemistry.opencmis.commons.server.CallContext originalContext, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo) Creates a new instance.- Parameters:
originalContext
- the context to wrapobjectInfo
- the object info handler to use
-
-
Method Details
-
encryptTempFiles
- Specified by:
encryptTempFiles
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
get
- Specified by:
get
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.get(java.lang.String)
-
getBinding
- Specified by:
getBinding
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getBinding()
-
getCmisVersion
- Specified by:
getCmisVersion
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getLength
- Specified by:
getLength
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getLength()
-
getLocale
- Specified by:
getLocale
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getLocale()
-
getMaxContentSize
- Specified by:
getMaxContentSize
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getMemoryThreshold
- Specified by:
getMemoryThreshold
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getMemoryThreshold()
-
getObjectInfoHandler
The object info handler to use.- Returns:
- the object info handler
-
getOffset
- Specified by:
getOffset
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getOffset()
-
getPassword
- Specified by:
getPassword
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getPassword()
-
getRepositoryId
- Specified by:
getRepositoryId
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getRepositoryId()
-
getTempDirectory
- Specified by:
getTempDirectory
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getTempDirectory()
-
getUsername
- Specified by:
getUsername
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.getUsername()
-
isObjectInfoRequired
- Specified by:
isObjectInfoRequired
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
- See Also:
-
CallContext.isObjectInfoRequired()
-