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
|
void |
resetAlbum(Album album)
Refresh state of given album
|
public void addAlbum(Album album) throws PhotoAlbumException
addAlbum in interface IAlbumActionalbum - - album to addPhotoAlbumExceptionpublic void deleteAlbum(Album album) throws PhotoAlbumException
deleteAlbum in interface IAlbumActionalbum - - album to deletePhotoAlbumExceptionpublic void editAlbum(Album album) throws PhotoAlbumException
editAlbum in interface IAlbumActionalbum - - album to SynchronizePhotoAlbumExceptionpublic void resetAlbum(Album album)
resetAlbum in interface IAlbumActionalbum - - album to SynchronizeCopyright © 2013 JBoss by Red Hat. All Rights Reserved.