/** * @see * com.gridnode.gtas.server.rdm.ejb.actions.AbstractDeleteEntityAction#getEntityList(IDataFilter) * @since GT 2.2 I1 */ protected Collection getEntityList(IDataFilter filter) throws Exception { return ServiceLookupHelper.getAlertManager().getMessageTemplates(filter); }
/** * @see * com.gridnode.gtas.server.rdm.ejb.actions.AbstractDeleteEntityAction#deleteEntity(IEntity,Number) * @since GT 2.2 I1 */ protected void deleteEntity(IEntity entity, Number keyId) throws Exception { ServiceLookupHelper.getAlertManager().deleteMessageTemplate((Long) entity.getFieldValue(keyId)); }