|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.store.dao.impl.AnchorDaoImpl
@Repository public class AnchorDaoImpl
Implementing class for Anchor DAO methods.
| Constructor Summary | |
|---|---|
AnchorDaoImpl()
|
|
| Method Summary | |
|---|---|
void |
add(Anchor anchor)
Add an anchor |
void |
delete(List<Long> idList)
Delete a collection of Anchors. |
void |
delete(String owner)
Delete a collection of Anchors. |
List<Anchor> |
list(List<String> owners)
Get a collection of Anchors. |
List<Anchor> |
listAll()
Get a collection of all Anchors. |
List<Anchor> |
listByIds(List<Long> anchorIds)
Get a list by anchor ids |
Anchor |
load(String owner)
Load an Anchor. |
void |
save(Anchor anchor)
Save an Anchor. |
void |
save(List<Anchor> anchorList)
Save a collection of Anchors. |
void |
setStatus(List<Long> anchorIDs,
EntityStatus status)
Set the status for a collection of Anchors. |
void |
setStatus(String owner,
EntityStatus status)
Set the status of an Anchor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnchorDaoImpl()
| Method Detail |
|---|
@Transactional(readOnly=true) public Anchor load(String owner)
AnchorDao
load in interface AnchorDaoowner - The Anchor owner.
@Transactional(readOnly=true) public List<Anchor> listAll()
AnchorDao
listAll in interface AnchorDao@Transactional(readOnly=true) public List<Anchor> list(List<String> owners)
AnchorDao
list in interface AnchorDaoowners - A collection of owners.
@Transactional(readOnly=false) public void add(Anchor anchor)
add in interface AnchorDaoanchor - The anchor to add.@Transactional(readOnly=false) public void save(Anchor anchor)
AnchorDao
save in interface AnchorDaoanchor - The Anchor.@Transactional(readOnly=false) public void save(List<Anchor> anchorList)
AnchorDao
save in interface AnchorDaoanchorList - The collection of Anchors.@Transactional(readOnly=true) public List<Anchor> listByIds(List<Long> anchorIds)
AnchorDao
listByIds in interface AnchorDaoanchorIds - List of ids to retrieved anchors for.
@Transactional(readOnly=false)
public void setStatus(List<Long> anchorIDs,
EntityStatus status)
AnchorDao
setStatus in interface AnchorDaoanchorIDs - The Anchor IDs.status - The Anchor status.
@Transactional(readOnly=false)
public void setStatus(String owner,
EntityStatus status)
AnchorDao
setStatus in interface AnchorDaoowner - The Anchor owner.status - The Anchor status.@Transactional(readOnly=false) public void delete(List<Long> idList)
AnchorDao
delete in interface AnchorDaoidList - The collection of Anchor IDs.@Transactional(readOnly=false) public void delete(String owner)
AnchorDao
delete in interface AnchorDaoowner - The Anchor owner.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||