org.kuali.student.r2.lum.program.service.assembler
Class MajorDisciplineAssembler
java.lang.Object
org.kuali.student.r2.lum.program.service.assembler.MajorDisciplineAssembler
- All Implemented Interfaces:
- BOAssembler<MajorDisciplineInfo,CluInfo>
public class MajorDisciplineAssembler
- extends Object
- implements BOAssembler<MajorDisciplineInfo,CluInfo>
- Author:
- KS TODO - Much of this should be shared with ProgramVariationAssembler (and probably other Program Assemblers to come). AssemblerUtils?
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MajorDisciplineAssembler
public MajorDisciplineAssembler()
assemble
public MajorDisciplineInfo assemble(CluInfo baseDTO,
MajorDisciplineInfo businessDTO,
boolean shallowBuild,
ContextInfo contextInfo)
throws AssemblyException,
PermissionDeniedException
- Description copied from interface:
BOAssembler
- This method assembles the business DTO from its base DTO.
- Specified by:
assemble
in interface BOAssembler<MajorDisciplineInfo,CluInfo>
- Parameters:
baseDTO
- Base DTO that corresponds to the business DTObusinessDTO
- Reference to Business DTOshallowBuild
- boolean flag to indicate if the assembly should be shallow or deep
- Returns:
- Assembled business DTO
- Throws:
AssemblyException
PermissionDeniedException
disassemble
public BaseDTOAssemblyNode<MajorDisciplineInfo,CluInfo> disassemble(MajorDisciplineInfo businessDTO,
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<MajorDisciplineInfo,CluInfo>
- Parameters:
businessDTO
- 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
setCluService
public void setCluService(CluService cluService)
setProgramVariationAssembler
public void setProgramVariationAssembler(ProgramVariationAssembler programVariationAssembler)
getProgramVariationAssembler
public ProgramVariationAssembler getProgramVariationAssembler()
setCoreProgramAssembler
public void setCoreProgramAssembler(CoreProgramAssembler coreProgramAssembler)
setCluAssemblerUtils
public void setCluAssemblerUtils(CluAssemblerUtils cluAssemblerUtils)
setProgramAssemblerUtils
public void setProgramAssemblerUtils(ProgramAssemblerUtils programAssemblerUtils)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.