org.kuali.student.lum.lu.service.impl
Class LuServiceAssembler

java.lang.Object
  extended by org.kuali.student.common.service.impl.BaseAssembler
      extended by org.kuali.student.lum.lu.service.impl.LuServiceAssembler

public class LuServiceAssembler
extends BaseAssembler


Constructor Summary
LuServiceAssembler()
           
 
Method Summary
static List<CluIdentifier> createAlternateIdentifiers(CluInfo cluInfo, LuDao dao)
           
static CluIdentifier createOfficialIdentifier(CluInfo cluInfo, LuDao dao)
           
static AccreditationInfo toAccreditationInfo(CluAccreditation entity)
           
static List<AccreditationInfo> toAccreditationInfos(List<CluAccreditation> entities)
           
static AdminOrgInfo toAdminOrgInfo(CluAdminOrg entity)
           
private static AffiliatedOrgInfo toAffiliatedOrgInfo(AffiliatedOrg entity)
           
private static List<AffiliatedOrgInfo> toAffiliatedOrgInfos(List<AffiliatedOrg> entities)
           
static List<AffiliatedOrg> toAffiliatedOrgs(boolean isUpdate, List<AffiliatedOrg> orgList, List<AffiliatedOrgInfo> affiliatedOrgInfoList, LuDao dao)
           
static Amount toAmount(AmountInfo amountInfo)
           
static AmountInfo toAmountInfo(Amount entity)
           
static CluAccountingInfo toCluAccountingInfo(CluAccounting entity)
           
static List<AdminOrgInfo> toCluAdminOrgInfos(List<CluAdminOrg> entities)
           
static CluCluRelationInfo toCluCluRelationInfo(CluCluRelation entity)
           
static List<CluCluRelationInfo> toCluCluRelationInfos(List<CluCluRelation> entities)
           
static CluFee toCluFee(Clu clu, boolean isUpdate, CluFeeInfo feeInfo, LuDao dao)
           
static CluFeeInfo toCluFeeInfo(CluFee entity)
           
private static CluFeeRecordInfo toCluFeeRecordInfo(CluFeeRecord entity)
           
private static List<CluFeeRecordInfo> toCluFeeRecordInfos(List<CluFeeRecord> entities)
           
static void toCluFeeRecords(boolean isUpdate, CluFee cluFee, List<CluFeeRecordInfo> cluFeeRecords, LuDao dao)
           
static CluIdentifierInfo toCluIdentifierInfo(CluIdentifier entity)
           
static List<CluIdentifierInfo> toCluIdentifierInfos(List<CluIdentifier> entities)
           
static CluInfo toCluInfo(Clu entity)
           
static List<CluInfo> toCluInfos(List<Clu> entities)
           
static CluInstructorInfo toCluInstructorInfo(CluInstructor entity)
           
static List<CluInstructorInfo> toCluInstructorInfos(List<CluInstructor> entities)
           
static CluLoRelationInfo toCluLoRelationInfo(CluLoRelation entity)
           
static List<CluLoRelationInfo> toCluLoRelationInfos(List<CluLoRelation> entities)
           
static CluLoRelationTypeInfo toCluLoRelationTypeInfo(CluLoRelationType entity)
           
static List<CluLoRelationTypeInfo> toCluLoRelationTypeInfos(List<CluLoRelationType> entities)
           
static CluPublicationInfo toCluPublicationInfo(CluPublication cluPub)
           
static List<CluPublicationInfo> toCluPublicationInfos(List<CluPublication> cluPublications)
           
private static List<FieldInfo> toCluPublicationVariantInfos(List<CluPublicationVariant> variants)
           
static List<CluPublicationVariant> toCluPublicationVariants(List<FieldInfo> variantInfos, CluPublication cluPub, LuDao luDao)
           
static CluResultInfo toCluResultInfo(CluResult entity)
           
static List<CluResultInfo> toCluResultInfos(List<CluResult> entities)
           
static CluResultTypeInfo toCluResultTypeInfo(CluResultType entity)
           
static List<CluResultTypeInfo> toCluResultTypeInfos(List<CluResultType> entities)
           
static CluSet toCluSetEntity(CluSetInfo cluSetInfo, LuDao luDao)
           
static CluSetInfo toCluSetInfo(CluSet entity)
           
static List<CluSetInfo> toCluSetInfos(List<CluSet> entities)
           
static CluSetTypeInfo toCluSetTypeInfo(CluSetType entity)
           
static List<CluSetTypeInfo> toCluSetTypeInfos(List<CluSetType> entities)
           
static DeliveryMethodTypeInfo toDeliveryMethodTypeInfo(DeliveryMethodType entity)
           
static List<DeliveryMethodTypeInfo> toDeliveryMethodTypeInfos(List<DeliveryMethodType> entities)
           
