protected class JcrSession.SystemSessionCache extends SessionCacheWrapper
SessionCache.PreSave, SessionCache.SaveContext| Modifier | Constructor and Description |
|---|---|
protected |
JcrSession.SystemSessionCache(SessionCache delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
save()
Saves all changes made within this session.
|
void |
save(SessionCache otherSession,
SessionCache.PreSave preSaveOperation)
Saves all changes made within this session and the supplied session, using a single transaction for both.
|
void |
save(Set<NodeKey> toBeSaved,
SessionCache otherSession,
SessionCache.PreSave preSaveOperation)
Saves all of this session's changes that were made at or below the specified path.
|
addContextData, checkForTransaction, clear, clear, createNodeKey, createNodeKey, createNodeKeyWithIdentifier, createNodeKeyWithSource, destroy, getAllNodeKeys, getAllNodeKeysAtAndBelow, getChangedNodeKeys, getChangedNodeKeysAtOrBelow, getContext, getNode, getNode, getNodeKeysAtAndBelow, getRootKey, getWorkspace, hasChanges, isDestroyed, isReadOnly, mutable, unwrapprotected JcrSession.SystemSessionCache(SessionCache delegate)
public void save()
SessionCachesave in interface SessionCachesave in class SessionCacheWrapperpublic void save(SessionCache otherSession, SessionCache.PreSave preSaveOperation)
SessionCachesave in interface SessionCachesave in class SessionCacheWrapperotherSession - another session whose changes should be saved with this session's changes; may not be nullpreSaveOperation - the set of operations to run against the new and changed nodes prior to saving; may be nullpublic void save(Set<NodeKey> toBeSaved, SessionCache otherSession, SessionCache.PreSave preSaveOperation)
SessionCacheItem.save().save in interface SessionCachesave in class SessionCacheWrappertoBeSaved - the set of keys identifying the nodes whose changes should be saved; may not be nullotherSession - another session whose changes should be saved with this session's changes; may not be nullpreSaveOperation - the set of operations to run against the new and changed nodes prior to saving; may be nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.