|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.inmemory.DummyCallContext
public class DummyCallContext
Field Summary |
---|
Fields inherited from interface org.apache.chemistry.opencmis.commons.server.CallContext |
---|
BINDING_ATOMPUB, BINDING_BROWSER, BINDING_LOCAL, BINDING_WEBSERVICES, LENGTH, LOCALE, LOCALE_ISO3166_COUNTRY, LOCALE_ISO639_LANGUAGE, OFFSET, PASSWORD, REPOSITORY_ID, SERVLET_CONTEXT, USERNAME |
Constructor Summary | |
---|---|
DummyCallContext()
|
Method Summary | |
---|---|
Object |
get(String key)
Returns context data by key. |
String |
getBinding()
Returns the binding. |
BigInteger |
getLength()
Returns the content length if set, null otherwise |
String |
getLocale()
Returns the locale. |
BigInteger |
getOffset()
Returns the content offset if set, null otherwise |
String |
getPassword()
Returns the password. |
String |
getRepositoryId()
Returns the repository id. |
String |
getUsername()
Returns the user name. |
boolean |
isObjectInfoRequired()
Returns if true object infos can improve the performance. |
void |
put(String key,
String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyCallContext()
Method Detail |
---|
public boolean isObjectInfoRequired()
CallContext
true
object infos can improve the performance.
isObjectInfoRequired
in interface CallContext
public Object get(String key)
CallContext
get
in interface CallContext
key
- the key
null
otherwisepublic String getBinding()
CallContext
CallContext.BINDING_ATOMPUB
,
CallContext.BINDING_WEBSERVICES
,
CallContext.BINDING_BROWSER
or CallContext.BINDING_LOCAL
.
getBinding
in interface CallContext
public String getRepositoryId()
CallContext
getRepositoryId
in interface CallContext
public String getLocale()
CallContext
getLocale
in interface CallContext
public BigInteger getOffset()
CallContext
null
otherwise
getOffset
in interface CallContext
public BigInteger getLength()
CallContext
null
otherwise
getLength
in interface CallContext
public String getPassword()
CallContext
getPassword
in interface CallContext
public String getUsername()
CallContext
getUsername
in interface CallContext
public void put(String key, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |