org.kuali.student.lum.program.service.impl
Class ProgramRequirementAssembler

java.lang.Object
  extended by 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

Field Summary
private  CluAssemblerUtils cluAssemblerUtils
           
private  LoAssembler loAssembler
           
(package private) static Logger LOG
           
private  LearningObjectiveService loService
           
private  LuService luService
           
private  ProgramAssemblerUtils programAssemblerUtils
           
private  StatementService statementService
           
private  StatementTreeViewAssembler statementTreeViewAssembler
           
 
Constructor Summary
ProgramRequirementAssembler()
           
 
Method Summary
 ProgramRequirementInfo assemble(CluInfo clu, ProgramRequirementInfo progReqInfo, boolean shallowBuild)
          This method assembles the business DTO from its base DTO.
private  void assembleCredits(CluInfo clu, ProgramRequirementInfo progReq)
           
 BaseDTOAssemblyNode<ProgramRequirementInfo,CluInfo> disassemble(ProgramRequirementInfo progReq, 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
private  void disassembleCredits(CluInfo clu, ProgramRequirementInfo progReq)
           
private  void disassembleLearningObjectives(ProgramRequirementInfo progReq, BaseDTOAssemblyNode.NodeOperation operation, BaseDTOAssemblyNode<ProgramRequirementInfo,CluInfo> result)
           
 CluAssemblerUtils getCluAssemblerUtils()
           
 LoAssembler getLoAssembler()
           
 LearningObjectiveService getLoService()
           
 LuService getLuService()
           
 ProgramAssemblerUtils getProgramAssemblerUtils()
           
 StatementService getStatementService()
           
 StatementTreeViewAssembler getStatementTreeViewAssembler()
           
 void setCluAssemblerUtils(CluAssemblerUtils cluAssemblerUtils)
           
 void setLoAssembler(LoAssembler loAssembler)
           
 void setLoService(LearningObjectiveService loService)
           
 void setLuService(LuService luService)
           
 void setProgramAssemblerUtils(ProgramAssemblerUtils programAssemblerUtils)
           
 void setStatementService(StatementService statementService)
           
 void setStatementTreeViewAssembler(StatementTreeViewAssembler statementTreeViewAssembler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ProgramRequirementAssembler

public ProgramRequirementAssembler()
Method Detail

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 DTO
progReqInfo - 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<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.