public interface BOAssembler<E,T>
Modifier and Type | Method and Description |
---|---|
E |
assemble(T baseDTO,
E businessDTO,
boolean shallowBuild,
ContextInfo contextInfo)
This method assembles the business DTO from its base DTO.
|
BaseDTOAssemblyNode<E,T> |
disassemble(E 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
|
E assemble(T baseDTO, E businessDTO, boolean shallowBuild, ContextInfo contextInfo) throws AssemblyException, PermissionDeniedException
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
PermissionDeniedException
BaseDTOAssemblyNode<E,T> disassemble(E businessDTO, BaseDTOAssemblyNode.NodeOperation operation, ContextInfo contextInfo) throws AssemblyException, PermissionDeniedException, InvalidParameterException, MissingParameterException, DoesNotExistException, OperationFailedException
businessDTO
- Business DTO to be disassembledisCreate
- Is the disassembly done for createAssemblyException
PermissionDeniedException
InvalidParameterException
MissingParameterException
DoesNotExistException
OperationFailedException
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.