org.kuali.student.lum.program.service.impl
Class ProgramRequirementAssembler
java.lang.Object
org.kuali.student.lum.program.service.impl.ProgramRequirementAssembler
- All Implemented Interfaces:
- BOAssembler<ProgramRequirementInfo,CluInfo>
public class ProgramRequirementAssembler
- extends Object
- implements BOAssembler<ProgramRequirementInfo,CluInfo>
- Author:
- glindholm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
static final Logger LOG
statementService
private StatementService statementService
statementTreeViewAssembler
private StatementTreeViewAssembler statementTreeViewAssembler
loService
private LearningObjectiveService loService
luService
private LuService luService
loAssembler
private LoAssembler loAssembler
cluAssemblerUtils
private CluAssemblerUtils cluAssemblerUtils
programAssemblerUtils
private ProgramAssemblerUtils programAssemblerUtils
ProgramRequirementAssembler
public ProgramRequirementAssembler()
assemble
public ProgramRequirementInfo assemble(CluInfo clu,
ProgramRequirementInfo progReqInfo,
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<ProgramRequirementInfo,CluInfo>
- Parameters:
clu
- Base DTO that corresponds to the business DTOprogReqInfo
- Reference to Business DTOshallowBuild
- boolean flag to indicate if the assembly should be shallow or deep
- Returns:
- Assembled business DTO
- Throws:
AssemblyException
disassemble
public BaseDTOAssemblyNode<ProgramRequirementInfo,CluInfo> disassemble(ProgramRequirementInfo progReq,
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<ProgramRequirementInfo,CluInfo>
- Parameters:
progReq
- 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
disassembleLearningObjectives
private void disassembleLearningObjectives(ProgramRequirementInfo progReq,
BaseDTOAssemblyNode.NodeOperation operation,
BaseDTOAssemblyNode<ProgramRequirementInfo,CluInfo> result)
throws AssemblyException
- Throws:
AssemblyException
disassembleCredits
private void disassembleCredits(CluInfo clu,
ProgramRequirementInfo progReq)
assembleCredits
private void assembleCredits(CluInfo clu,
ProgramRequirementInfo progReq)
getStatementTreeViewAssembler
public StatementTreeViewAssembler getStatementTreeViewAssembler()
setStatementTreeViewAssembler
public void setStatementTreeViewAssembler(StatementTreeViewAssembler statementTreeViewAssembler)
getStatementService
public StatementService getStatementService()
setStatementService
public void setStatementService(StatementService statementService)
getLoService
public LearningObjectiveService getLoService()
setLoService
public void setLoService(LearningObjectiveService loService)
getLuService
public LuService getLuService()
setLuService
public void setLuService(LuService luService)
getLoAssembler
public LoAssembler getLoAssembler()
setLoAssembler
public void setLoAssembler(LoAssembler loAssembler)
getCluAssemblerUtils
public CluAssemblerUtils getCluAssemblerUtils()
setCluAssemblerUtils
public void setCluAssemblerUtils(CluAssemblerUtils cluAssemblerUtils)
getProgramAssemblerUtils
public ProgramAssemblerUtils getProgramAssemblerUtils()
setProgramAssemblerUtils
public void setProgramAssemblerUtils(ProgramAssemblerUtils programAssemblerUtils)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.