|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.store.dao.impl.AddressDaoImpl
@Repository public class AddressDaoImpl
Implementing class for Address DAO methods.
| Constructor Summary | |
|---|---|
AddressDaoImpl()
|
|
| Method Summary | |
|---|---|
void |
add(Address item)
Add an Address. |
int |
count()
Get a count of Addresses. |
void |
delete(String name)
Delete an Address. |
Address |
get(String name)
Get an Address. |
List<Address> |
getByDomain(Domain domain,
EntityStatus status)
Get a collection of Addresses. |
javax.persistence.EntityManager |
getEntityManager()
Get the value of entityManager. |
List<Address> |
listAddresses(List<String> names,
EntityStatus status)
Get a collection of Addresses. |
List<Address> |
listAddresses(String name,
int count)
Get a collection of Addresses. |
void |
save(Address item)
Save an Address. |
void |
setEntityManager(javax.persistence.EntityManager entityManager)
Set the value of entityManager. |
void |
update(Address item)
Update an Address. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddressDaoImpl()
| Method Detail |
|---|
@Transactional(readOnly=true) public int count()
AddressDao
count in interface AddressDao@Transactional(readOnly=false) public void add(Address item)
AddressDao
add in interface AddressDaoitem - The Address.@Transactional(readOnly=false) public void update(Address item)
AddressDao
update in interface AddressDaoitem - The Address.@Transactional(readOnly=false) public void save(Address item)
AddressDao
save in interface AddressDaoitem - The Address.@Transactional(readOnly=false) public void delete(String name)
AddressDao
delete in interface AddressDaoname - The Address.
@Transactional(readOnly=true)
public List<Address> listAddresses(String name,
int count)
AddressDao
listAddresses in interface AddressDaoname - The address name.count - The count.
@Transactional(readOnly=true) public Address get(String name)
AddressDao
get in interface AddressDaoname - The Address name.
@Transactional(readOnly=true)
public List<Address> listAddresses(List<String> names,
EntityStatus status)
AddressDao
listAddresses in interface AddressDaonames - The Address names.status - The Address status.
@Transactional(readOnly=true)
public List<Address> getByDomain(Domain domain,
EntityStatus status)
AddressDao
getByDomain in interface AddressDaodomain - The Domain name.status - The Address status.
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager - The value of entityManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||