RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.manager
Class EventManager

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

@Named
@RequestScoped
public class EventManager
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
EventManager()
           
 
Method Summary
 void addEvent()
           
 void createEvent()
           
 void deleteEvent(Event event)
          Method, that invoked when user click 'Delete event' button.
 void editEvent(Event event, boolean editFromInplace)
          Method, that invoked when user click 'Edit event' button or by inplaceInput component.
 List<Event> getAllEvents()
           
 long getEcId()
           
 Event getEvent()
           
 Event getEventById(long id)
           
 List<EventCategory> getEventCategories()
           
 EventCategory getEventCategoryById(long id)
           
 List<Event> getEventsByCategory(EventCategory ec)
           
 boolean isValidationSuccess()
           
 void setEcId(long ecId)
           
 void setEvent(Event event)
           
 void setValidationSuccess(boolean validationSuccess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventManager

public EventManager()
Method Detail

getEvent

public Event getEvent()

setEvent

public void setEvent(Event event)

createEvent

public void createEvent()

addEvent

public void addEvent()

editEvent

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

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

deleteEvent

public void deleteEvent(Event event)
Method, that invoked when user click 'Delete event' button. Only registered users can delete shelves.

Parameters:
image - - event to delete

isValidationSuccess

public boolean isValidationSuccess()

setValidationSuccess

public void setValidationSuccess(boolean validationSuccess)

getAllEvents

public List<Event> getAllEvents()

getEventCategories

public List<EventCategory> getEventCategories()

getEventById

public Event getEventById(long id)

getEventCategoryById

public EventCategory getEventCategoryById(long id)

getEventsByCategory

public List<Event> getEventsByCategory(EventCategory ec)

getEcId

public long getEcId()

setEcId

public void setEcId(long ecId)

RichFaces Photoalbum 4.3.5.Final

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