| 1 | |
package org.kuali.student.enrollment.class2.coursewaitlist.service.impl; |
| 2 | |
|
| 3 | |
import java.util.List; |
| 4 | |
|
| 5 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
| 6 | |
import org.kuali.student.core.statement.service.StatementService; |
| 7 | |
import org.kuali.student.enrollment.courseoffering.service.CourseOfferingService; |
| 8 | |
import org.kuali.student.enrollment.courseregistration.dto.RegistrationResponseInfo; |
| 9 | |
import org.kuali.student.enrollment.coursewaitlist.dto.CourseWaitlistEntryInfo; |
| 10 | |
import org.kuali.student.enrollment.coursewaitlist.service.CourseWaitlistService; |
| 11 | |
import org.kuali.student.enrollment.lpr.service.LprService; |
| 12 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
| 13 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
| 14 | |
import org.kuali.student.r2.common.exceptions.AlreadyExistsException; |
| 15 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
| 16 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
| 17 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
| 18 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
| 19 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
| 20 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
| 21 | |
|
| 22 | 0 | public class CourseWaitlistServiceImpl implements CourseWaitlistService { |
| 23 | |
|
| 24 | |
private LprService lprService; |
| 25 | |
private CourseOfferingService courseOfferingService; |
| 26 | |
private StatementService statementService; |
| 27 | |
|
| 28 | |
public LprService getLprService() { |
| 29 | 0 | return lprService; |
| 30 | |
} |
| 31 | |
|
| 32 | |
public void setLprService(LprService lprService) { |
| 33 | 0 | this.lprService = lprService; |
| 34 | 0 | } |
| 35 | |
|
| 36 | |
public CourseOfferingService getCourseOfferingService() { |
| 37 | 0 | return courseOfferingService; |
| 38 | |
} |
| 39 | |
|
| 40 | |
public void setCourseOfferingService(CourseOfferingService courseOfferingService) { |
| 41 | 0 | this.courseOfferingService = courseOfferingService; |
| 42 | 0 | } |
| 43 | |
|
| 44 | |
public StatementService getStatementService() { |
| 45 | 0 | return statementService; |
| 46 | |
} |
| 47 | |
|
| 48 | |
public void setStatementService(StatementService statementService) { |
| 49 | 0 | this.statementService = statementService; |
| 50 | 0 | } |
| 51 | |
|
| 52 | |
@Override |
| 53 | |
public Integer getAvailableSeatsForCourseOffering(String courseOfferingId, ContextInfo context) throws |
| 54 | |
InvalidParameterException, MissingParameterException, OperationFailedException, |
| 55 | |
PermissionDeniedException { |
| 56 | 0 | throw new OperationFailedException("not implemented"); |
| 57 | |
} |
| 58 | |
|
| 59 | |
@Override |
| 60 | |
public Integer getAvailableSeatsForRegGroup(String regGroupId, ContextInfo context) throws InvalidParameterException, |
| 61 | |
MissingParameterException, OperationFailedException, |
| 62 | |
PermissionDeniedException { |
| 63 | 0 | throw new OperationFailedException("not implemented"); |
| 64 | |
} |
| 65 | |
|
| 66 | |
@Override |
| 67 | |
public Integer getAvailableSeatsForStudentInRegGroup(String studentId, String regGroupId, ContextInfo context) throws |
| 68 | |
InvalidParameterException, MissingParameterException, |
| 69 | |
OperationFailedException, PermissionDeniedException { |
| 70 | 0 | throw new OperationFailedException("not implemented"); |
| 71 | |
|
| 72 | |
} |
| 73 | |
|
| 74 | |
@Override |
| 75 | |
public Integer getAvailableSeatsInSeatpool(String seatpoolId, ContextInfo context) throws InvalidParameterException, |
| 76 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 77 | 0 | throw new OperationFailedException("not implemented"); |
| 78 | |
} |
| 79 | |
|
| 80 | |
@Override |
| 81 | |
public CourseWaitlistEntryInfo getCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws |
| 82 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 83 | |
OperationFailedException, PermissionDeniedException { |
| 84 | 0 | throw new OperationFailedException("not implemented"); |
| 85 | |
} |
| 86 | |
|
| 87 | |
@Override |
| 88 | |
public StatusInfo updateCourseWaitlistEntry(String courseWaitlistEntryId, CourseWaitlistEntryInfo courseWaitlistEntryInfo, ContextInfo context) throws |
| 89 | |
DoesNotExistException, |
| 90 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, |
| 91 | |
PermissionDeniedException { |
| 92 | 0 | throw new OperationFailedException("not implemented"); |
| 93 | |
} |
| 94 | |
|
| 95 | |
@Override |
| 96 | |
public StatusInfo reorderCourseWaitlistEntries(List<String> courseWaitlistEntryIds, ContextInfo context) throws |
| 97 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 98 | |
OperationFailedException, PermissionDeniedException { |
| 99 | 0 | throw new OperationFailedException("not implemented"); |
| 100 | |
} |
| 101 | |
|
| 102 | |
@Override |
| 103 | |
public StatusInfo insertCourseWaitlistEntryAtPosition(String courseWaitlistEntryId, Integer position, ContextInfo context) throws |
| 104 | |
DoesNotExistException, InvalidParameterException, |
| 105 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 106 | 0 | throw new OperationFailedException("not implemented"); |
| 107 | |
} |
| 108 | |
|
| 109 | |
@Override |
| 110 | |
public StatusInfo removeCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws DoesNotExistException, |
| 111 | |
InvalidParameterException, MissingParameterException, |
| 112 | |
OperationFailedException, PermissionDeniedException { |
| 113 | 0 | throw new OperationFailedException("not implemented"); |
| 114 | |
} |
| 115 | |
|
| 116 | |
@Override |
| 117 | |
public StatusInfo validateCourseWaitlistEntry(String validateTypeKey, CourseWaitlistEntryInfo courseWaitlistEntryInfo, ContextInfo context) throws |
| 118 | |
DataValidationErrorException, |
| 119 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 120 | 0 | throw new OperationFailedException("not implemented"); |
| 121 | |
} |
| 122 | |
|
| 123 | |
@Override |
| 124 | |
public RegistrationResponseInfo registerStudentFromWaitlist(String courseWaitlistEntryId, ContextInfo context) throws |
| 125 | |
AlreadyExistsException, DataValidationErrorException, InvalidParameterException, |
| 126 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 127 | 0 | throw new OperationFailedException("not implemented"); |
| 128 | |
} |
| 129 | |
|
| 130 | |
@Override |
| 131 | |
public List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForCourseOffering(String courseOfferingId, ContextInfo context) throws |
| 132 | |
DoesNotExistException, InvalidParameterException, |
| 133 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 134 | 0 | throw new OperationFailedException("not implemented"); |
| 135 | |
} |
| 136 | |
|
| 137 | |
@Override |
| 138 | |
public List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForRegGroup(String regGroupId, ContextInfo context) throws |
| 139 | |
DoesNotExistException, InvalidParameterException, |
| 140 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 141 | 0 | throw new OperationFailedException("not implemented"); |
| 142 | |
} |
| 143 | |
|
| 144 | |
@Override |
| 145 | |
public List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForStudentInCourseOffering(String courseOfferingId, String studentId, ContextInfo context) throws |
| 146 | |
DoesNotExistException, |
| 147 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 148 | 0 | throw new OperationFailedException("not implemented"); |
| 149 | |
} |
| 150 | |
|
| 151 | |
@Override |
| 152 | |
public CourseWaitlistEntryInfo getCourseWaitlistEntryForStudentInRegGroup(String regGroupId, String studentId, ContextInfo context) throws |
| 153 | |
DoesNotExistException, InvalidParameterException, |
| 154 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 155 | 0 | throw new OperationFailedException("not implemented"); |
| 156 | |
} |
| 157 | |
|
| 158 | |
@Override |
| 159 | |
public List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForStudentByTerm(String studentId, String termKey, ContextInfo context) throws |
| 160 | |
DoesNotExistException, InvalidParameterException, |
| 161 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 162 | 0 | throw new OperationFailedException("not implemented"); |
| 163 | |
} |
| 164 | |
|
| 165 | |
@Override |
| 166 | |
public List<CourseWaitlistEntryInfo> searchForCourseWaitlistEntries(QueryByCriteria criteria, ContextInfo context) throws |
| 167 | |
InvalidParameterException, MissingParameterException, |
| 168 | |
OperationFailedException, PermissionDeniedException { |
| 169 | 0 | throw new OperationFailedException("not implemented"); |
| 170 | |
} |
| 171 | |
|
| 172 | |
@Override |
| 173 | |
public List<String> searchForCourseWaitlistEntryIds(QueryByCriteria criteria, ContextInfo context) throws |
| 174 | |
InvalidParameterException, MissingParameterException, OperationFailedException, |
| 175 | |
PermissionDeniedException { |
| 176 | 0 | throw new OperationFailedException("not implemented"); |
| 177 | |
} |
| 178 | |
|
| 179 | |
@Override |
| 180 | |
public StatusInfo deleteCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws |
| 181 | |
InvalidParameterException, MissingParameterException, OperationFailedException, |
| 182 | |
PermissionDeniedException { |
| 183 | 0 | throw new OperationFailedException("not implemented"); |
| 184 | |
} |
| 185 | |
} |