|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnchorDao
Anchor data access methods.
| 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. |
| Method Detail |
|---|
Anchor load(String owner)
owner - The Anchor owner.
List<Anchor> listAll()
List<Anchor> list(List<String> owners)
owners - A collection of owners.
void add(Anchor anchor)
anchor - The anchor to add.void save(Anchor anchor)
anchor - The Anchor.void save(List<Anchor> anchorList)
anchorList - The collection of Anchors.List<Anchor> listByIds(List<Long> anchorIds)
anchorIds - List of ids to retrieved anchors for.
void setStatus(List<Long> anchorIDs,
EntityStatus status)
anchorIDs - The Anchor IDs.status - The Anchor status.
void setStatus(String owner,
EntityStatus status)
owner - The Anchor owner.status - The Anchor status.void delete(List<Long> idList)
idList - The collection of Anchor IDs.void delete(String owner)
owner - The Anchor owner.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||