Package org.richfaces.photoalbum.model.event

Examples of org.richfaces.photoalbum.model.event.ShelfEvent


        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.EVENT_SAVING_ERROR + " <br /> " + e.getMessage()));
            logger.log(Level.SEVERE, "exception occured", e);
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.EVENT_ADDED_EVENT)).fire(new ShelfEvent(newEvent));
    }
View Full Code Here


        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.EVENT_SAVING_ERROR + " <br /> " + e.getMessage()));
            eventAction.resetEvent(event);
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.EVENT_EDITED_EVENT)).fire(new ShelfEvent(event));
    }
View Full Code Here

            eventAction.deleteEvent(event);
        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.EVENT_DELETING_ERROR + " <br /> " + e.getMessage()));
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.EVENT_DELETED_EVENT)).fire(new ShelfEvent(event));
    }
View Full Code Here

            shelfAction.addShelf(shelf);
        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.SHELF_SAVING_ERROR + " <br/>" + e.getMessage()));
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.SHELF_ADDED_EVENT)).fire(new ShelfEvent(shelf));
    }
View Full Code Here

        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.SHELF_SAVING_ERROR + " <br/>" + e.getMessage()));
            shelfAction.resetShelf(shelf);
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.SHELF_EDITED_EVENT)).fire(new ShelfEvent(shelf));
    }
View Full Code Here

            shelfAction.deleteShelf(shelf);
        } catch (Exception e) {
            error.fire(new ErrorEvent("Error", Constants.SHELF_DELETING_ERROR + " <br/>" + e.getMessage()));
            return;
        }
        shelfEvent.select(new EventTypeQualifier(Events.SHELF_DELETED_EVENT)).fire(new ShelfEvent(shelf, pathToDelete));
    }
View Full Code Here

        UIComponent component = root.findComponent("overForm");
        FacesContext.getCurrentInstance().addMessage(component.getClientId(FacesContext.getCurrentInstance()),
            new FacesMessage(FacesMessage.SEVERITY_INFO, "Success!", "Album has been successfully imported"));

        // reset the view
        shelfEvent.fire(new ShelfEvent(event));
    }
View Full Code Here

TOP

Related Classes of org.richfaces.photoalbum.model.event.ShelfEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.