public class TestStatePropagationViewHelperServiceImpl extends org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl implements TestStatePropagationViewHelperService
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
CO_STATES_ORDERED |
static String |
COURSE_OFFERING_KEY |
static List<String> |
FO_STATES_ORDERED |
static List<String> |
RG_STATES |
static String |
SAMPLE_ROLLOVER_TERM |
static String |
SAMPLE_TERM |
static Map<String,String> |
SECOND_AO_STATE_TO_CO_STATE
What the CO state should be given two of the AO states are initially in draft and the "second" AO is in
possibly a different state.
|
static Map<String,String> |
SECOND_AO_STATE_TO_FO_STATE
What the FO state should be given two of the AO states are initially in draft and the "second" AO is in
possibly a different state.
|
static List<String> |
SOC_STATES_ORDERED |
| Constructor and Description |
|---|
TestStatePropagationViewHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
TermInfo |
getTermByTermCode(String termCode) |
Map<String,Object> |
rolloverCourseOfferingFromSourceTermToTargetTerm(String courseOfferingCode,
String sourceTermCode,
String targetTermCode)
To run tests, a course offering is rolled over from a source term to a target term.
|
void |
runTests(TestStatePropagationForm form)
Runs all the "tests" in testing state propagation.
|
Map<String,PseudoUnitTestStateTransitionGrid> |
testAoStateTransitionsInSocState(String aoId,
String socId,
String socState,
String secondaryAoState) |
PseudoUnitTestStateTransitionGrid |
testRegistrationGroupInvalid(boolean aosAllOffered) |
RegGroupStateResult |
testRegistrationGroupStatePropagation(String otherAoState) |
void |
testSocStateHappy() |
void |
testSocStateUnhappy(String socState,
int index) |
addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getCommonContext, getConfigurationService, getDataDictionaryService, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setConfigurationService, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponentpublic static final String SAMPLE_TERM
public static final String SAMPLE_ROLLOVER_TERM
public static final String COURSE_OFFERING_KEY
public static final List<String> SOC_STATES_ORDERED
public static final List<String> FO_STATES_ORDERED
public static final List<String> CO_STATES_ORDERED
public static final Map<String,String> SECOND_AO_STATE_TO_FO_STATE
public static final Map<String,String> SECOND_AO_STATE_TO_CO_STATE
public TestStatePropagationViewHelperServiceImpl()
public void runTests(TestStatePropagationForm form) throws Exception
TestStatePropagationViewHelperServicerunTests in interface TestStatePropagationViewHelperServiceform - Used to display the results of the AFUT to the screenException - Generic exception thrown due to errors.public PseudoUnitTestStateTransitionGrid testRegistrationGroupInvalid(boolean aosAllOffered) throws Exception
Exceptionpublic RegGroupStateResult testRegistrationGroupStatePropagation(String otherAoState) throws Exception
Exceptionpublic void testSocStateHappy() throws Exception
Exceptionpublic void testSocStateUnhappy(String socState, int index) throws Exception
Exceptionpublic Map<String,PseudoUnitTestStateTransitionGrid> testAoStateTransitionsInSocState(String aoId, String socId, String socState, String secondaryAoState) throws Exception
Exceptionpublic TermInfo getTermByTermCode(String termCode) throws InvalidParameterException, MissingParameterException, PermissionDeniedException, OperationFailedException
public Map<String,Object> rolloverCourseOfferingFromSourceTermToTargetTerm(String courseOfferingCode, String sourceTermCode, String targetTermCode) throws Exception
TestStatePropagationViewHelperServicerolloverCourseOfferingFromSourceTermToTargetTerm in interface TestStatePropagationViewHelperServicecourseOfferingCode - A CO code like CHEM237sourceTermCode - A source term code like 201201targetTermCode - A target term code like 200001Exception - Generic exception thrown due to errors.Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.