org.kuali.student.lum.lu.assembly
Class CluSetManagementAssembler
java.lang.Object
org.kuali.student.core.assembly.old.BaseAssembler<Data,Void>
org.kuali.student.lum.lu.assembly.CluSetManagementAssembler
- All Implemented Interfaces:
- Assembler<Data,Void>
@Transactional(rollbackFor=java.lang.Throwable.class)
public class CluSetManagementAssembler
- extends BaseAssembler<Data,Void>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.student.core.assembly.old.Assembler |
validate |
LOG
final Logger LOG
JOINT_RELATION_TYPE
public static final String JOINT_RELATION_TYPE
- See Also:
- Constant Field Values
PROPOSAL_TYPE_CREATE_COURSE
public static final String PROPOSAL_TYPE_CREATE_COURSE
- See Also:
- Constant Field Values
FORMAT_LU_TYPE
public static final String FORMAT_LU_TYPE
- See Also:
- Constant Field Values
FORMAT_RELATION_TYPE
public static final String FORMAT_RELATION_TYPE
- See Also:
- Constant Field Values
ACTIVITY_RELATION_TYPE
public static final String ACTIVITY_RELATION_TYPE
- See Also:
- Constant Field Values
PROPOSAL_REFERENCE_TYPE
public static final String PROPOSAL_REFERENCE_TYPE
- See Also:
- Constant Field Values
CLUSET_DATA_TYPE
public static final String CLUSET_DATA_TYPE
- See Also:
- Constant Field Values
luService
private LuService luService
metadataService
private MetadataServiceImpl metadataService
CluSetManagementAssembler
public CluSetManagementAssembler()
getMetadataService
public MetadataServiceImpl getMetadataService()
setMetadataService
public void setMetadataService(MetadataServiceImpl metadataService)
get
public Data get(String id)
throws AssemblyException
- Throws:
AssemblyException
getCluSetInfo
public CluSetInfo getCluSetInfo(String cluSetId)
throws Exception
- Throws:
Exception
toMetaInfoHelper
public MetaInfoHelper toMetaInfoHelper(MetaInfo metaInfo)
toMetaInfo
public MetaInfo toMetaInfo(MetaInfoHelper metaInfoHelper)
richTextToString
public String richTextToString(RichTextInfo richTextInfo)
save
public SaveResult<Data> save(Data input)
throws AssemblyException
- Throws:
AssemblyException
upWrap
private void upWrap(CluSetInfo cluSetInfo)
throws AssemblyException
- Throws:
AssemblyException
wrap
private void wrap(CluSetInfo cluSetInfo)
throws AssemblyException
- Throws:
AssemblyException
setWrapperCluSetInfoValues
private void setWrapperCluSetInfoValues(CluSetInfo wrapperCluSet,
CluSetInfo cluSetInfo)
saveCluSet
private SaveResult<Data> saveCluSet(Data input)
throws AssemblyException
- Throws:
AssemblyException
getMembershipQuerySearchResult
private List<String> getMembershipQuerySearchResult(MembershipQueryInfo query)
throws MissingParameterException
- Throws:
MissingParameterException
toCluSetHelper
private CluSetHelper toCluSetHelper(CluSetInfo cluSetInfo)
throws Exception
- Throws:
Exception
addToCluIds
private void addToCluIds(Data clusData,
List<String> cluIds)
toCluSetInfo
private CluSetInfo toCluSetInfo(CluSetHelper cluSetHelper)
toMembershipQueryInfo
private MembershipQueryInfo toMembershipQueryInfo(CluSetRangeHelper cluSetRangeHelper)
toRichTextInfo
private RichTextInfo toRichTextInfo(String text)
assemble
public Data assemble(Void input)
throws AssemblyException
- Throws:
AssemblyException
disassemble
public Void disassemble(Data input)
throws AssemblyException
- Throws:
AssemblyException
getLuService
public LuService getLuService()
setLuService
public void setLuService(LuService luService)
getDataType
protected String getDataType()
- Description copied from class:
BaseAssembler
- This method should return the data type of the implementing assembler
- Specified by:
getDataType
in class BaseAssembler<Data,Void>
- Returns:
- the data type, i.e. "CreditCourseProposal" from the CreditCourseProposalAssembler
getDefaultMetadata
public Metadata getDefaultMetadata()
- Specified by:
getDefaultMetadata
in interface Assembler<Data,Void>
- Overrides:
getDefaultMetadata
in class BaseAssembler<Data,Void>
getDocumentPropertyName
protected String getDocumentPropertyName()
- Description copied from class:
BaseAssembler
- This method should return the root document property name
- Specified by:
getDocumentPropertyName
in class BaseAssembler<Data,Void>
- Returns:
- the document property name, i.e. "course" from the CreditCourseProposalAssembler
getDtoName
protected String getDtoName()
- Description copied from class:
BaseAssembler
- This method should return the DTO name of the implementing assembler
- Specified by:
getDtoName
in class BaseAssembler<Data,Void>
- Returns:
- the DTO name, i.e. "kuali.lu.type.CreditCourse" from the CreditCourseProposalAssembler
getQualification
protected AttributeSet getQualification(String idType,
String id)
- Description copied from class:
BaseAssembler
- This method should return the qualification name for the document type
- Specified by:
getQualification
in class BaseAssembler<Data,Void>
- Returns:
- the qualifications in at AttributeSet
Copyright © 2010 The Kuali Foundation. All rights reserved.