Package ch.tocco.nice2.outputcenter.impl
Class OutputCenterServiceImpl
java.lang.Object
ch.tocco.nice2.outputcenter.impl.OutputCenterServiceImpl
- All Implemented Interfaces:
OutputCenterService
-
Constructor Summary
ConstructorDescriptionOutputCenterServiceImpl
(OutputJobDao outputJobDao, CommandExecutor executor, DocumentDao documentDao) -
Method Summary
Modifier and TypeMethodDescriptiongetOutputJob
(Entity entity) Wrap an Output_job entity in anOutputJob
object.save
(OutputJobBuilder builder) Persist a prepared OutputJob.saveAndGetOutputJob
(OutputJobBuilder builder) usesOutputCenterService.save(OutputJobBuilder)
andOutputCenterService.getOutputJob(Entity)
to persist a OutputJob.
-
Constructor Details
-
OutputCenterServiceImpl
public OutputCenterServiceImpl(OutputJobDao outputJobDao, CommandExecutor executor, DocumentDao documentDao)
-
-
Method Details
-
save
Description copied from interface:OutputCenterService
Persist a prepared OutputJob. UseOutputJobBuilder
andOutputJobItemBuilder
to set up a new OutputJob.- Specified by:
save
in interfaceOutputCenterService
- Returns:
- persisted
OutputJob
- See Also:
-
saveAndGetOutputJob
Description copied from interface:OutputCenterService
usesOutputCenterService.save(OutputJobBuilder)
andOutputCenterService.getOutputJob(Entity)
to persist a OutputJob.- Specified by:
saveAndGetOutputJob
in interfaceOutputCenterService
- Returns:
- persisted
OutputJob
- See Also:
-
getOutputJob
Description copied from interface:OutputCenterService
Wrap an Output_job entity in anOutputJob
object.- Specified by:
getOutputJob
in interfaceOutputCenterService
- Parameters:
entity
- an Output_job entity
-
createMergedOutputJob
- Specified by:
createMergedOutputJob
in interfaceOutputCenterService
-