@Override public void createEventInstance(final SEventInstance eventInstance) throws SEventInstanceCreationException { try { getRecorder().recordInsert(new InsertRecord(eventInstance), EVENT_INSTANCE); } catch (final SRecorderException e) { throw new SEventInstanceCreationException(e); } if (getLogger().isLoggable(getClass(), TechnicalLogSeverity.DEBUG)) { final StringBuilder stb = new StringBuilder(); stb.append("Created "); stb.append(eventInstance.getType().getValue()); stb.append(" <"); stb.append(eventInstance.getName()); stb.append("> with id = <"); stb.append(eventInstance.getId()); stb.append(">, parent process instance id = <"); stb.append(eventInstance.getParentProcessInstanceId()); stb.append(">, root process instance id = <"); stb.append(eventInstance.getRootProcessInstanceId()); stb.append(">, process definition id = <"); stb.append(eventInstance.getProcessDefinitionId()); stb.append(">"); final String message = stb.toString(); getLogger().log(this.getClass(), TechnicalLogSeverity.DEBUG, message); } }
@Override public void createEventInstance(final SEventInstance eventInstance) throws SEventInstanceCreationException { try { getRecorder().recordInsert(new InsertRecord(eventInstance), EVENT_INSTANCE); } catch (final SRecorderException e) { throw new SEventInstanceCreationException(e); } if (getLogger().isLoggable(getClass(), TechnicalLogSeverity.DEBUG)) { final StringBuilder stb = new StringBuilder(); stb.append("Created "); stb.append(eventInstance.getType().getValue()); stb.append(" <"); stb.append(eventInstance.getName()); stb.append("> with id = <"); stb.append(eventInstance.getId()); stb.append(">, parent process instance id = <"); stb.append(eventInstance.getParentProcessInstanceId()); stb.append(">, root process instance id = <"); stb.append(eventInstance.getRootProcessInstanceId()); stb.append(">, process definition id = <"); stb.append(eventInstance.getProcessDefinitionId()); stb.append(">"); final String message = stb.toString(); getLogger().log(this.getClass(), TechnicalLogSeverity.DEBUG, message); } }
@Override public void createActivityInstance(final SActivityInstance activityInstance) throws SActivityCreationException { try { getRecorder().recordInsert(new InsertRecord(activityInstance), ACTIVITYINSTANCE); } catch (final SRecorderException e) { throw new SActivityCreationException(e); } if (getLogger().isLoggable(getClass(), TechnicalLogSeverity.DEBUG)) { final StringBuilder stb = new StringBuilder(); stb.append("Created "); stb.append(activityInstance.getType().getValue()); stb.append(" <"); stb.append(activityInstance.getName()); stb.append("> with id = <"); stb.append(activityInstance.getId()); if (activityInstance.getParentActivityInstanceId() > 0) { stb.append(">, parent activity instance id = <"); stb.append(activityInstance.getParentActivityInstanceId()); } stb.append(">, parent process instance id = <"); stb.append(activityInstance.getParentProcessInstanceId()); stb.append(">, root process instance id = <"); stb.append(activityInstance.getRootProcessInstanceId()); stb.append(">, process definition id = <"); stb.append(activityInstance.getProcessDefinitionId()); stb.append(">"); getLogger().log(this.getClass(), TechnicalLogSeverity.DEBUG, stb.toString()); } }
@Override public void createActivityInstance(final SActivityInstance activityInstance) throws SActivityCreationException { try { getRecorder().recordInsert(new InsertRecord(activityInstance), ACTIVITYINSTANCE); } catch (final SRecorderException e) { throw new SActivityCreationException(e); } if (getLogger().isLoggable(getClass(), TechnicalLogSeverity.DEBUG)) { final StringBuilder stb = new StringBuilder(); stb.append("Created "); stb.append(activityInstance.getType().getValue()); stb.append(" <"); stb.append(activityInstance.getName()); stb.append("> with id = <"); stb.append(activityInstance.getId()); if (activityInstance.getParentActivityInstanceId() > 0) { stb.append(">, parent activity instance id = <"); stb.append(activityInstance.getParentActivityInstanceId()); } stb.append(">, parent process instance id = <"); stb.append(activityInstance.getParentProcessInstanceId()); stb.append(">, root process instance id = <"); stb.append(activityInstance.getRootProcessInstanceId()); stb.append(">, process definition id = <"); stb.append(activityInstance.getProcessDefinitionId()); stb.append(">"); getLogger().log(this.getClass(), TechnicalLogSeverity.DEBUG, stb.toString()); } }