Interface | osid.financials.FiscalPeriodLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving fiscal periods. This lookup session defines several views:
The methods | ||
Method | getBusinessId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Business Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBusiness | ||
Description |
Gets the | ||
Return | osid.financials.Business | the business | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupFiscalPeriods | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeFiscalPeriodView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryFiscalPeriodView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedBusinessView | ||
Description |
Federates the view for methods in this session. A federated view will include fiscal periods in catalogs which are children of this catalog in the business hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedBusinessView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this business only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getFiscalPeriod | ||
Description |
Gets the | ||
Parameters | osid.id.Id | fiscalPeriodId | the Id of the FiscalPeriod to retrieve |
Return | osid.financials.FiscalPeriod | the returned FiscalPeriod | |
Errors | NOT_FOUND | no FiscalPeriod found with the given Id | |
NULL_ARGUMENT | fiscalPeriodId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFiscalPeriodsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | fiscalPeriodIds | the list of Ids to retrieve |
Return | osid.financials.FiscalPeriodList | the returned FiscalPeriod list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | fiscalPeriodIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFiscalPeriodsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | fiscalPeriodGenusType | a fiscal period genus type |
Return | osid.financials.FiscalPeriodList | the returned FiscalPeriod list | |
Errors | NULL_ARGUMENT | fiscalPeriodGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFiscalPeriodsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | fiscalPeriodGenusType | a fiscal period genus type |
Return | osid.financials.FiscalPeriodList | the returned FiscalPeriod list | |
Errors | NULL_ARGUMENT | fiscalPeriodGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFiscalPeriodsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | fiscalPeriodRecordType | a fiscal period record type |
Return | osid.financials.FiscalPeriodList | the returned FiscalPeriod list | |
Errors | NULL_ARGUMENT | fiscalPeriodRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFiscalPeriodsByDate | ||
Description |
Gets a | ||
Parameters | osid.calendaring.DateTime | date | a date |
Return | osid.financials.FiscalPeriodList | the returned FiscalPeriod list | |
Errors | NULL_ARGUMENT | date is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFiscalPeriods | ||
Description |
Gets all | ||
Return | osid.financials.FiscalPeriodList | a list of FiscalPeriods | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |