/** * Notify the listeners that an content relation was deleted. * * @param cr content relation * @throws SystemException One of the listeners threw an exception. */ private void fireContentRelationDeleted(final ContentRelationCreate cr) throws SystemException { for (final ResourceListener contentRelationListener : this.contentRelationListeners) { contentRelationListener.resourceDeleted(cr.getObjid()); } }
/** * Notify the listeners that an content relation was created. * * @param cr content relation * @param xmlData complete content relation XML * @throws SystemException One of the listeners threw an exception. */ private void fireContentRelationCreated(final ContentRelationCreate cr, final String xmlData) throws SystemException { for (final ResourceListener contentRelationListener : this.contentRelationListeners) { contentRelationListener.resourceCreated(cr.getObjid(), xmlData); } }