info.magnolia.jcr.wrapper
Class LastUpdateContentDecorator
java.lang.Object
info.magnolia.jcr.decoration.AbstractContentDecorator
info.magnolia.jcr.wrapper.PropertyAndChildWrappingContentDecorator
info.magnolia.jcr.wrapper.LastUpdateContentDecorator
- All Implemented Interfaces:
- ContentDecorator
public class LastUpdateContentDecorator
- extends PropertyAndChildWrappingContentDecorator
- implements ContentDecorator
Decorator to keep Last Update Data (LUD) status of content up to date.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isSysSessionDirty
protected boolean isSysSessionDirty
LastUpdateContentDecorator
public LastUpdateContentDecorator()
wrapSession
public javax.jcr.Session wrapSession(javax.jcr.Session session)
- Specified by:
wrapSession
in interface ContentDecorator
- Overrides:
wrapSession
in class AbstractContentDecorator
wrapWorkspace
public javax.jcr.Workspace wrapWorkspace(javax.jcr.Workspace workspace)
- Specified by:
wrapWorkspace
in interface ContentDecorator
- Overrides:
wrapWorkspace
in class AbstractContentDecorator
wrapNode
public javax.jcr.Node wrapNode(javax.jcr.Node node)
- Specified by:
wrapNode
in interface ContentDecorator
- Overrides:
wrapNode
in class AbstractContentDecorator
wrapProperty
public javax.jcr.Property wrapProperty(javax.jcr.Property property)
- Specified by:
wrapProperty
in interface ContentDecorator
- Overrides:
wrapProperty
in class AbstractContentDecorator
shouldIgnoreUpdate
protected boolean shouldIgnoreUpdate(String propertyName)
- Returns:
- whether a modification to the property with the provided name should trigger an update of the last modification or not.
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.