info.magnolia.jcr.wrapper
Class MgnlPropertySettingContentDecorator.LastUpdatePropertyWrapper

java.lang.Object
  extended by info.magnolia.jcr.wrapper.DelegatePropertyWrapper
      extended by info.magnolia.jcr.decoration.ContentDecoratorPropertyWrapper<MgnlPropertySettingContentDecorator>
          extended by info.magnolia.jcr.wrapper.MgnlPropertySettingContentDecorator.LastUpdatePropertyWrapper
All Implemented Interfaces:
javax.jcr.Item, javax.jcr.Property
Enclosing class:
MgnlPropertySettingContentDecorator

public class MgnlPropertySettingContentDecorator.LastUpdatePropertyWrapper
extends ContentDecoratorPropertyWrapper<MgnlPropertySettingContentDecorator>
implements javax.jcr.Property

Updates parent page or parent content mgnl:lastUpdated property on modification.


Field Summary
 
Fields inherited from interface javax.jcr.Property
JCR_ACTIVITY, JCR_AUTOCREATED, JCR_BASE_VERSION, JCR_CHILD_VERSION_HISTORY, JCR_CONFIGURATION, JCR_CONTENT, JCR_COPIED_FROM, JCR_CREATED, JCR_CREATED_BY, JCR_CURRENT_LIFECYCLE_STATE, JCR_DATA, JCR_DEFAULT_PRIMARY_TYPE, JCR_DEFAULT_VALUES, JCR_DESCRIPTION, JCR_ENCODING, JCR_FROZEN_MIXIN_TYPES, JCR_FROZEN_PRIMARY_TYPE, JCR_FROZEN_UUID, JCR_HAS_ORDERABLE_CHILD_NODES, JCR_HOST, JCR_ID, JCR_IS_ABSTRACT, JCR_IS_CHECKED_OUT, JCR_IS_MIXIN, JCR_LANGUAGE, JCR_LAST_MODIFIED, JCR_LAST_MODIFIED_BY, JCR_LIFECYCLE_POLICY, JCR_LOCK_IS_DEEP, JCR_LOCK_OWNER, JCR_MANDATORY, JCR_MERGE_FAILED, JCR_MIMETYPE, JCR_MIXIN_TYPES, JCR_MULTIPLE, JCR_NAME, JCR_NODE_TYPE_NAME, JCR_ON_PARENT_VERSION, JCR_PATH, JCR_PORT, JCR_PREDECESSORS, JCR_PRIMARY_ITEM_NAME, JCR_PRIMARY_TYPE, JCR_PROTECTED, JCR_PROTOCOL, JCR_REPOSITORY, JCR_REQUIRED_PRIMARY_TYPES, JCR_REQUIRED_TYPE, JCR_ROOT, JCR_SAME_NAME_SIBLINGS, JCR_STATEMENT, JCR_SUCCESSORS, JCR_SUPERTYPES, JCR_TITLE, JCR_UUID, JCR_VALUE_CONSTRAINTS, JCR_VERSION_HISTORY, JCR_VERSIONABLE_UUID, JCR_WORKSPACE
 
Constructor Summary
MgnlPropertySettingContentDecorator.LastUpdatePropertyWrapper(javax.jcr.Property property, MgnlPropertySettingContentDecorator contentDecorator)
           
 
Method Summary
 void remove()
           
 void setValue(BigDecimal value)
           
 void setValue(javax.jcr.Binary value)
           
 void setValue(boolean value)
           
 void setValue(Calendar value)
           
 void setValue(double value)
           
 void setValue(InputStream value)
           
 void setValue(long value)
           
 void setValue(javax.jcr.Node value)
           
 void setValue(String value)
           
 void setValue(String[] values)
           
 void setValue(javax.jcr.Value value)
           
 void setValue(javax.jcr.Value[] values)
           
 
Methods inherited from class info.magnolia.jcr.decoration.ContentDecoratorPropertyWrapper
equals, getAncestor, getContentDecorator, getNode, getParent, getProperty, getSession, hashCode, wrapNode, wrapProperty, wrapSession
 
Methods inherited from class info.magnolia.jcr.wrapper.DelegatePropertyWrapper
accept, getBinary, getBoolean, getDate, getDecimal, getDefinition, getDepth, getDouble, getLength, getLengths, getLong, getName, getPath, getStream, getString, getType, getValue, getValues, getWrappedProperty, isModified, isMultiple, isNew, isNode, isSame, refresh, save, setWrappedProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jcr.Property
getBinary, getBoolean, getDate, getDecimal, getDefinition, getDouble, getLength, getLengths, getLong, getNode, getProperty, getStream, getString, getType, getValue, getValues, isMultiple
 
Methods inherited from interface javax.jcr.Item
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, save
 

Constructor Detail

MgnlPropertySettingContentDecorator.LastUpdatePropertyWrapper

public MgnlPropertySettingContentDecorator.LastUpdatePropertyWrapper(javax.jcr.Property property,
                                                                     MgnlPropertySettingContentDecorator contentDecorator)
Method Detail

setValue

public void setValue(BigDecimal value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(javax.jcr.Binary value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(boolean value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(Calendar value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(double value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(InputStream value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(long value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(javax.jcr.Node value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(String value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(String[] values)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(javax.jcr.Value value)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

setValue

public void setValue(javax.jcr.Value[] values)
              throws javax.jcr.ValueFormatException,
                     javax.jcr.version.VersionException,
                     javax.jcr.lock.LockException,
                     javax.jcr.nodetype.ConstraintViolationException,
                     javax.jcr.RepositoryException
Specified by:
setValue in interface javax.jcr.Property
Overrides:
setValue in class DelegatePropertyWrapper
Throws:
javax.jcr.ValueFormatException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

remove

public void remove()
            throws javax.jcr.version.VersionException,
                   javax.jcr.lock.LockException,
                   javax.jcr.nodetype.ConstraintViolationException,
                   javax.jcr.AccessDeniedException,
                   javax.jcr.RepositoryException
Specified by:
remove in interface javax.jcr.Item
Overrides:
remove in class DelegatePropertyWrapper
Throws:
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.