Examples of RepositoryEvent


Examples of org.apache.lenya.cms.observation.RepositoryEvent

            throw new RepositoryException(e);
        }
    }

    protected void enqueueEvent(Object descriptor) {
        RepositoryEvent event = RepositoryEventFactory.createEvent(this.manager, this, getLogger(),
                descriptor);
        getSession().enqueueEvent(event);
    }
View Full Code Here

Examples of org.apache.lenya.cms.observation.RepositoryEvent

            String[] params = { reason, url };
            Message message = new Message(MESSAGE_SUBJECT, new String[0],
                    MESSAGE_DOCUMENT_REJECTED, params, sender, recipients);

            NotificationEventDescriptor descriptor = new NotificationEventDescriptor(message);
            RepositoryEvent event = RepositoryEventFactory.createEvent(this.manager, getSession(),
                    getLogger(), descriptor);
            getSession().enqueueEvent(event);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.