public class ShelfAction extends Object implements IShelfAction
Constructor and Description |
---|
ShelfAction() |
Modifier and Type | Method and Description |
---|---|
void |
addShelf(Shelf shelf)
Persist shelf entity to database
|
void |
deleteShelf(Shelf shelf)
Remove shelf entity from database
|
void |
editShelf(Shelf shelf)
Synchronize state of shelf entity with database
|
List<Shelf> |
getPredefinedShelves()
Return list of shared shelves(pre-defined)
|
void |
resetShelf(Shelf shelf)
Refresh state of given shelf
|
public void addShelf(Shelf shelf) throws PhotoAlbumException
addShelf
in interface IShelfAction
shelf
- - shelf to addPhotoAlbumException
public void deleteShelf(Shelf shelf) throws PhotoAlbumException
deleteShelf
in interface IShelfAction
shelf
- - shelf to deletePhotoAlbumException
public void editShelf(Shelf shelf) throws PhotoAlbumException
editShelf
in interface IShelfAction
shelf
- - shelf to SynchronizePhotoAlbumException
public List<Shelf> getPredefinedShelves()
getPredefinedShelves
in interface IShelfAction
shelf
- - shelf to Synchronizepublic void resetShelf(Shelf shelf)
resetShelf
in interface IShelfAction
shelf
- - shelf to SynchronizeCopyright © 2015. All rights reserved.