public class AlbumAction extends Object implements IAlbumAction
Constructor and Description |
---|
AlbumAction() |
Modifier and Type | Method and Description |
---|---|
void |
addAlbum(Album album)
Persist album entity to database
|
void |
deleteAlbum(Album album)
Remove album entity from database
|
void |
editAlbum(Album album)
Synchronize state of album entity with database
|
Album |
resetAlbum(Album album)
Refresh state of given album
|
public void addAlbum(Album album) throws PhotoAlbumException
addAlbum
in interface IAlbumAction
album
- - album to addPhotoAlbumException
public void deleteAlbum(Album album) throws PhotoAlbumException
deleteAlbum
in interface IAlbumAction
album
- - album to deletePhotoAlbumException
public void editAlbum(Album album) throws PhotoAlbumException
editAlbum
in interface IAlbumAction
album
- - album to SynchronizePhotoAlbumException
public Album resetAlbum(Album album)
resetAlbum
in interface IAlbumAction
album
- - album to SynchronizeCopyright © 2014. All Rights Reserved.