public class ActivityAssembler extends Object implements BOAssembler<ActivityInfo,CluInfo>
Constructor and Description |
---|
ActivityAssembler() |
Modifier and Type | Method and Description |
---|---|
ActivityInfo |
assemble(CluInfo baseDTO,
ActivityInfo businessDTO,
boolean shallowBuild,
ContextInfo contextInfo)
This method assembles the business DTO from its base DTO.
|
BaseDTOAssemblyNode<ActivityInfo,CluInfo> |
disassemble(ActivityInfo businessDTO,
BaseDTOAssemblyNode.NodeOperation operation,
ContextInfo contextInfo)
This method returns a collection of base DTOs and the operations that
need to be performed on them in a given order
|
CluService |
getCluService() |
void |
setCluService(CluService cluService) |
public ActivityAssembler()
public ActivityInfo assemble(CluInfo baseDTO, ActivityInfo businessDTO, boolean shallowBuild, ContextInfo contextInfo) throws AssemblyException
BOAssembler
assemble
in interface BOAssembler<ActivityInfo,CluInfo>
baseDTO
- Base DTO that corresponds to the business DTObusinessDTO
- Reference to Business DTOshallowBuild
- boolean flag to indicate if the assembly should be shallow or deepAssemblyException
public BaseDTOAssemblyNode<ActivityInfo,CluInfo> disassemble(ActivityInfo businessDTO, BaseDTOAssemblyNode.NodeOperation operation, ContextInfo contextInfo) throws AssemblyException
BOAssembler
disassemble
in interface BOAssembler<ActivityInfo,CluInfo>
businessDTO
- Business DTO to be disassembledAssemblyException
public void setCluService(CluService cluService)
public CluService getCluService()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.