org.kuali.student.r2.lum.course.service.assembler
Class LoAssembler

java.lang.Object
  extended by org.kuali.student.r2.lum.course.service.assembler.LoAssembler
All Implemented Interfaces:
BOAssembler<LoDisplayInfo,LoInfo>

public class LoAssembler
extends Object
implements BOAssembler<LoDisplayInfo,LoInfo>


Nested Class Summary
static class LoAssembler.LoDisplayComparator
           
 
Constructor Summary
LoAssembler()
           
 
Method Summary
 LoDisplayInfo assemble(LoInfo lo, LoDisplayInfo loDisplayInfo, boolean shallowBuild, ContextInfo contextInfo)
          This method assembles the business DTO from its base DTO.
 BaseDTOAssemblyNode<LoDisplayInfo,LoInfo> disassemble(LoDisplayInfo loDisplay, 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
 void setLoService(LearningObjectiveService loService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoAssembler

public LoAssembler()
Method Detail

assemble

public LoDisplayInfo assemble(LoInfo lo,
                              LoDisplayInfo loDisplayInfo,
                              boolean shallowBuild,
                              ContextInfo contextInfo)
                       throws AssemblyException
Description copied from interface: BOAssembler
This method assembles the business DTO from its base DTO.

Specified by:
assemble in interface BOAssembler<LoDisplayInfo,LoInfo>
Parameters:
lo - Base DTO that corresponds to the business DTO
loDisplayInfo - Reference to Business DTO
shallowBuild - boolean flag to indicate if the assembly should be shallow or deep
Returns:
Assembled business DTO
Throws:
AssemblyException

disassemble

public BaseDTOAssemblyNode<LoDisplayInfo,LoInfo> disassemble(LoDisplayInfo loDisplay,
                                                             BaseDTOAssemblyNode.NodeOperation operation,
                                                             ContextInfo contextInfo)
                                                      throws AssemblyException
Description copied from interface: BOAssembler
This method returns a collection of base DTOs and the operations that need to be performed on them in a given order

Specified by:
disassemble in interface BOAssembler<LoDisplayInfo,LoInfo>
Parameters:
loDisplay - Business DTO to be disassembled
Returns:
A sorted map of BaseDTOAssemblyNodes to be processed in the given order. The key (Integer) is the sequence in which the nodes have to be processed
Throws:
AssemblyException

setLoService

public void setLoService(LearningObjectiveService loService)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.