info.magnolia.module.shop.accessors
Class DefaultCustomDataAccesor

java.lang.Object
  extended by info.magnolia.module.shop.accessors.DefaultCustomDataAccesor
All Implemented Interfaces:
CustomDataAccesor
Direct Known Subclasses:
ShopAccesor, ShopProductAccesor, TagAccesor

public abstract class DefaultCustomDataAccesor
extends Object
implements CustomDataAccesor

CustomData interface implementation.

Author:
tmiyar

Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
DefaultCustomDataAccesor(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)
           
 
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

DefaultCustomDataAccesor

public DefaultCustomDataAccesor(String name)
                         throws Exception
Throws:
Exception
Method Detail

getNodeByName

protected javax.jcr.Node getNodeByName(String rootPath,
                                       String nodeType,
                                       String name)
                                throws Exception
Throws:
Exception

getNode

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

getName

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

getNode

protected abstract javax.jcr.Node getNode(String name)
                                   throws Exception
Throws:
Exception


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