it.sistematica.isharedoc.opencmis.indatabase
Class DummyCallContext

java.lang.Object
  extended by it.sistematica.isharedoc.opencmis.indatabase.DummyCallContext
All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CallContext

public class DummyCallContext
extends java.lang.Object
implements org.apache.chemistry.opencmis.commons.server.CallContext


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
DummyCallContext()
           
DummyCallContext(java.lang.String principalId)
           
 
Method Summary
 boolean encryptTempFiles()
           
 java.lang.Object get(java.lang.String key)
           
 java.lang.String getBinding()
           
 org.apache.chemistry.opencmis.commons.enums.CmisVersion getCmisVersion()
           
 java.math.BigInteger getLength()
           
 java.lang.String getLocale()
           
 long getMaxContentSize()
           
 int getMemoryThreshold()
           
 java.math.BigInteger getOffset()
           
 java.lang.String getPassword()
           
 java.lang.String getRepositoryId()
           
 java.io.File getTempDirectory()
           
 java.lang.String getUsername()
           
 boolean isObjectInfoRequired()
           
 void put(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyCallContext

public DummyCallContext()

DummyCallContext

public DummyCallContext(java.lang.String principalId)
Method Detail

isObjectInfoRequired

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

get

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

getBinding

public java.lang.String getBinding()
Specified by:
getBinding 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 java.lang.String getRepositoryId()
Specified by:
getRepositoryId in interface org.apache.chemistry.opencmis.commons.server.CallContext

getLocale

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

getOffset

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

getLength

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

getPassword

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

getUsername

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

put

public void put(java.lang.String key,
                java.lang.String value)

getTempDirectory

public java.io.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