|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutogenRegGroupServiceAdapter
Used to support service calls related to Autogen RGs. Terminology AO: activity offering FO: format offering AOC: activity offering cluster RG: registration group
Method Summary | |
---|---|
ActivityOfferingResult |
copyActivityOfferingToCluster(String aoId,
String aocId,
ContextInfo context)
A variant on User Story 3 that does not create an AO (relying on copyAO from the |
CourseOfferingInfo |
copyCourseOfferingToTargetTerm(CourseOfferingInfo coInfo,
TermInfo targetTerm,
List<String> optionKeys,
ContextInfo context)
|
ActivityOfferingResult |
createActivityOffering(ActivityOfferingInfo aoInfo,
String aocId,
ContextInfo context)
User Story 3: I need the system to automatically create reg groups when I create an AO (via add or copy) to eliminate the need to manually create them This creates an AO, then adds the created AO to an AOC, generating RGs as needed |
ActivityOfferingClusterInfo |
createDefaultCluster(String foId,
ContextInfo context)
If a Course Offering is brand-new with no AOs, then call this method to create the first default AOC to be used. |
void |
deleteActivityOfferingCascaded(String aoId,
String aocId,
ContextInfo context)
User Story 5: I need the system to automatically delete all associated registration groups when I delete an AO from an AOC A pass-through to the deleteActivityOfferingCascaded. |
void |
deleteActivityOfferingCluster(String aocId,
ContextInfo context)
User Story 7: As a user, I need the system to automatically delete all AOs when I delete an AOC so I don’t have to delete all the AOs first This is a pass-through to service call deleteActivityOfferingClusterCascaded |
CourseOfferingAutogenIssue |
findAutogenIssuesByCourseOffering(String courseOfferingId,
ContextInfo context)
|
List<CourseOfferingAutogenIssue> |
findAutogenIssuesByTerm(String termId,
ContextInfo context)
|
List<ActivityOfferingClusterInfo> |
getActivityOfferingClusterByCourseOffering(String courseOfferingId)
Returns all ActivityOfferingClusterInfos that map back to a single course offering |
AutogenCount |
getAutogenCountByActivtyOfferingCluster(String activiyOfferingClusterId,
ContextInfo context)
User Story 9: As a user, I want to be able to view AOs by Activity, AOC, or Registration Group so that I can view my Activities in a way to support my specific business needs Get the counts for the information tool bar at the Activity Offering Cluster Level. |
AutogenCount |
getAutogenCountByCourseOffering(String courseOfferingId,
ContextInfo context)
User Story 9: As a user, I want to be able to view AOs by Activity, AOC, or Registration Group so that I can view my Activities in a way to support my specific business needs Get the counts for the information tool bar at the course offering level. |
AutogenCount |
getAutogenCountByFormatOffering(String formatOfferingId,
ContextInfo context)
User Story 9: As a user, I want to be able to view AOs by Activity, AOC, or Registration Group so that I can view my Activities in a way to support my specific business needs Get the counts for the information toolbar at the format offering level. |
String |
getDefaultClusterName(int numberOfExistingClusters)
Useful for when a cluster is created to create the naming. |
String |
getDefaultClusterNamePerCO(String courseOfferingId,
ContextInfo context)
Useful for when a cluster is created to create the naming. |
Integer |
getSeatCountByActivityOfferingCluster(String aocId,
ContextInfo contextInfo)
User Story 8: As a user, I want to view counts of seats so that I can ensure I have the right numbers of seats to support my business needs. |
Integer |
getSeatCountByCourseOffering(String courseOfferingId,
ContextInfo contextInfo)
User Story 8: As a user, I want to view counts of seats so that I can ensure I have the right numbers of seats to support my business needs. |
Integer |
getSeatCountByRegistrationGroup(String registrationGroupId,
ContextInfo contextInfo)
User Story 8: As a user, I want to view counts of seats so that I can ensure I have the right numbers of seats to support my business needs. |
List<BulkStatusInfo> |
moveActivityOffering(String aoId,
String sourceAocId,
String targetAocId,
ContextInfo context)
User Story 6: As a user, I need the system to automatically create/delete all associated registration groups when I move an Activity from one AOC to another Moves an AO from a source AOC to a target AOC. |
ActivityOfferingResult |
updateActivityOffering(ActivityOfferingInfo aoInfo,
ContextInfo context)
User Story 4: I need the system to automatically update registration groups as I update an activity offering(s) so reg group states and messaging remain current. |
ActivityOfferingResult |
updateRegistrationGroups(ActivityOfferingInfo aoInfo,
ContextInfo context)
We need an explicit call to update the registration groups. |
Method Detail |
---|
String getDefaultClusterName(int numberOfExistingClusters)
numberOfExistingClusters
- used to determine the next name as CL (numberOfExistingClusters+1)
String getDefaultClusterNamePerCO(String courseOfferingId, ContextInfo context)
courseOfferingId:
- determines the CourseOffering that a default cluster will be created within
ActivityOfferingClusterInfo createDefaultCluster(String foId, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
foId
- The format offering ID that the cluster belongs tocontext
- Context info
PermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
DoesNotExistException
ReadOnlyException
DataValidationErrorException
CourseOfferingInfo copyCourseOfferingToTargetTerm(CourseOfferingInfo coInfo, TermInfo targetTerm, List<String> optionKeys, ContextInfo context) throws InvalidParameterException, PermissionDeniedException, DataValidationErrorException, AlreadyExistsException, ReadOnlyException, OperationFailedException, MissingParameterException, DoesNotExistException
InvalidParameterException
PermissionDeniedException
DataValidationErrorException
AlreadyExistsException
ReadOnlyException
OperationFailedException
MissingParameterException
DoesNotExistException
ActivityOfferingResult createActivityOffering(ActivityOfferingInfo aoInfo, String aocId, ContextInfo context) throws PermissionDeniedException, DataValidationErrorException, InvalidParameterException, ReadOnlyException, OperationFailedException, MissingParameterException, DoesNotExistException, VersionMismatchException
aoInfo
- The AO to be created and added to the AOCaocId
- The ID of the activity offering clustercontext
-
PermissionDeniedException
DataValidationErrorException
InvalidParameterException
ReadOnlyException
OperationFailedException
MissingParameterException
DoesNotExistException
VersionMismatchException
ActivityOfferingResult copyActivityOfferingToCluster(String aoId, String aocId, ContextInfo context) throws PermissionDeniedException, DataValidationErrorException, InvalidParameterException, ReadOnlyException, OperationFailedException, MissingParameterException, DoesNotExistException, VersionMismatchException
aoId
- The ID of an AO to copyaocId
- The AOC cluster ID for the copy of the AO to be associated withcontext
-
PermissionDeniedException
DataValidationErrorException
InvalidParameterException
ReadOnlyException
OperationFailedException
MissingParameterException
DoesNotExistException
VersionMismatchException
ActivityOfferingResult updateActivityOffering(ActivityOfferingInfo aoInfo, ContextInfo context) throws PermissionDeniedException, DataValidationErrorException, InvalidParameterException, ReadOnlyException, OperationFailedException, MissingParameterException, DoesNotExistException, VersionMismatchException
aoInfo
- AO to be updatedcontext
- contextInfo
PermissionDeniedException
DataValidationErrorException
InvalidParameterException
ReadOnlyException
OperationFailedException
MissingParameterException
DoesNotExistException
VersionMismatchException
ActivityOfferingResult updateRegistrationGroups(ActivityOfferingInfo aoInfo, ContextInfo context) throws PermissionDeniedException, DataValidationErrorException, InvalidParameterException, ReadOnlyException, OperationFailedException, MissingParameterException, DoesNotExistException, VersionMismatchException
aoInfo
- AO used and later part of the returned object. This is a pass by reference object so be careful.context
- contextInfo
PermissionDeniedException
DataValidationErrorException
InvalidParameterException
ReadOnlyException
OperationFailedException
MissingParameterException
DoesNotExistException
VersionMismatchException
void deleteActivityOfferingCascaded(String aoId, String aocId, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException
aocId
- context
- Doesn't return anything for now. If we need something, can always modify the return type
PermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
DoesNotExistException
List<BulkStatusInfo> moveActivityOffering(String aoId, String sourceAocId, String targetAocId, ContextInfo context) throws PermissionDeniedException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, ReadOnlyException, VersionMismatchException
aoId
- The id of the AO to be moved from source AOC to target AOCsourceAocId
- The AOC where aoId is currently (and to be removed)targetAocId
- The AOC where aoId should be placedcontext
-
PermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
DoesNotExistException
DataValidationErrorException
ReadOnlyException
VersionMismatchException
void deleteActivityOfferingCluster(String aocId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException
aocId
- The ID of the AOC to delete
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DependentObjectsExistException
Integer getSeatCountByCourseOffering(String courseOfferingId, ContextInfo contextInfo) throws OperationFailedException, PermissionDeniedException
courseOfferingId
- contextInfo
- Context information containing the
principalId and locale information about
the caller of service operation
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure has occurredInteger getSeatCountByActivityOfferingCluster(String aocId, ContextInfo contextInfo) throws OperationFailedException, PermissionDeniedException
aocId
- contextInfo
- Context information containing the
principalId and locale information about
the caller of service operation
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure has occurredInteger getSeatCountByRegistrationGroup(String registrationGroupId, ContextInfo contextInfo) throws OperationFailedException, PermissionDeniedException
registrationGroupId
- contextInfo
- Context information containing the
principalId and locale information about
the caller of service operation
PermissionDeniedException
- unable to complete request
OperationFailedException
- an authorization failure has occurredList<CourseOfferingAutogenIssue> findAutogenIssuesByTerm(String termId, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException
PermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
DoesNotExistException
CourseOfferingAutogenIssue findAutogenIssuesByCourseOffering(String courseOfferingId, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException
PermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
DoesNotExistException
AutogenCount getAutogenCountByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
-
OperationFailedException
MissingParameterException
InvalidParameterException
DoesNotExistException
PermissionDeniedException
AutogenCount getAutogenCountByFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
formatOfferingId
- context
-
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
AutogenCount getAutogenCountByActivtyOfferingCluster(String activiyOfferingClusterId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
activiyOfferingClusterId
- context
-
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
List<ActivityOfferingClusterInfo> getActivityOfferingClusterByCourseOffering(String courseOfferingId)
courseOfferingId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |