Interface FinancialsBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, FinancialsBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The financials batch manager provides access to financials batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
AccountBatchAdminSession: a session to create, modify and delete accounts in bulk -
ActivityBatchAdminSession: a session to create, modify and delete activities in bulk -
FiscalPeriodBatchAdminSession: a session to create, modify and delete fiscal periods in bulk -
BusinessBatchAdminSession: a session to create, modify and delete businesses in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk account administration service.getAccountBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk account administration service for the given business.Gets theOsidSessionassociated with the bulk activity administration service.getActivityBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk activity administration service for the given business.Gets theOsidSessionassociated with the bulk business administration service.Gets theOsidSessionassociated with the bulk fiscal period administration service.getFiscalPeriodBatchAdminSessionForBusiness(Id businessId) Gets theOsidSessionassociated with the bulk fiscal period administration service for the given business.Methods inherited from interface FinancialsBatchProfile
supportsAccountBatchAdmin, supportsActivityBatchAdmin, supportsBusinessBatchAdmin, supportsFiscalPeriodBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of accounts is available.booleanTests if bulk administration of activities is available.booleanTests if bulk administration of businesses is available.booleanTests if bulk administration of fiscal 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
-
getAccountBatchAdminSession
Gets theOsidSessionassociated with the bulk account administration service.- Returns:
- an
AccountBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAccountBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAccountBatchAdmin()} is {@code true} .
-
getAccountBatchAdminSessionForBusiness
AccountBatchAdminSession getAccountBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk account administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- an
AccountBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAccountBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAccountBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getActivityBatchAdminSession
Gets theOsidSessionassociated with the bulk activity administration service.- Returns:
- an
ActivityBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsActivityBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityBatchAdmin()} is {@code true} .
-
getActivityBatchAdminSessionForBusiness
ActivityBatchAdminSession getActivityBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk activity administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- an
ActivityBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsActivityBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getFiscalPeriodBatchAdminSession
Gets theOsidSessionassociated with the bulk fiscal period administration service.- Returns:
- a
FiscalPeriodBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFiscalPeriodBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFiscalPeriodBatchAdmin()} is {@code true} .
-
getFiscalPeriodBatchAdminSessionForBusiness
FiscalPeriodBatchAdminSession getFiscalPeriodBatchAdminSessionForBusiness(Id businessId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk fiscal period administration service for the given business.- Parameters:
businessId- theIdof theBusiness- Returns:
- a
FiscalPeriodBatchAdminSession - Throws:
NotFoundException- noBusinessfound by the givenIdNullArgumentException-businessIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFiscalPeriodBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFiscalPeriodBatchAdmin()} 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} .
-