|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.dam.providers.jcr.JcrBuilder
public class JcrBuilder
Utility class defining common methods used by Internal builder.
Constructor Summary | |
---|---|
JcrBuilder()
|
Method Summary | |
---|---|
protected HashMap<String,Object> |
getAssetNodeProperties(javax.jcr.Node source)
Return in a HashMap all AssetNode properties. |
protected String |
getAssetNodePropertyString(javax.jcr.Node source,
String propertyName,
String defaultValue)
Retrieve a String representing the desired property from the AssetNode. |
protected javax.jcr.Node |
getContentNode(javax.jcr.Node source)
Retrieve the AssetNode.jcr:content child Node. |
protected long |
getContentNodePropertyLong(javax.jcr.Node source,
String propertyName,
String defaultValue)
Retrieve a long representing the desired property from the AssetNode.jcr:content child Node. |
protected String |
getContentNodePropertyString(javax.jcr.Node source,
String propertyName,
String defaultValue)
Retrieve a String representing the desired property from the AssetNode.jcr:content child Node. |
protected Calendar |
getLastModified(javax.jcr.Node source)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JcrBuilder()
Method Detail |
---|
protected String getAssetNodePropertyString(javax.jcr.Node source, String propertyName, String defaultValue)
protected String getContentNodePropertyString(javax.jcr.Node source, String propertyName, String defaultValue)
protected long getContentNodePropertyLong(javax.jcr.Node source, String propertyName, String defaultValue)
protected javax.jcr.Node getContentNode(javax.jcr.Node source) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected Calendar getLastModified(javax.jcr.Node source)
protected HashMap<String,Object> getAssetNodeProperties(javax.jcr.Node source) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |