Interface CalendaringCycleBatchManager
- All Superinterfaces:
AutoCloseable, CalendaringCycleBatchProfile, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
The calendaring cycle batch manager provides access to calendaring cycle batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
CyclicEventBatchAdminSession: a session to create, modify and delete cyclic events in bulk -
CyclicTimePeriodBatchSession: a session to create, modify and delete cyclic time periods in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk cyclic event administration service.getCyclicEventBatchAdminSessionForCalendar(Id calendarId) Gets theOsidSessionassociated with the bulk cyclic event administration service for the given calendar.Gets theOsidSessionassociated with the bulk cyclic time period administration service.getCyclicTimePeriodBatchAdminSessionForCalendar(Id calendarId) Gets theOsidSessionassociated with the bulk cyclic time period administration service for the given calendar.Methods inherited from interface CalendaringCycleBatchProfile
supportsCyclicEventBatchAdmin, supportsCyclicTimePeriodBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of cyclic events is available.booleanTests if bulk administration of cyclic time periods is available.booleanTests if federation is visible.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getCyclicEventBatchAdminSession
Gets theOsidSessionassociated with the bulk cyclic event administration service.- Returns:
- a
CyclicEventBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCyclicEventBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCyclicEventBatchAdmin()} is {@code true} .
-
getCyclicEventBatchAdminSessionForCalendar
CyclicEventBatchAdminSession getCyclicEventBatchAdminSessionForCalendar(Id calendarId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk cyclic event administration service for the given calendar.- Parameters:
calendarId- theIdof theCalendar- Returns:
- a
CyclicEventBatchAdminSession - Throws:
NotFoundException- noCalendarfound by the givenIdNullArgumentException-calendarIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCyclicEventBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCyclicEventBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCyclicTimePeriodBatchAdminSession
CyclicTimePeriodBatchAdminSession getCyclicTimePeriodBatchAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the bulk cyclic time period administration service.- Returns:
- a
CyclicTimePeriodBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCyclicTimePeriodBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCyclicTimePeriodBatchAdmin()} is {@code true} .
-
getCyclicTimePeriodBatchAdminSessionForCalendar
CyclicTimePeriodBatchAdminSession getCyclicTimePeriodBatchAdminSessionForCalendar(Id calendarId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk cyclic time period administration service for the given calendar.- Parameters:
calendarId- theIdof theCalendar- Returns:
- a
CyclicTimePeriodBatchAdminSession - Throws:
NotFoundException- noCalendarfound by the givenIdNullArgumentException-calendarIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCyclicTimePeriodBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCyclicTimePeriodBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-