|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.store.dao.impl.DomainDaoImpl
@Repository public class DomainDaoImpl
Default Spring/JPA implemenation
| Constructor Summary | |
|---|---|
DomainDaoImpl()
|
|
| Method Summary | |
|---|---|
void |
add(Domain item)
Add a Domain. |
int |
count()
Get a count of Domains. |
void |
delete(Long anId)
Delete a Domain. |
void |
delete(String name)
Delete a Domain. |
Domain |
getDomain(Long id)
Get a Domain. |
Domain |
getDomainByName(String name)
Get a Domain. |
List<Domain> |
getDomains(List<String> names,
EntityStatus status)
Get a collection of Domains. |
javax.persistence.EntityManager |
getEntityManager()
Get the value of entityManager. |
List<Domain> |
listDomains(String name,
int count)
Get a collection of Domains. |
void |
save(Domain item)
Save a Domain. |
List<Domain> |
searchDomain(String name,
EntityStatus status)
Get a collection of Domains. |
void |
setAddressDao(AddressDao aDao)
Set the value of addressDao. |
void |
setEntityManager(javax.persistence.EntityManager entityManager)
Set the value of entityManager. |
void |
update(Domain item)
Update a Domain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomainDaoImpl()
| Method Detail |
|---|
@Transactional(readOnly=true) public int count()
DomainDao
count in interface DomainDao@Transactional(readOnly=false) public void add(Domain item)
DomainDao
add in interface DomainDaoitem - The Domain.@Transactional(readOnly=false) public void update(Domain item)
DomainDao
update in interface DomainDaoitem - The Domain.@Transactional(readOnly=false) public void save(Domain item)
DomainDao
save in interface DomainDaoitem - The Domain.@Transactional(readOnly=false) public void delete(String name)
DomainDao
delete in interface DomainDaoname - The Domain name.@Transactional(readOnly=false) public void delete(Long anId)
DomainDao
delete in interface DomainDao@Transactional(readOnly=true) public Domain getDomainByName(String name)
DomainDao
getDomainByName in interface DomainDaoname - The Domain name.
@Transactional(readOnly=true)
public List<Domain> getDomains(List<String> names,
EntityStatus status)
DomainDao
getDomains in interface DomainDaonames - The collection of Domain names.status - The Domain status.
@Transactional(readOnly=true)
public List<Domain> listDomains(String name,
int count)
DomainDao
listDomains in interface DomainDaoname - The Domain name.count - The count of Domains.
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager - The vale of entityManager.
@Transactional(readOnly=true)
public List<Domain> searchDomain(String name,
EntityStatus status)
DomainDao
searchDomain in interface DomainDaoname - The Domain name.status - The Domain status.
@Transactional(readOnly=true) public Domain getDomain(Long id)
DomainDao
getDomain in interface DomainDaoid - The Domain id.
public void setAddressDao(AddressDao aDao)
aDao - The value of addressDao.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||