private static boolean checkEnrollStudentGroupShift(String studentGroupCode, String groupPropertiesCode, String username)
throws FenixServiceException {
boolean result = false;
Grouping groupProperties = FenixFramework.getDomainObject(groupPropertiesCode);
if (groupProperties == null) {
throw new ExistingServiceException();
}
StudentGroup studentGroup = FenixFramework.getDomainObject(studentGroupCode);
if (studentGroup == null) {
throw new FenixServiceException();