org.kuali.student.enrollment.class2.courseoffering.util
Class ViewHelperUtil
java.lang.Object
org.kuali.student.enrollment.class2.courseoffering.util.ViewHelperUtil
public class ViewHelperUtil
- extends Object
This class //TODO ... This calss is specific to CourseOffering and should be renamed appropriately
- Author:
- Kuali Student Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewHelperUtil
public ViewHelperUtil()
getInstructorByPersonId
public static List<Person> getInstructorByPersonId(String personId)
getPersonService
public static PersonService getPersonService()
trimTrailing0
public static String trimTrailing0(String creditValue)
getCreditCount
public static String getCreditCount(CourseOfferingInfo coInfo,
CourseInfo courseInfo)
throws Exception
- Throws:
Exception
getLrcService
public static LRCService getLrcService()
getCourseService
public static CourseService getCourseService()
findDisplayInstructor
public static OfferingInstructorInfo findDisplayInstructor(List<OfferingInstructorInfo> instructors)
updateCourseOfferingStateFromActivityOfferingStateChange
public static void updateCourseOfferingStateFromActivityOfferingStateChange(CourseOfferingInfo coInfo,
ContextInfo context)
throws InvalidParameterException,
MissingParameterException,
DoesNotExistException,
PermissionDeniedException,
OperationFailedException,
DataValidationErrorException,
VersionMismatchException,
ReadOnlyException
- Evaluates whether to update the state of a Course Offering (and possibly its Format Offerings) based on
the state of its Activity Offerings
This is a utility method that combines logic for updating related objects when the state of one or more
Activity Offerings is changed.
- Parameters:
coInfo
- the Course Offering to evaluate
- Throws:
InvalidParameterException
MissingParameterException
DoesNotExistException
PermissionDeniedException
OperationFailedException
DataValidationErrorException
VersionMismatchException
ReadOnlyException
getNewFoState
public static String getNewFoState(List<ActivityOfferingInfo> activityOfferings)
getNewCoState
public static String getNewCoState(List<FormatOfferingInfo> formatOfferings)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.