org.kuali.student.lum.course.service.assembler
Class CourseJointAssembler

java.lang.Object
  extended by org.kuali.student.lum.course.service.assembler.CourseJointAssembler
All Implemented Interfaces:
BOAssembler<CourseJointInfo,CluCluRelationInfo>

public class CourseJointAssembler
extends Object
implements BOAssembler<CourseJointInfo,CluCluRelationInfo>

Assembles/Disassembles CourseJointInfo DTO from/to CluCluRelationInfo

Author:
Kuali Student Team

Field Summary
(package private)  LuService luService
           
 
Constructor Summary
CourseJointAssembler()
           
 
Method Summary
 CourseJointInfo assemble(CluCluRelationInfo cluRel, CourseJointInfo jointInfo, boolean shallowBuild)
          This method assembles the business DTO from its base DTO.
 BaseDTOAssemblyNode<CourseJointInfo,CluCluRelationInfo> disassemble(CourseJointInfo joint, BaseDTOAssemblyNode.NodeOperation operation)
          This method returns a collection of base DTOs and the operations that need to be performed on them in a given order
 LuService getLuService()
           
 void setLuService(LuService luService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

luService

LuService luService
Constructor Detail

CourseJointAssembler

public CourseJointAssembler()
Method Detail

getLuService

public LuService getLuService()
Returns:
the luService

setLuService

public void setLuService(LuService luService)
Parameters:
luService - the luService to set

assemble

public CourseJointInfo assemble(CluCluRelationInfo cluRel,
                                CourseJointInfo jointInfo,
                                boolean shallowBuild)
                         throws AssemblyException
Description copied from interface: BOAssembler
This method assembles the business DTO from its base DTO.

Specified by:
assemble in interface BOAssembler<CourseJointInfo,CluCluRelationInfo>
Parameters:
cluRel - Base DTO that corresponds to the business DTO
jointInfo - 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<CourseJointInfo,CluCluRelationInfo> disassemble(CourseJointInfo joint,
                                                                           BaseDTOAssemblyNode.NodeOperation operation)
                                                                    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<CourseJointInfo,CluCluRelationInfo>
Parameters:
joint - 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


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.