info.magnolia.module.shop.accessors
Class DefaultCustomDataAccessor

java.lang.Object
  extended by info.magnolia.module.shop.accessors.DefaultCustomDataAccessor
All Implemented Interfaces:
CustomDataAccessor
Direct Known Subclasses:
ShopAccessor, ShopProductAccessor, TagAccessor

public abstract class DefaultCustomDataAccessor
extends Object
implements CustomDataAccessor

CustomData interface implementation.

Author:
tmiyar

Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
DefaultCustomDataAccessor(String name)
           
 
Method Summary
 String getName()
           
 javax.jcr.Node getNode()
           
protected abstract  javax.jcr.Node getNode(String name)
           
protected  javax.jcr.Node getNodeByName(String rootPath, String nodeType, String name)
           
protected  javax.jcr.Node getNodeByName(String rootPath, String nodeType, String name, String workspace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.slf4j.Logger log
Constructor Detail

DefaultCustomDataAccessor

public DefaultCustomDataAccessor(String name)
Method Detail

getNodeByName

protected javax.jcr.Node getNodeByName(String rootPath,
                                       String nodeType,
                                       String name)

getNodeByName

protected javax.jcr.Node getNodeByName(String rootPath,
                                       String nodeType,
                                       String name,
                                       String workspace)

getNode

public javax.jcr.Node getNode()
Specified by:
getNode in interface CustomDataAccessor

getName

public String getName()
Specified by:
getName in interface CustomDataAccessor

getNode

protected abstract javax.jcr.Node getNode(String name)


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