Interface BillingBatchManager
- All Superinterfaces:
AutoCloseable, BillingBatchProfile, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
The billing batch manager provides access to billing batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
CustomerBatchAdminSession: a session to create, modify and delete customers in bulk -
ItemBatchSession: a session to create, modify and delete items in bulk -
EntryBatchAdminSession: a session to create, modify and delete entries in bulk -
CategoryBatchAdminSession: a session to create, modify and delete categories in bulk -
PeriodBatchAdminSession: a session to create, modify and delete periods in bulk -
BusinessBatchAdminSession: a session to create, modify and delete businesses in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk business administration service.Gets theOsidSessionassociated with the bulk category administration service.getCategoryBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk category administration service for the given business.Gets theOsidSessionassociated with the bulk customer administration service.getCustomerBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk customer administration service for the given business.Gets theOsidSessionassociated with the bulk entry administration service.getEntryBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk entry administration service for the given business.Gets theOsidSessionassociated with the bulk item administration service.getItemBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk item administration service for the given businessGets theOsidSessionassociated with the bulk period administration service.getPeriodBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk period administration service for the given business.Methods inherited from interface BillingBatchProfile
supportsBusinessBatchAdmin, supportsCategoryBatchAdmin, supportsCustomerBatchAdmin, supportsEntryBatchAdmin, supportsItemBatchAdmin, supportsPeriodBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of businesses is available.booleanTests if bulk administration of categories is available.booleanTests if bulk administration of customers is available.booleanTests if bulk administration of entries is available.booleanTests if bulk administration of items is available.booleanTests if bulk administration of 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
-
getCustomerBatchAdminSession
Gets theOsidSessionassociated with the bulk customer administration service.- Returns:
- a
CustomerBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCustomerBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCustomerBatchAdmin()} is {@code true} .
-
getCustomerBatchAdminSessionForBusiness
CustomerBatchAdminSession getCustomerBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk customer administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- a
CustomerBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCustomerBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCustomerBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getItemBatchAdminSession
Gets theOsidSessionassociated with the bulk item administration service.- Returns:
- an
ItemBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} is {@code true} .
-
getItemBatchAdminSessionForBusiness
ItemBatchAdminSession getItemBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk item administration service for the given business- Parameters:
businessId- theIdof theBusiness- Returns:
- an
ItemBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getEntryBatchAdminSession
Gets theOsidSessionassociated with the bulk entry administration service.- Returns:
- an
EntryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryBatchAdmin()} is {@code true} .
-
getEntryBatchAdminSessionForBusiness
EntryBatchAdminSession getEntryBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk entry administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- an
EntryBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCategoryBatchAdminSession
Gets theOsidSessionassociated with the bulk category administration service.- Returns:
- a
CategoryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCategoryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCategoryBatchAdmin()} is {@code true} .
-
getCategoryBatchAdminSessionForBusiness
CategoryBatchAdminSession getCategoryBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk category administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- a
CategoryBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCategoryBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCategoryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getPeriodBatchAdminSession
Gets theOsidSessionassociated with the bulk period administration service.- Returns:
- a
PeriodBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPeriodBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPeriodBatchAdmin()} is {@code true} .
-
getPeriodBatchAdminSessionForBusiness
PeriodBatchAdminSession getPeriodBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk period administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- a
PeriodBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPeriodBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPeriodBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getBusinessBatchAdminSession
Gets theOsidSessionassociated with the bulk business administration service.- Returns:
- a
BusinessBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBusinessBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBusinessBatchAdmin()} is {@code true} .
-