@Named @RequestScoped public class ShelfManager extends Object implements Serializable
| Constructor and Description |
|---|
ShelfManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addShelf(Shelf shelf)
Method, that invoked on creation of the new shelf.
|
void |
createShelf()
Method, that invoked when user want to create new shelf.
|
void |
deleteShelf(Shelf shelf)
Method, that invoked when user click 'Delete shelf' button.
|
void |
editShelf(Shelf shelf,
boolean editFromInplace)
Method, that invoked when user click 'Edit shelf' button or by inplaceInput component.
|
List<Shelf> |
getPredefinedShelves()
This method used to populate 'pre-defined shelves' tree
|
Shelf |
getShelf() |
boolean |
isValidationSuccess() |
void |
setShelf(Shelf shelf) |
void |
setValidationSuccess(boolean validationSuccess) |
public Shelf getShelf()
public void setShelf(Shelf shelf)
public void createShelf()
public void addShelf(Shelf shelf)
album - - new albumpublic void editShelf(Shelf shelf, boolean editFromInplace)
shelf - - shelf to editeditFromInplace - - indicate whether edit process was initiated by inplaceInput componentpublic void deleteShelf(Shelf shelf)
image - - shelf to deletepublic List<Shelf> getPredefinedShelves()
public boolean isValidationSuccess()
public void setValidationSuccess(boolean validationSuccess)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.