|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jcr.util.MetaDataUtil
NodeTypes
instead.
public class MetaDataUtil
Collection of utilities to simplify working with the JCR API. In contrast to info.magnolia.cms.core.Content it is - from a caller perspective - independent from Content API. Internally content API is still used for now, but this will most probably change quite soon.
Constructor Summary | |
---|---|
MetaDataUtil()
Deprecated. |
Method Summary | |
---|---|
static Calendar |
getLastModification(javax.jcr.Node node)
Deprecated. since 5.0 use NodeTypes.LastModified.getLastModified(javax.jcr.Node) . |
static MetaData |
getMetaData(javax.jcr.Node node)
Deprecated. since 5.0 use NodeTypes |
static String |
getTemplate(javax.jcr.Node node)
Deprecated. since 5.0 use NodeTypes.RenderableMixin#getTemplate(Node) |
static void |
updateMetaData(javax.jcr.Node node)
Deprecated. since 5.0 use NodeTypes.LastModified.update(javax.jcr.Node) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaDataUtil()
Method Detail |
---|
public static MetaData getMetaData(javax.jcr.Node node)
NodeTypes
public static void updateMetaData(javax.jcr.Node node) throws javax.jcr.RepositoryException
NodeTypes.LastModified.update(javax.jcr.Node)
.
javax.jcr.RepositoryException
public static Calendar getLastModification(javax.jcr.Node node) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException, javax.jcr.ValueFormatException
NodeTypes.LastModified.getLastModified(javax.jcr.Node)
.
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
javax.jcr.ValueFormatException
public static String getTemplate(javax.jcr.Node node)
NodeTypes.RenderableMixin#getTemplate(Node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |