Class CmisRequestContext

  • All Implemented Interfaces:
    org.apache.chemistry.opencmis.commons.server.CallContext

    public class CmisRequestContext
    extends SilverpeasRequestContext
    implements org.apache.chemistry.opencmis.commons.server.CallContext
    The context of a request targeting a CMIS service in Silverpeas.
    Author:
    mmoquillon
    • Constructor Detail

      • CmisRequestContext

        public CmisRequestContext​(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
    • Method Detail

      • getBinding

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

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

        public Object get​(String key)
        Specified by:
        get in interface org.apache.chemistry.opencmis.commons.server.CallContext
      • getCmisVersion

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

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

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

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

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

        public BigInteger getOffset()
        Specified by:
        getOffset in interface org.apache.chemistry.opencmis.commons.server.CallContext
      • getLength

        public BigInteger getLength()
        Specified by:
        getLength in interface org.apache.chemistry.opencmis.commons.server.CallContext
      • getTempDirectory

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

        public boolean encryptTempFiles()
        Specified by:
        encryptTempFiles 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
      • getMaxContentSize

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