public class MetaDataAsMixinConversionHelper extends Object
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.Constructor and Description |
---|
MetaDataAsMixinConversionHelper() |
Modifier and Type | Method and Description |
---|---|
void |
convertNodeAndChildren(javax.jcr.Node startNode) |
boolean |
isDeleteMetaDataIfEmptied() |
boolean |
isPeriodicSaves() |
void |
setDeleteMetaDataIfEmptied(boolean deleteMetaDataIfEmptied) |
void |
setPeriodicSaves(boolean periodicSaves)
Sets whether to save periodically as the sub tree is converted.
|
public boolean isDeleteMetaDataIfEmptied()
public void setDeleteMetaDataIfEmptied(boolean deleteMetaDataIfEmptied)
public boolean isPeriodicSaves()
public void setPeriodicSaves(boolean periodicSaves)
public void convertNodeAndChildren(javax.jcr.Node startNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.