Package org.brixcms.jcr.base.event

Examples of org.brixcms.jcr.base.event.AddNodeEvent


    private class WebDavEventListener implements EventsListener {
        public void handleEventsBeforeSave(Session session, Item item, List<Event> events)
                throws RepositoryException {
            for (Event e : events) {
                if (e instanceof AddNodeEvent) {
                    AddNodeEvent event = (AddNodeEvent) e;

                    BrixNode node = wrapNode(event.getNewNode());
                    if (node instanceof ResourceNode) {
                        handleNewNode(node.getPath(), node, brix.wrapSession(session), false);
                    }
                }
            }
View Full Code Here

TOP

Related Classes of org.brixcms.jcr.base.event.AddNodeEvent

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.