use of org.jaffa.modules.scheduler.components.taskmaintenance.dto.TaskMaintenanceOutDto in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceTx method buildRetrieveOutDto.
private TaskMaintenanceOutDto buildRetrieveOutDto(ScheduledTask task) throws ApplicationExceptions, FrameworkException {
TaskMaintenanceOutDto output = new TaskMaintenanceOutDto();
output.setTaskMaintenanceDto(new TaskMaintenanceDto(task));
output.setBusinessEventLog(buildBusinessEventLogDto(task));
return output;
}
use of org.jaffa.modules.scheduler.components.taskmaintenance.dto.TaskMaintenanceOutDto in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceComponent method doCreate.
/**
* This will invoke the create method on the transaction to create a new domain object.
* @throws ApplicationExceptions Indicates some functional error.
* @throws FrameworkException Indicates some system error.
*/
protected void doCreate() throws ApplicationExceptions, FrameworkException {
TaskMaintenanceOutDto dto = createTx().create(m_taskMaintenanceDto);
loadRetrieveOutDto(dto);
}
use of org.jaffa.modules.scheduler.components.taskmaintenance.dto.TaskMaintenanceOutDto in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceComponent method clearEventLogs.
/**
* Removes all event logs that resulted from the execution of the scheduler.
* @throws FrameworkException in case any internal error occurs.
* @throws ApplicationExceptions Indicates application error(s).
*/
public void clearEventLogs() throws FrameworkException, ApplicationExceptions {
TaskMaintenanceOutDto dto = createTx().clearEventLogs(m_taskMaintenanceDto);
loadRetrieveOutDto(dto);
invokeUpdateListeners();
}
use of org.jaffa.modules.scheduler.components.taskmaintenance.dto.TaskMaintenanceOutDto in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceComponent method doUpdate.
/**
* This will invoke the update method on the transaction to update an existing domain object.
* @param performDirtyReadCheck this is not implemented.
* @throws ApplicationExceptions Indicates some functional error.
* @throws FrameworkException Indicates some system error.
*/
protected void doUpdate(boolean performDirtyReadCheck) throws ApplicationExceptions, FrameworkException {
TaskMaintenanceOutDto dto = createTx().update(m_taskMaintenanceDto);
loadRetrieveOutDto(dto);
}
use of org.jaffa.modules.scheduler.components.taskmaintenance.dto.TaskMaintenanceOutDto in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceComponent method doRetrieve.
/**
* This will invoke the retrieve method on the transaction to retrieve an existing domain object.
* @throws ApplicationExceptions Indicates some functional error.
* @throws FrameworkException Indicates some system error.
*/
protected void doRetrieve() throws ApplicationExceptions, FrameworkException {
TaskMaintenanceOutDto dto = createTx().retrieve(m_taskMaintenanceDto);
loadRetrieveOutDto(dto);
}
Aggregations