static List<CluFeeAmount> toFeeAmounts(boolean isUpdate, List<CluFeeAmount> caList, List<CurrencyAmountInfo> caInfoList, LuDao dao)
           
private static List<CurrencyAmountInfo> toFeeAmounts(List<CluFeeAmount> cluFees)
           
static InstructionalFormatTypeInfo toInstructionalFormatTypeInfo(InstructionalFormatType entity)
           
static List<InstructionalFormatTypeInfo> toInstructionalFormatTypeInfos(List<InstructionalFormatType> entities)
           
static LuCodeInfo toLuCodeInfo(LuCode entity)
           
static List<LuCodeInfo> toLuCodeInfos(List<LuCode> entities)
           
static LuCodeTypeInfo toLuCodeTypeInfo(LuCodeType entity)
           
static List<LuCodeTypeInfo> toLuCodeTypeInfos(List<LuCodeType> entities)
           
static Lui toLui(boolean isUpdate, LuiInfo luiInfo, LuDao dao)
           
static LuiInfo toLuiInfo(Lui entity)
           
static List<LuiInfo> toLuiInfos(List<Lui> entities)
           
static LuiLuiRelationInfo toLuiLuiRelationInfo(LuiLuiRelation entity)
           
static List<LuiLuiRelationInfo> toLuiLuiRelationInfos(List<LuiLuiRelation> entities)
           
static LuLuRelationTypeInfo toLuLuRelationTypeInfo(LuLuRelationType entity)
           
static List<LuLuRelationTypeInfo> toLuLuRelationTypeInfos(List<LuLuRelationType> entities)
           
static LuPublicationTypeInfo toLuPublicationTypeInfo(LuPublicationType entity)
           
static List<LuPublicationTypeInfo> toLuPublicationTypeInfos(List<LuPublicationType> entities)
           
static LuTypeInfo toLuTypeInfo(LuType entity)
           
static List<LuTypeInfo> toLuTypeInfos(List<LuType> entities)
           
static MembershipQuery toMembershipQueryEntity(MembershipQueryInfo dto)
           
static MembershipQueryInfo toMembershipQueryInfo(MembershipQuery entity)
           
static List<ResultComponentTypeInfo> toResultComponentTypeInfo(List<String> componentIds)
           
static ResultOptionInfo toResultOptionInfo(ResultOption entity)
           
static List<ResultOptionInfo> toResultOptionInfos(List<ResultOption> entities)
           
static ResultUsageTypeInfo toResultUsageTypeInfo(ResultUsageType entity)
           
static List<ResultUsageTypeInfo> toResultUsageTypeInfos(List<ResultUsageType> entities)
           
static SearchParam toSearchParam(SearchParameter entity)
           
static SearchParameter toSearchParameterEntity(SearchParam dto)
           
static TimeAmount toTimeAmount(TimeAmountInfo timeAmountInfo)
           
static TimeAmountInfo toTimeAmountInfo(TimeAmount entity)
           
static void updateAlternateIdentifier(Map<String,CluIdentifier> oldAltIdMap, Clu clu, CluInfo cluInfo, LuDao dao)
           
static void updateOfficialIdentifier(Clu clu, CluInfo cluInfo, LuDao dao)
           
 
Methods inherited from class org.kuali.student.common.service.impl.BaseAssembler
toAttributeMap, toGenericAttributes, toGenericTypeInfo, toGenericTypeInfoList, toGenericTypeKeyList, toMetaInfo, toMetaInfo, toRichText, toRichTextInfo, toVersionInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuServiceAssembler

public LuServiceAssembler()
Method Detail

toCluLoRelationTypeInfos

public static List<CluLoRelationTypeInfo> toCluLoRelationTypeInfos(List<CluLoRelationType> entities)

toCluLoRelationTypeInfo

public static CluLoRelationTypeInfo toCluLoRelationTypeInfo(CluLoRelationType entity)

toCluCluRelationInfos

public static List<CluCluRelationInfo> toCluCluRelationInfos(List<CluCluRelation> entities)

toCluCluRelationInfo

public static CluCluRelationInfo toCluCluRelationInfo(CluCluRelation entity)

toCluLoRelationInfos

public static List<CluLoRelationInfo> toCluLoRelationInfos(List<CluLoRelation> entities)

toCluLoRelationInfo

public static CluLoRelationInfo toCluLoRelationInfo(CluLoRelation entity)

toCluInfos

public static List<CluInfo> toCluInfos(List<Clu> entities)

toCluInfo

public static CluInfo toCluInfo(Clu entity)

toCluSetInfos

public static List<CluSetInfo> toCluSetInfos(List<CluSet> entities)

toCluSetEntity

