@Override public void remove(SBARResourceLight resource) throws SRecorderException { recorder.recordDelete(new DeleteRecord(resource), BAR_RESOURCE); }
@Override public void recordDelete(final DeleteRecord record, String type) throws SRecorderException { try { persistenceService.delete(record.getEntity()); eventService.fireEvent(createDeleteEvent(record.getEntity(), type)); } catch (final Exception e) { logExceptionsFromHandlers(e); throw new SRecorderException(e); } }
@Override public void remove(STenantResourceLight resource) throws SRecorderException { recorder.recordDelete(new DeleteRecord(resource), TENANT_RESOURCE); }
@Override public void recordDelete(final DeleteRecord record, String type) throws SRecorderException { try { persistenceService.delete(record.getEntity()); eventService.fireEvent(createDeleteEvent(record.getEntity(), type)); } catch (final Exception e) { logExceptionsFromHandlers(e); throw new SRecorderException(e); } }
@Override public void remove(SBARResourceLight resource) throws SRecorderException { recorder.recordDelete(new DeleteRecord(resource), BAR_RESOURCE); }
@Override public void recordDelete(final DeleteRecord record) throws SRecorderException { String methodName = "recordDelete"; try { logBeforeMethod(TechnicalLogSeverity.TRACE, methodName); definitiveArchivePersistenceService.delete(record.getEntity()); logAfterMethod(TechnicalLogSeverity.TRACE, methodName); } catch (final SPersistenceException e) { logOnExceptionMethod(TechnicalLogSeverity.TRACE, methodName, e); throw new SRecorderException(e); } }
@Override public void remove(STenantResourceLight resource) throws SRecorderException { recorder.recordDelete(new DeleteRecord(resource), TENANT_RESOURCE); }
@Override public void recordDelete(final DeleteRecord record) throws SRecorderException { String methodName = "recordDelete"; try { logBeforeMethod(TechnicalLogSeverity.TRACE, methodName); definitiveArchivePersistenceService.delete(record.getEntity()); logAfterMethod(TechnicalLogSeverity.TRACE, methodName); } catch (final SPersistenceException e) { logOnExceptionMethod(TechnicalLogSeverity.TRACE, methodName, e); throw new SRecorderException(e); } }
private void delete(PersistentObject object, String eventType) throws SRecorderException { recorder.recordDelete(new DeleteRecord(object), eventType); }
private void delete(final SLightDocument document) throws SRecorderException { recorder.recordDelete(new DeleteRecord(document), "SDocument"); }
private void delete(final SLightDocument document) throws SRecorderException { recorder.recordDelete(new DeleteRecord(document), "SDocument"); }
private void delete(final SADocumentMapping mappedDocument) throws SRecorderException { recorder.recordDelete(new DeleteRecord(mappedDocument), "SADocumentMapping"); }
private void delete(final SLightDocument document) throws SRecorderException { recorder.recordDelete(new DeleteRecord(document), "SDocument"); }
private void delete(final SADocumentMapping mappedDocument) throws SRecorderException { recorder.recordDelete(new DeleteRecord(mappedDocument), "SADocumentMapping"); }
private void delete(final SLightDocument document) throws SRecorderException { recorder.recordDelete(new DeleteRecord(document), "SDocument"); }
private void delete(final PersistentObject persistentObject, final String eventType) throws SRecorderException { recorder.recordDelete(new DeleteRecord(persistentObject), eventType); }
private void delete(final PersistentObject persistentObject, final String eventType) throws SRecorderException { recorder.recordDelete(new DeleteRecord(persistentObject), eventType); }
private void deleteSADataInstance(final SADataInstance dataInstance) throws SDeleteDataInstanceException { try { recorder.recordDelete(new DeleteRecord(dataInstance), "DATA_INSTANCE"); } catch (final SRecorderException e) { throw new SDeleteDataInstanceException("Impossible to delete data instance", e); } }
private void deleteSADataInstance(final SADataInstance dataInstance) throws SDeleteDataInstanceException { try { recorder.recordDelete(new DeleteRecord(dataInstance), "DATA_INSTANCE"); } catch (final SRecorderException e) { throw new SDeleteDataInstanceException("Impossible to delete data instance", e); } }
@Override public void deleteArchivedProcessInstance(final SAProcessInstance archivedProcessInstance) throws SProcessInstanceModificationException { try { recorder.recordDelete(new DeleteRecord(archivedProcessInstance), PROCESSINSTANCE); } catch (final SRecorderException e) { throw new SProcessInstanceModificationException(e); } }