| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
package org.kuali.student.lum.course.service; |
| 9 |
|
|
| 10 |
|
import java.util.Date; |
| 11 |
|
import java.util.List; |
| 12 |
|
|
| 13 |
|
import javax.jws.WebParam; |
| 14 |
|
import javax.jws.WebService; |
| 15 |
|
import javax.jws.soap.SOAPBinding; |
| 16 |
|
|
| 17 |
|
import org.kuali.student.common.dictionary.service.DictionaryService; |
| 18 |
|
import org.kuali.student.common.dto.StatusInfo; |
| 19 |
|
import org.kuali.student.common.exceptions.AlreadyExistsException; |
| 20 |
|
import org.kuali.student.common.exceptions.CircularReferenceException; |
| 21 |
|
import org.kuali.student.common.exceptions.CircularRelationshipException; |
| 22 |
|
import org.kuali.student.common.exceptions.DataValidationErrorException; |
| 23 |
|
import org.kuali.student.common.exceptions.DependentObjectsExistException; |
| 24 |
|
import org.kuali.student.common.exceptions.DoesNotExistException; |
| 25 |
|
import org.kuali.student.common.exceptions.IllegalVersionSequencingException; |
| 26 |
|
import org.kuali.student.common.exceptions.InvalidParameterException; |
| 27 |
|
import org.kuali.student.common.exceptions.MissingParameterException; |
| 28 |
|
import org.kuali.student.common.exceptions.OperationFailedException; |
| 29 |
|
import org.kuali.student.common.exceptions.PermissionDeniedException; |
| 30 |
|
import org.kuali.student.common.exceptions.UnsupportedActionException; |
| 31 |
|
import org.kuali.student.common.exceptions.VersionMismatchException; |
| 32 |
|
import org.kuali.student.common.validation.dto.ValidationResultInfo; |
| 33 |
|
import org.kuali.student.common.versionmanagement.service.VersionManagementService; |
| 34 |
|
import org.kuali.student.core.statement.dto.StatementTreeViewInfo; |
| 35 |
|
import org.kuali.student.lum.course.dto.ActivityInfo; |
| 36 |
|
import org.kuali.student.lum.course.dto.CourseInfo; |
| 37 |
|
import org.kuali.student.lum.course.dto.FormatInfo; |
| 38 |
|
import org.kuali.student.lum.course.dto.LoDisplayInfo; |
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
@WebService(name = "CourseService", targetNamespace = CourseServiceConstants.COURSE_NAMESPACE) |
| 47 |
|
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) |
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 48 |
|
public interface CourseService extends DictionaryService, VersionManagementService { |
| 49 |
|
|
| 50 |
|
|
| 51 |
|
|
| 52 |
|
@param |
| 53 |
|
|
| 54 |
|
@return |
| 55 |
|
@throws |
| 56 |
|
|
| 57 |
|
@throws |
| 58 |
|
|
| 59 |
|
@throws |
| 60 |
|
|
| 61 |
|
@throws |
| 62 |
|
|
| 63 |
|
@throws |
| 64 |
|
|
| 65 |
|
|
| 66 |
|
public CourseInfo getCourse(@WebParam(name = "courseId") String courseId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException; |
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 70 |
|
|
| 71 |
|
@param |
| 72 |
|
|
| 73 |
|
@return |
| 74 |
|
@throws |
| 75 |
|
|
| 76 |
|
@throws |
| 77 |
|
|
| 78 |
|
@throws |
| 79 |
|
|
| 80 |
|
@throws |
| 81 |
|
|
| 82 |
|
@throws |
| 83 |
|
|
| 84 |
|
|
| 85 |
|
public List<FormatInfo> getCourseFormats(@WebParam(name = "courseId") String courseId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException; |
| 86 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
@param |
| 91 |
|
|
| 92 |
|
@return |
| 93 |
|
@throws |
| 94 |
|
|
| 95 |
|
@throws |
| 96 |
|
|
| 97 |
|
@throws |
| 98 |
|
|
| 99 |
|
@throws |
| 100 |
|
|
| 101 |
|
@throws |
| 102 |
|
|
| 103 |
|
|
| 104 |
|
public List<ActivityInfo> getCourseActivities(@WebParam(name = "formatId") String formatId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException; |
| 105 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
@param |
| 110 |
|
|
| 111 |
|
@return |
| 112 |
|
@throws |
| 113 |
|
|
| 114 |
|
@throws |
| 115 |
|
|
| 116 |
|
@throws |
| 117 |
|
|
| 118 |
|
@throws |
| 119 |
|
|
| 120 |
|
@throws |
| 121 |
|
|
| 122 |
|
|
| 123 |
|
public List<LoDisplayInfo> getCourseLos(@WebParam(name = "courseId") String courseId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException; |
| 124 |
|
|
| 125 |
|
|
| 126 |
|
|
| 127 |
|
|
| 128 |
|
@param |
| 129 |
|
|
| 130 |
|
@param |
| 131 |
|
@param |
| 132 |
|
@return |
| 133 |
|
@throws |
| 134 |
|
|
| 135 |
|
@throws |
| 136 |
|
|
| 137 |
|
@throws |
| 138 |
|
|
| 139 |
|
@throws |
| 140 |
|
|
| 141 |
|
@throws |
| 142 |
|
|
| 143 |
|
|
| 144 |
|
public List<StatementTreeViewInfo> getCourseStatements(@WebParam(name = "courseId") String courseId, @WebParam(name="nlUsageTypeKey")String nlUsageTypeKey, @WebParam(name="language")String language) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException; |
| 145 |
|
|
| 146 |
|
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
@param |
| 150 |
|
|
| 151 |
|
@return |
| 152 |
|
@throws |
| 153 |
|
|
| 154 |
|
@throws |
| 155 |
|
|
| 156 |
|
@throws |
| 157 |
|
|
| 158 |
|
@throws |
| 159 |
|
|
| 160 |
|
@throws |
| 161 |
|
|
| 162 |
|
@throws |
| 163 |
|
|
| 164 |
|
@throws |
| 165 |
|
@throws |
| 166 |
|
@throws |
| 167 |
|
@throws |
| 168 |
|
@throws |
| 169 |
|
|
| 170 |
|
public CourseInfo createCourse(@WebParam(name = "courseInfo") CourseInfo courseInfo) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException, DoesNotExistException, CircularRelationshipException, DependentObjectsExistException, UnsupportedActionException; |
| 171 |
|
|
| 172 |
|
|
| 173 |
|
|
| 174 |
|
|
| 175 |
|
@param |
| 176 |
|
|
| 177 |
|
@return |
| 178 |
|
@throws |
| 179 |
|
|
| 180 |
|
@throws |
| 181 |
|
|
| 182 |
|
@throws |
| 183 |
|
|
| 184 |
|
@throws |
| 185 |
|
|
| 186 |
|
@throws |
| 187 |
|
|
| 188 |
|
@throws |
| 189 |
|
|
| 190 |
|
@throws |
| 191 |
|
|
| 192 |
|
@throws |
| 193 |
|
@throws |
| 194 |
|
@throws |
| 195 |
|
@throws |
| 196 |
|
@throws |
| 197 |
|
@throws |
| 198 |
|
|
| 199 |
|
public CourseInfo updateCourse(@WebParam(name = "courseInfo") CourseInfo courseInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, VersionMismatchException, OperationFailedException, PermissionDeniedException, AlreadyExistsException, CircularRelationshipException, DependentObjectsExistException, UnsupportedActionException, UnsupportedOperationException, CircularReferenceException; |
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|
| 203 |
|
|
| 204 |
|
@param |
| 205 |
|
|
| 206 |
|
@return |
| 207 |
|
@throws |
| 208 |
|
|
| 209 |
|
@throws |
| 210 |
|
|
| 211 |
|
@throws |
| 212 |
|
|
| 213 |
|
@throws |
| 214 |
|
|
| 215 |
|
@throws |
| 216 |
|
|
| 217 |
|
@throws |
| 218 |
|
@throws |
| 219 |
|
@throws |
| 220 |
|
@throws |
| 221 |
|
@throws |
| 222 |
|
@throws |
| 223 |
|
@throws |
| 224 |
|
@throws |
| 225 |
|
|
| 226 |
|
public StatusInfo deleteCourse(@WebParam(name = "courseId") String courseId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException, DataValidationErrorException, AlreadyExistsException, CircularRelationshipException, DependentObjectsExistException, UnsupportedActionException, UnsupportedOperationException, CircularReferenceException; |
| 227 |
|
|
| 228 |
|
|
| 229 |
|
|
| 230 |
|
|
| 231 |
|
@param |
| 232 |
|
|
| 233 |
|
@param |
| 234 |
|
|
| 235 |
|
@return |
| 236 |
|
@throws |
| 237 |
|
|
| 238 |
|
@throws |
| 239 |
|
|
| 240 |
|
@throws |
| 241 |
|
|
| 242 |
|
@throws |
| 243 |
|
|
| 244 |
|
@throws |
| 245 |
|
|
| 246 |
|
@throws |
| 247 |
|
|
| 248 |
|
public StatementTreeViewInfo createCourseStatement(@WebParam(name = "courseId") String courseId, @WebParam(name = "statementTreeViewInfo") StatementTreeViewInfo statementTreeViewInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DataValidationErrorException; |
| 249 |
|
|
| 250 |
|
|
| 251 |
|
|
| 252 |
|
|
| 253 |
|
@param |
| 254 |
|
|
| 255 |
|
@param |
| 256 |
|
|
| 257 |
|
@return |
| 258 |
|
@throws |
| 259 |
|
|
| 260 |
|
@throws |
| 261 |
|
|
| 262 |
|
@throws |
| 263 |
|
|
| 264 |
|
@throws |
| 265 |
|
|
| 266 |
|
@throws |
| 267 |
|
|
| 268 |
|
@throws |
| 269 |
|
@throws |
| 270 |
|
@throws |
| 271 |
|
|
| 272 |
|
public StatementTreeViewInfo updateCourseStatement(@WebParam(name = "courseId") String courseId, @WebParam(name = "statementTreeViewInfo") StatementTreeViewInfo statementTreeViewInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DataValidationErrorException, CircularReferenceException, VersionMismatchException; |
| 273 |
|
|
| 274 |
|
|
| 275 |
|
|
| 276 |
|
|
| 277 |
|
@param |
| 278 |
|
|
| 279 |
|
@param |
| 280 |
|
|
| 281 |
|
@return |
| 282 |
|
@throws |
| 283 |
|
|
| 284 |
|
@throws |
| 285 |
|
|
| 286 |
|
@throws |
| 287 |
|
|
| 288 |
|
@throws |
| 289 |
|
|
| 290 |
|
@throws |
| 291 |
|
|
| 292 |
|
|
| 293 |
|
public StatusInfo deleteCourseStatement(@WebParam(name = "courseId") String courseId, @WebParam(name = "statementTreeViewInfo") StatementTreeViewInfo statementTreeViewInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException; |
| 294 |
|
|
| 295 |
|
|
| 296 |
|
|
| 297 |
|
|
| 298 |
|
|
| 299 |
|
@param |
| 300 |
|
|
| 301 |
|
@param |
| 302 |
|
|
| 303 |
|
@return |
| 304 |
|
@throws |
| 305 |
|
|
| 306 |
|
@throws |
| 307 |
|
|
| 308 |
|
@throws |
| 309 |
|
|
| 310 |
|
@throws |
| 311 |
|
|
| 312 |
|
|
| 313 |
|
public List<ValidationResultInfo> validateCourse(String validationType, CourseInfo courseInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException; |
| 314 |
|
|
| 315 |
|
|
| 316 |
|
|
| 317 |
|
|
| 318 |
|
|
| 319 |
|
@param |
| 320 |
|
|
| 321 |
|
@param |
| 322 |
|
|
| 323 |
|
@return |
| 324 |
|
@throws |
| 325 |
|
|
| 326 |
|
@throws |
| 327 |
|
|
| 328 |
|
@throws |
| 329 |
|
|
| 330 |
|
@throws |
| 331 |
|
|
| 332 |
|
|
| 333 |
|
public List<ValidationResultInfo> validateCourseStatement(@WebParam(name = "courseId") String courseId, @WebParam(name = "statementTreeViewInfo") StatementTreeViewInfo statementTreeViewInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException; |
| 334 |
|
|
| 335 |
|
|
| 336 |
|
|
| 337 |
|
|
| 338 |
|
@param |
| 339 |
|
@param |
| 340 |
|
@return |
| 341 |
|
@throws |
| 342 |
|
@throws |
| 343 |
|
@throws |
| 344 |
|
@throws |
| 345 |
|
@throws |
| 346 |
|
@throws |
| 347 |
|
@throws |
| 348 |
|
|
| 349 |
|
public CourseInfo createNewCourseVersion(@WebParam(name="courseId")String courseId, @WebParam(name="versionComment")String versionComment) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException; |
| 350 |
|
|
| 351 |
|
|
| 352 |
|
|
| 353 |
|
|
| 354 |
|
|
| 355 |
|
|
| 356 |
|
|
| 357 |
|
@param |
| 358 |
|
@param |
| 359 |
|
@return |
| 360 |
|
@throws |
| 361 |
|
@throws |
| 362 |
|
@throws |
| 363 |
|
@throws |
| 364 |
|
@throws |
| 365 |
|
@throws |
| 366 |
|
|
| 367 |
|
public StatusInfo setCurrentCourseVersion(@WebParam(name="courseVersionId")String courseVersionId, @WebParam(name="currentVersionStart")Date currentVersionStart) throws DoesNotExistException, InvalidParameterException, MissingParameterException, IllegalVersionSequencingException, OperationFailedException, PermissionDeniedException; |
| 368 |
|
|
| 369 |
|
} |