|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CurnitService
A service for working with Curnits.
| Method Summary | |
|---|---|
void |
changeCurnitName(Curnit curnit,
String newName)
Changes the name of the given curnit. |
Curnit |
createCurnit(CurnitParameters curnitParameters)
Registers a new SdsCurnit on the SDS and creates a
Curnit object in the local data store. |
Curnit |
getById(Long curnitId)
Gets a curnit with the given curnitId. |
List<? extends Curnit> |
getCurnitList()
Gets a List of curnits. |
Long |
getLatestId()
Returns the latest Long id of a curnit found in
the data store. |
void |
updateCurnit(Curnit curnit)
Updates the specified curnit |
| Method Detail |
|---|
List<? extends Curnit> getCurnitList()
List of curnits.
List of curnits.Curnit createCurnit(CurnitParameters curnitParameters)
SdsCurnit on the SDS and creates a
Curnit object in the local data store. A side effect is
that the sdsObjectId is set to the value that the SDS assigns to the new
curnit.
curnitParameters - The curnit parameters (name and url)
void updateCurnit(Curnit curnit)
curnit - the Curnit to update
Curnit getById(Long curnitId)
throws ObjectNotFoundException
curnitId - The Id of the curnit
Curnit with the specified curnitId
ObjectNotFoundException - when the specified curnit is
not found
void changeCurnitName(Curnit curnit,
String newName)
curnit - an existing Curnit that should
have its name changednewName - String name of the new curnitLong getLatestId()
Long id of a curnit found in
the data store.
Long
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||