org.kuali.student.lum.program.client
Class ProgramUtils

java.lang.Object
  extended by org.kuali.student.lum.program.client.ProgramUtils

public class ProgramUtils
extends Object

Author:
Igor

Field Summary
static com.google.gwt.i18n.client.DateTimeFormat df
           
 
Constructor Summary
private ProgramUtils()
           
 
Method Summary
static void addCredentialProgramDataToVariation(Data variationData, DataModel model)
           
static Data createNewSpecializationBasedOnMajor(DataModel programModel)
           
static String getLabel(String messageKey, String parameter)
           
static String getProgramId(DataModel programModel)
           
static String getProgramState(DataModel programModel)
           
static String getProposalId(DataModel programModel)
          This method will grab the proposal ID from the data model.
static void handleValidationErrorsForSpecializations(List<ValidationResultInfo> validationResults, DataModel programModel)
           
static void retrofitValidationResults(List<ValidationResultInfo> validationResults)
           
static void syncMetadata(AbstractProgramConfigurer configurer, ModelDefinition modelDefinition)
           
static void unregisterUnusedHandlers(com.google.gwt.event.shared.HandlerManager eventBus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

df

public static com.google.gwt.i18n.client.DateTimeFormat df
Constructor Detail

ProgramUtils

private ProgramUtils()
Method Detail

addCredentialProgramDataToVariation

public static void addCredentialProgramDataToVariation(Data variationData,
                                                       DataModel model)

createNewSpecializationBasedOnMajor

public static Data createNewSpecializationBasedOnMajor(DataModel programModel)

retrofitValidationResults

public static void retrofitValidationResults(List<ValidationResultInfo> validationResults)

handleValidationErrorsForSpecializations

public static void handleValidationErrorsForSpecializations(List<ValidationResultInfo> validationResults,
                                                            DataModel programModel)

syncMetadata

public static void syncMetadata(AbstractProgramConfigurer configurer,
                                ModelDefinition modelDefinition)

unregisterUnusedHandlers

public static void unregisterUnusedHandlers(com.google.gwt.event.shared.HandlerManager eventBus)

getProposalId

public static String getProposalId(DataModel programModel)
This method will grab the proposal ID from the data model.

Parameters:
programModel - XML data model
Returns:

getProgramId

public static String getProgramId(DataModel programModel)

getProgramState

public static String getProgramState(DataModel programModel)

getLabel

public static String getLabel(String messageKey,
                              String parameter)


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