RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.manager
Class ShelfManager

java.lang.Object
  extended by org.richfaces.photoalbum.manager.ShelfManager
All Implemented Interfaces:
Serializable

@Named
@RequestScoped
public class ShelfManager
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ShelfManager()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShelfManager

public ShelfManager()
Method Detail

getShelf

public Shelf getShelf()

setShelf

public void setShelf(Shelf shelf)

createShelf

public void createShelf()
Method, that invoked when user want to create new shelf. Only registered users can create new shelves.


addShelf

public void addShelf(Shelf shelf)
Method, that invoked on creation of the new shelf. Only registered users can create new shelves.

Parameters:
album - - new album

editShelf

public void editShelf(Shelf shelf,
                      boolean editFromInplace)
Method, that invoked when user click 'Edit shelf' button or by inplaceInput component. Only registered users can edit shelves.

Parameters:
shelf - - shelf to edit
editFromInplace - - indicate whether edit process was initiated by inplaceInput component

deleteShelf

public void deleteShelf(Shelf shelf)
Method, that invoked when user click 'Delete shelf' button. Only registered users can delete shelves.

Parameters:
image - - shelf to delete

getPredefinedShelves

public List<Shelf> getPredefinedShelves()
This method used to populate 'pre-defined shelves' tree

Returns:
List of predefined shelves

isValidationSuccess

public boolean isValidationSuccess()

setValidationSuccess

public void setValidationSuccess(boolean validationSuccess)

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.