public interface CourseSeatCountSubscriptionService
Modifier and Type | Method and Description |
---|---|
StatusInfo |
removeSubscription(String subscriptionId,
ContextInfo contextInfo)
Remove the subscription of callback to stop listening.
|
String |
subscribeToCourseSeatCounts(SubscriptionActionEnum action,
CourseSeatCountCallbackService courseSeatCountCallbackService,
ContextInfo contextInfo)
Subscribe a callback to listen for CourseSeatCounts.
|
String |
subscribeToCourseSeatCountsByActivityOffering(SubscriptionActionEnum action,
String activityOfferingId,
CourseSeatCountCallbackService courseSeatCountCallbackService,
ContextInfo contextInfo)
Subscribe a callback to listen for CourseSeatCounts for a given ActivityOffering.
|
String |
subscribeToCourseSeatCountsByActivityOfferings(SubscriptionActionEnum action,
List<String> activityOfferingIds,
CourseSeatCountCallbackService courseSeatCountCallbackService,
ContextInfo contextInfo)
Subscribe a callback to listen for CourseSeatCounts for a given ActivityOfferings.
|
String |
subscribeToCourseSeatCountsByIds(SubscriptionActionEnum action,
List<String> courseSeatCountId,
CourseSeatCountCallbackService courseSeatCountCallbackService,
ContextInfo contextInfo)
Subscribe a callback to listen for CourseSeatCounts for the given Ids.
|
String |
subscribeToCourseSeatCountsByType(SubscriptionActionEnum action,
String courseSeatCountTypeKey,
CourseSeatCountCallbackService courseSeatCountCallbackService,
ContextInfo contextInfo)
Subscribe a callback to listen for CourseSeatCounts for a given type.
|
String subscribeToCourseSeatCounts(SubscriptionActionEnum action, CourseSeatCountCallbackService courseSeatCountCallbackService, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
action
- action to listen forcourseSeatCountCallbackService
- callback executable code to be invoked when the change event executes.contextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- action, courseSeatCountCallbackService or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredString subscribeToCourseSeatCountsByIds(SubscriptionActionEnum action, List<String> courseSeatCountId, CourseSeatCountCallbackService courseSeatCountCallbackService, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
action
- action to listen forcourseSeatCountId
- the identifier for the CourseSeatCounts to listen for.courseSeatCountCallbackService
- callback executable code to be invoked when the change event executescontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- action, courseSeatCountId, courseSeatCountCallbackService or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredString subscribeToCourseSeatCountsByActivityOffering(SubscriptionActionEnum action, String activityOfferingId, CourseSeatCountCallbackService courseSeatCountCallbackService, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
action
- action to listen foractivityOfferingId
- the identifier for the ActivityOffering to be retrieved.courseSeatCountCallbackService
- callback executable code to be invoked when the change event executescontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- action, activityOfferingId, courseSeatCountCallbackService or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredString subscribeToCourseSeatCountsByActivityOfferings(SubscriptionActionEnum action, List<String> activityOfferingIds, CourseSeatCountCallbackService courseSeatCountCallbackService, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
action
- action to listen foractivityOfferingIds
- the identifier for the ActivityOffering to be retrieved.courseSeatCountCallbackService
- callback executable code to be invoked when the change event executescontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- action, activityOfferingIds, courseSeatCountCallbackService or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredString subscribeToCourseSeatCountsByType(SubscriptionActionEnum action, String courseSeatCountTypeKey, CourseSeatCountCallbackService courseSeatCountCallbackService, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
action
- action to listen forcourseSeatCountTypeKey
- the identifier for the CourseSeatCount type to be retrieved.courseSeatCountCallbackService
- callback executable code to be invoked when the change event executescontextInfo
- information containing the principalId and locale information about the caller of the service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- action, courseSeatCountCallbackService or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredStatusInfo removeSubscription(String subscriptionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
subscriptionId
- the identifier for the subscriptioncontextInfo
- information containing the principalId and locale information about the caller of the service operationDoesNotExistException
- courseRegistrationId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseRegistrationId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.