@Repository(value="blSandBoxDao") public class SandBoxDaoImpl extends Object implements SandBoxDao
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
sandBoxEntityManager |
Constructor and Description |
---|
SandBoxDaoImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
public SandBox retrieve(Long id)
retrieve
in interface SandBoxDao
public SandBox retrieveSandBoxByType(Site site, SandBoxType sandboxType)
retrieveSandBoxByType
in interface SandBoxDao
public SandBox retrieveNamedSandBox(Site site, SandBoxType sandboxType, String sandboxName)
retrieveNamedSandBox
in interface SandBoxDao
public SandBox persist(SandBox entity)
persist
in interface SandBoxDao
public SandBox createSandBox(Site site, String sandBoxName, SandBoxType sandBoxType)
createSandBox
in interface SandBoxDao
Copyright © 2014. All rights reserved.