public static CluSet toCluSetEntity(CluSetInfo cluSetInfo,
                                    LuDao luDao)
                             throws InvalidParameterException,
                                    DoesNotExistException
Throws:
InvalidParameterException
DoesNotExistException

toCluSetInfo

public static CluSetInfo toCluSetInfo(CluSet entity)

toMembershipQueryInfo

public static MembershipQueryInfo toMembershipQueryInfo(MembershipQuery entity)

toSearchParam

public static SearchParam toSearchParam(SearchParameter entity)

toMembershipQueryEntity

public static MembershipQuery toMembershipQueryEntity(MembershipQueryInfo dto)

toSearchParameterEntity

public static SearchParameter toSearchParameterEntity(SearchParam dto)

toResultUsageTypeInfos

public static List<ResultUsageTypeInfo> toResultUsageTypeInfos(List<ResultUsageType> entities)

toResultUsageTypeInfo

public static ResultUsageTypeInfo toResultUsageTypeInfo(ResultUsageType entity)

toDeliveryMethodTypeInfos

public static List<DeliveryMethodTypeInfo> toDeliveryMethodTypeInfos(List<DeliveryMethodType> entities)

toDeliveryMethodTypeInfo

public static DeliveryMethodTypeInfo toDeliveryMethodTypeInfo(DeliveryMethodType entity)

toInstructionalFormatTypeInfos

public static List<InstructionalFormatTypeInfo> toInstructionalFormatTypeInfos(List<InstructionalFormatType> entities)

toInstructionalFormatTypeInfo

public static InstructionalFormatTypeInfo toInstructionalFormatTypeInfo(InstructionalFormatType entity)

toLuCodeTypeInfos

public static List<LuCodeTypeInfo> toLuCodeTypeInfos(List<LuCodeType> entities)

toLuCodeTypeInfo

public static LuCodeTypeInfo toLuCodeTypeInfo(LuCodeType entity)

toCluResultTypeInfos

public static List<CluResultTypeInfo> toCluResultTypeInfos(List<CluResultType> entities)

toCluResultTypeInfo

public static CluResultTypeInfo toCluResultTypeInfo(CluResultType entity)

toCluSetTypeInfo

public static CluSetTypeInfo toCluSetTypeInfo(CluSetType entity)

toCluSetTypeInfos

public static List<CluSetTypeInfo> toCluSetTypeInfos(List<CluSetType> entities)

toCluResultInfo

public static CluResultInfo toCluResultInfo(CluResult entity)

toCluResultInfos

public static List<CluResultInfo> toCluResultInfos(List<CluResult> entities)

toResultOptionInfos

public static List<ResultOptionInfo> toResultOptionInfos(List<ResultOption> entities)

toResultOptionInfo

public static ResultOptionInfo toResultOptionInfo(ResultOption entity)

toLuLuRelationTypeInfos

public static List<LuLuRelationTypeInfo> toLuLuRelationTypeInfos(List<LuLuRelationType> entities)

toLuLuRelationTypeInfo

public static LuLuRelationTypeInfo toLuLuRelationTypeInfo(LuLuRelationType entity)

toLuTypeInfos

public static List<LuTypeInfo> toLuTypeInfos(List<LuType> entities)

toLuTypeInfo

public static LuTypeInfo toLuTypeInfo(LuType entity)

toLuiInfos

public static List<LuiInfo> toLuiInfos(List<Lui> entities)

toLuiInfo

public static LuiInfo toLuiInfo(Lui entity)

toLui

public static Lui toLui(boolean isUpdate,
                        LuiInfo luiInfo,
                        LuDao dao)
                 throws DoesNotExistException,
                        VersionMismatchException,
                        InvalidParameterException
Throws:
DoesNotExistException
VersionMismatchException
InvalidParameterException

toLuiLuiRelationInfos

public static List<LuiLuiRelationInfo> toLuiLuiRelationInfos(List<LuiLuiRelation> entities)

toLuiLuiRelationInfo

public static LuiLuiRelationInfo toLuiLuiRelationInfo(LuiLuiRelation entity)

toCluIdentifierInfos

public static List<CluIdentifierInfo> toCluIdentifierInfos(List<CluIdentifier> entities)

toCluIdentifierInfo

public static CluIdentifierInfo toCluIdentifierInfo(CluIdentifier entity)

toCluInstructorInfos

public static List<CluInstructorInfo> toCluInstructorInfos(List<CluInstructor> entities)

toCluInstructorInfo

public static CluInstructorInfo toCluInstructorInfo(CluInstructor entity)

toAmountInfo

public static AmountInfo toAmountInfo(Amount entity)

toTimeAmountInfo

public static TimeAmountInfo toTimeAmountInfo(TimeAmount entity)

toLuCodeInfos

public static List<LuCodeInfo> toLuCodeInfos(List<LuCode> entities)

