public class MgnlAuditLoggingContentDecoratorSessionWrapper extends ContentDecoratorSessionWrapper<MgnlAuditLoggingContentDecorator>
MgnlAuditLoggingContentDecorator
about action (Move, Delete) on the node.
The implementation also take care about logging actions into audit-log output during save action.wrapped
Constructor and Description |
---|
MgnlAuditLoggingContentDecoratorSessionWrapper(javax.jcr.Session session,
MgnlAuditLoggingContentDecorator contentDecorator) |
Modifier and Type | Method and Description |
---|---|
void |
move(String srcAbsPath,
String destAbsPath) |
void |
removeItem(String absPath) |
void |
save()
During node save action log all action which was done in the session.
|
getContentDecorator, getItem, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRootNode, getWorkspace, itemExists, nodeExists, propertyExists, wrapNode, wrapProperty, wrapWorkspace
addLockToken, checkPermission, clone, deepUnwrap, equals, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getRepository, getRetentionManager, getUserID, getValueFactory, getWrappedSession, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, initClone, isLive, logout, refresh, removeLockToken, setNamespacePrefix, setWrappedSession, toString, unwrap
public MgnlAuditLoggingContentDecoratorSessionWrapper(javax.jcr.Session session, MgnlAuditLoggingContentDecorator contentDecorator)
public void move(String srcAbsPath, String destAbsPath) throws javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
move
in interface javax.jcr.Session
move
in class ContentDecoratorSessionWrapper<MgnlAuditLoggingContentDecorator>
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void removeItem(String absPath) throws javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
removeItem
in interface javax.jcr.Session
removeItem
in class ContentDecoratorSessionWrapper<MgnlAuditLoggingContentDecorator>
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public void save() throws javax.jcr.AccessDeniedException, javax.jcr.ItemExistsException, javax.jcr.ReferentialIntegrityException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.InvalidItemStateException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.RepositoryException
save
in interface javax.jcr.Session
save
in class DelegateSessionWrapper
javax.jcr.AccessDeniedException
javax.jcr.ItemExistsException
javax.jcr.ReferentialIntegrityException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.InvalidItemStateException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.RepositoryException
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.