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.

  • 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 wrap
      objectInfo - the object info handler to use
  • Method Details

    • encryptTempFiles

      public boolean encryptTempFiles()
      Specified by:
      encryptTempFiles in interface org.apache.chemistry.opencmis.commons.server.CallContext
    • get

      public Object get(String attr)
      Specified by:
      get in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.get(java.lang.String)
    • getBinding

      public String getBinding()
      Specified by:
      getBinding in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getBinding()
    • getCmisVersion

      public org.apache.chemistry.opencmis.commons.enums.CmisVersion getCmisVersion()
      Specified by:
      getCmisVersion in interface org.apache.chemistry.opencmis.commons.server.CallContext
    • getLength

      Specified by:
      getLength in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getLength()
    • getLocale

      public String getLocale()
      Specified by:
      getLocale in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getLocale()
    • getMaxContentSize

      public long getMaxContentSize()
      Specified by:
      getMaxContentSize in interface org.apache.chemistry.opencmis.commons.server.CallContext
    • getMemoryThreshold

      public int getMemoryThreshold()
      Specified by:
      getMemoryThreshold in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getMemoryThreshold()
    • getObjectInfoHandler

      public org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler getObjectInfoHandler()
      The object info handler to use.

      Returns:
      the object info handler
    • getOffset

      Specified by:
      getOffset in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getOffset()
    • getPassword

      public String getPassword()
      Specified by:
      getPassword in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getPassword()
    • getRepositoryId

      Specified by:
      getRepositoryId in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getRepositoryId()
    • getTempDirectory

      Specified by:
      getTempDirectory in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getTempDirectory()
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.getUsername()
    • isObjectInfoRequired

      public boolean isObjectInfoRequired()
      Specified by:
      isObjectInfoRequired in interface org.apache.chemistry.opencmis.commons.server.CallContext
      See Also:
      • CallContext.isObjectInfoRequired()