toLuCodeInfo

public static LuCodeInfo toLuCodeInfo(LuCode entity)

toResultComponentTypeInfo

public static List<ResultComponentTypeInfo> toResultComponentTypeInfo(List<String> componentIds)

toCluFeeInfo

public static CluFeeInfo toCluFeeInfo(CluFee entity)

toCluFeeRecordInfos

private static List<CluFeeRecordInfo> toCluFeeRecordInfos(List<CluFeeRecord> entities)

toCluFeeRecordInfo

private static CluFeeRecordInfo toCluFeeRecordInfo(CluFeeRecord entity)

toFeeAmounts

private static List<CurrencyAmountInfo> toFeeAmounts(List<CluFeeAmount> cluFees)

toAffiliatedOrgInfos

private static List<AffiliatedOrgInfo> toAffiliatedOrgInfos(List<AffiliatedOrg> entities)

toAffiliatedOrgInfo

private static AffiliatedOrgInfo toAffiliatedOrgInfo(AffiliatedOrg entity)

toCluAccountingInfo

public static CluAccountingInfo toCluAccountingInfo(CluAccounting entity)

toAmount

public static Amount toAmount(AmountInfo amountInfo)

toTimeAmount

public static TimeAmount toTimeAmount(TimeAmountInfo timeAmountInfo)

toAccreditationInfos

public static List<AccreditationInfo> toAccreditationInfos(List<CluAccreditation> entities)

toAccreditationInfo

public static AccreditationInfo toAccreditationInfo(CluAccreditation entity)

toCluAdminOrgInfos

public static List<AdminOrgInfo> toCluAdminOrgInfos(List<CluAdminOrg> entities)

toAdminOrgInfo

public static AdminOrgInfo toAdminOrgInfo(CluAdminOrg entity)

toLuPublicationTypeInfos

public static List<LuPublicationTypeInfo> toLuPublicationTypeInfos(List<LuPublicationType> entities)

toLuPublicationTypeInfo

public static LuPublicationTypeInfo toLuPublicationTypeInfo(LuPublicationType entity)

toCluFee

public static CluFee toCluFee(Clu clu,
                              boolean isUpdate,
                              CluFeeInfo feeInfo,
                              LuDao dao)
                       throws DoesNotExistException,
                              VersionMismatchException,
                              InvalidParameterException
Throws:
DoesNotExistException
VersionMismatchException
InvalidParameterException

toCluFeeRecords

public static void toCluFeeRecords(boolean isUpdate,
                                   CluFee cluFee,
                                   List<CluFeeRecordInfo> cluFeeRecords,
                                   LuDao dao)
                            throws InvalidParameterException
Throws:
InvalidParameterException

toAffiliatedOrgs

public static List<AffiliatedOrg> toAffiliatedOrgs(boolean isUpdate,
                                                   List<AffiliatedOrg> orgList,
                                                   List<AffiliatedOrgInfo> affiliatedOrgInfoList,
                                                   LuDao dao)

toFeeAmounts

public static List<CluFeeAmount> toFeeAmounts(boolean isUpdate,
                                              List<CluFeeAmount> caList,
                                              List<CurrencyAmountInfo> caInfoList,
                                              LuDao dao)

createOfficialIdentifier

public static CluIdentifier createOfficialIdentifier(CluInfo cluInfo,
                                                     LuDao dao)
                                              throws InvalidParameterException
Throws:
InvalidParameterException

updateOfficialIdentifier

public static void updateOfficialIdentifier(Clu clu,
                                            CluInfo cluInfo,
                                            LuDao dao)
                                     throws InvalidParameterException
Throws:
InvalidParameterException

createAlternateIdentifiers

public static List<CluIdentifier> createAlternateIdentifiers(CluInfo cluInfo,
                                                             LuDao dao)
                                                      throws InvalidParameterException
Throws:
InvalidParameterException

updateAlternateIdentifier

public static void updateAlternateIdentifier(Map<String,CluIdentifier> oldAltIdMap,
                                             Clu clu,
                                             CluInfo cluInfo,
                                             LuDao dao)
                                      throws InvalidParameterException
Throws:
InvalidParameterException

toCluPublicationVariants

public static List<CluPublicationVariant> toCluPublicationVariants(List<FieldInfo> variantInfos,
                                                                   CluPublication cluPub,
                                                                   LuDao luDao)

toCluPublicationInfo

public static CluPublicationInfo toCluPublicationInfo(CluPublication cluPub)

toCluPublicationVariantInfos

private static List<FieldInfo> toCluPublicationVariantInfos(List<CluPublicationVariant> variants)

toCluPublicationInfos

public static List<CluPublicationInfo> toCluPublicationInfos(List<CluPublication> cluPublications)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.