public class CourseAssembler extends Object implements BOAssembler<CourseInfo,CluInfo>
Constructor and Description |
---|
CourseAssembler() |
Modifier and Type | Method and Description |
---|---|
CourseInfo |
assemble(CluInfo clu,
CourseInfo courseInfo,
boolean shallowBuild,
ContextInfo contextInfo)
This method assembles the business DTO from its base DTO.
|
BaseDTOAssemblyNode<CourseInfo,CluInfo> |
disassemble(CourseInfo course,
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 |
setAtpService(AtpService atpService) |
void |
setCluAssemblerUtils(CluAssemblerUtils cluAssemblerUtils) |
void |
setCluService(CluService cluService) |
void |
setCourseJointAssembler(CourseJointAssembler courseJointAssembler) |
void |
setDefaultCreditIncrement(float defaultCreditIncrement) |
void |
setFormatAssembler(FormatAssembler formatAssembler) |
void |
setLoAssembler(LoAssembler loAssembler) |
void |
setLoService(LearningObjectiveService loService) |
void |
setLrcService(LRCService lrcService) |
public CourseAssembler()
public CourseInfo assemble(CluInfo clu, CourseInfo courseInfo, boolean shallowBuild, ContextInfo contextInfo) throws AssemblyException
BOAssembler
assemble
in interface BOAssembler<CourseInfo,CluInfo>
clu
- Base DTO that corresponds to the business DTOcourseInfo
- Reference to Business DTOshallowBuild
- boolean flag to indicate if the assembly should be shallow or deepAssemblyException
public BaseDTOAssemblyNode<CourseInfo,CluInfo> disassemble(CourseInfo course, BaseDTOAssemblyNode.NodeOperation operation, ContextInfo contextInfo) throws AssemblyException, PermissionDeniedException
BOAssembler
disassemble
in interface BOAssembler<CourseInfo,CluInfo>
course
- Business DTO to be disassembledAssemblyException
PermissionDeniedException
public void setCluService(CluService cluService)
public void setFormatAssembler(FormatAssembler formatAssembler)
public void setCourseJointAssembler(CourseJointAssembler courseJointAssembler)
public void setLoAssembler(LoAssembler loAssembler)
public void setLoService(LearningObjectiveService loService)
public void setCluAssemblerUtils(CluAssemblerUtils cluAssemblerUtils)
public void setLrcService(LRCService lrcService)
public void setAtpService(AtpService atpService)
public void setDefaultCreditIncrement(float defaultCreditIncrement)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.