info.magnolia.importexport.postprocessors
Class MetaDataAsMixinConversionHelper
java.lang.Object
info.magnolia.importexport.postprocessors.MetaDataAsMixinConversionHelper
public class MetaDataAsMixinConversionHelper
- extends Object
Converts the MetaData sub node into properties on the mixins mgnl:created
,
mgnl:lastModified
, mgnl:renderable
, mgnl:activatable
and
mgnl:activatable
. It also renames the property mgnl:deletedOn
property on the mixin
mgnl:deleted
to mgnl:deleted
. The MetaData node itself is optionally removed if there are
no additional properties on it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaDataAsMixinConversionHelper
public MetaDataAsMixinConversionHelper()
isDeleteMetaDataIfEmptied
public boolean isDeleteMetaDataIfEmptied()
setDeleteMetaDataIfEmptied
public void setDeleteMetaDataIfEmptied(boolean deleteMetaDataIfEmptied)
isPeriodicSaves
public boolean isPeriodicSaves()
setPeriodicSaves
public void setPeriodicSaves(boolean periodicSaves)
- Sets whether to save periodically as the sub tree is converted. This reduces the amount of memory required.
convertNodeAndChildren
public void convertNodeAndChildren(javax.jcr.Node startNode)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.