org.broadleafcommerce.common.sandbox.dao
Class SandBoxDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.common.sandbox.dao.SandBoxDaoImpl
All Implemented Interfaces:
SandBoxDao

@Repository(value="blSandBoxDao")
public class SandBoxDaoImpl
extends Object
implements SandBoxDao


Field Summary
protected  javax.persistence.EntityManager sandBoxEntityManager
           
 
Constructor Summary
SandBoxDaoImpl()
           
 
Method Summary
 SandBox createSandBox(Site site, String sandBoxName, SandBoxType sandBoxType)
           
 SandBox persist(SandBox entity)
           
 SandBox retrieve(Long id)
           
 SandBox retrieveNamedSandBox(Site site, SandBoxType sandboxType, String sandboxName)
           
 SandBox retrieveSandBoxByType(Site site, SandBoxType sandboxType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sandBoxEntityManager

protected javax.persistence.EntityManager sandBoxEntityManager
Constructor Detail

SandBoxDaoImpl

public SandBoxDaoImpl()
Method Detail

retrieve

public SandBox retrieve(Long id)
Specified by:
retrieve in interface SandBoxDao

retrieveSandBoxByType

public SandBox retrieveSandBoxByType(Site site,
                                     SandBoxType sandboxType)
Specified by:
retrieveSandBoxByType in interface SandBoxDao

retrieveNamedSandBox

public SandBox retrieveNamedSandBox(Site site,
                                    SandBoxType sandboxType,
                                    String sandboxName)
Specified by:
retrieveNamedSandBox in interface SandBoxDao

persist

public SandBox persist(SandBox entity)
Specified by:
persist in interface SandBoxDao

createSandBox

public SandBox createSandBox(Site site,
                             String sandBoxName,
                             SandBoxType sandBoxType)
Specified by:
createSandBox in interface SandBoxDao


Copyright © 2012. All Rights Reserved.