public abstract class HttpSessionCmisService extends CachedBindingCmisService
CmisBinding
objects.Modifier and Type | Field and Description |
---|---|
static String |
CMIS_BINDING
Key in the HTTP session.
|
Constructor and Description |
---|
HttpSessionCmisService() |
Modifier and Type | Method and Description |
---|---|
CmisBinding |
getCmisBindingFromCache()
Returns a cached
CmisBinding object or null if no
appropriate object can be found in the cache. |
javax.servlet.http.HttpSession |
getHttpSession(boolean create)
Returns the current
HttpSession . |
void |
init(Map<String,String> parameters,
ReentrantReadWriteLock lock) |
CmisBinding |
putCmisBindingIntoCache(CmisBinding binding)
Puts the provided
CmisBinding object into the cache and
associates it somehow with the current CallContext . |
close, createCmisBinding, getAclService, getCmisBinding, getDiscoveryService, getHttpServletRequest, getMultiFilingService, getNavigationService, getObjectService, getPolicyService, getRelationshipService, getRepositoryService, getVersioningService, setCallContext
addObjectToFolder, appendContentStream, applyAcl, applyAcl, applyPolicy, bulkUpdateProperties, cancelCheckOut, checkIn, checkOut, create, createDocument, createDocumentFromSource, createFolder, createItem, createPolicy, createRelationship, createType, deleteContentStream, deleteObject, deleteObjectOrCancelCheckOut, deleteTree, deleteType, getAcl, getAllowableActions, getAllVersions, getAppliedPolicies, getCallContext, getCheckedOutDocs, getChildren, getContentChanges, getContentStream, getDescendants, getFolderParent, getFolderTree, getObject, getObjectByPath, getObjectInfo, getObjectInfoIntern, getObjectOfLatestVersion, getObjectParents, getObjectRelationships, getProperties, getPropertiesOfLatestVersion, getRenditions, getRepositoryInfo, getRepositoryInfos, getTypeChildren, getTypeDefinition, getTypeDescendants, init, moveObject, query, removeObjectFromFolder, removePolicy, setContentStream, updateProperties, updateType
addObjectInfo, clearObjectInfos, getBooleanProperty, getDateTimeProperty, getIdProperty, getIntegerProperty, getStringProperty
public static final String CMIS_BINDING
public void init(Map<String,String> parameters, ReentrantReadWriteLock lock)
public CmisBinding getCmisBindingFromCache()
CachedBindingCmisService
CmisBinding
object or null
if no
appropriate object can be found in the cache.getCmisBindingFromCache
in class CachedBindingCmisService
public CmisBinding putCmisBindingIntoCache(CmisBinding binding)
CachedBindingCmisService
CmisBinding
object into the cache and
associates it somehow with the current CallContext
.
The implementation may return another CmisBinding
object if
another thread has already added an object for the current
CallContext
.putCmisBindingIntoCache
in class CachedBindingCmisService
public javax.servlet.http.HttpSession getHttpSession(boolean create)
HttpSession
.create
- true
to create a new session, false
to return null
if there is no current sessionCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.