|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.photoalbum.model.actions.EventAction
public class EventAction
| Constructor Summary | |
|---|---|
EventAction()
|
|
| Method Summary | |
|---|---|
void |
addEvent(Event event)
Persist event entity to database |
void |
deleteEvent(Event event)
Remove event entity from database |
void |
editEvent(Event event)
Synchronize state of event entity with database |
List<Event> |
getAllEvents()
|
Event |
getEventById(long id)
|
Event |
getEventByName(String name)
|
List<EventCategory> |
getEventCategories()
|
EventCategory |
getEventCategoryById(long id)
|
List<Event> |
getEventsByCategory(EventCategory ec)
|
void |
resetEvent(Event event)
Refresh state of given event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventAction()
| Method Detail |
|---|
public void addEvent(Event event)
throws PhotoAlbumException
addEvent in interface IEventActionevent - - event to add
PhotoAlbumException
public void deleteEvent(Event event)
throws PhotoAlbumException
deleteEvent in interface IEventActionevent - - event to delete
PhotoAlbumException
public void editEvent(Event event)
throws PhotoAlbumException
editEvent in interface IEventActionevent - - event to Synchronize
PhotoAlbumExceptionpublic void resetEvent(Event event)
resetEvent in interface IEventActionevent - - event to Synchronizepublic List<Event> getAllEvents()
getAllEvents in interface IEventActionpublic List<EventCategory> getEventCategories()
getEventCategories in interface IEventActionpublic Event getEventById(long id)
getEventById in interface IEventActionpublic EventCategory getEventCategoryById(long id)
getEventCategoryById in interface IEventActionpublic Event getEventByName(String name)
getEventByName in interface IEventActionpublic List<Event> getEventsByCategory(EventCategory ec)
getEventsByCategory in interface IEventAction
|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||