| Interface | osid.financials.posting.PostEntryLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  Generally, the comparative view should be used for most 
                applications as it permits operation even if there is data 
                that cannot be accessed. 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 | canLookupPostEntries | ||
| 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 | useComparativePostEntryView | ||
| 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 | usePlenaryPostEntryView | ||
| 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 post entries in businesses which are children of this business 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 lookups to this business only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getPostEntry | ||
| Description | 
                     Gets the     | ||
| Parameters | osid.id.Id | postEntryId |  Id  of the  PostEntry   | 
| Return | osid.financials.posting.PostEntry | the entry | |
| Errors | NOT_FOUND |  postEntryId  not found  |                 |
| NULL_ARGUMENT |  postEntryId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getPostEntriesByIds | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.IdList | postEntryIds | the list of  Ids  to retrieve  | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  postEntryIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByGenusType | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.type.Type | entryGenusType | a post entry genus type | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  entryGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByParentGenusType | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.type.Type | entryGenusType | a post entry genus type | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  entryGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByRecordType | ||
| Description | 
                     Gets q     | ||
| Parameters | osid.type.Type | postEntryRecordType | a post entry record type | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  postEntryRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesForPost | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | postId | a post  Id   | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  postId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByFiscalPeriod | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | fiscalPeriodId | a fiscal period  Id   | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  fiscalPeriodId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByDate | ||
| Description | 
                     Gets a  In plenary mode, the returned list contains all known post entries or an error results. Otherwise, the returned list may contain only those post entries that are accessible through this session.  | ||
| Parameters | osid.calendaring.DateTime | from | start of date range | 
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  from  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByAccount | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | accountId | an account  Id   | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  accountId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByAccountAndFiscalPeriod | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | accountId | an account  Id   | 
osid.id.Id | fiscalPeriodId | a fiscal period  Id   | |
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  accountId  or  fiscalPeriodId  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByActivity | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | activityId | an activity  Id   | 
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  activityId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByActivityAndFiscalPeriod | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | activityId | an activity  Id   | 
osid.id.Id | fiscalPeriodId | a fiscal period  Id   | |
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  activityId  or  fiscalPeriodId  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByAccountAndActivity | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | accountId | an account  Id   | 
osid.id.Id | activityId | an activity  Id   | |
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  accountId  or  activityId  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntriesByAccountAndActivityAndFiscalPeriod | ||
| Description | 
                     Gets a     | ||
| Parameters | osid.id.Id | accountId | an account  Id   | 
osid.id.Id | activityId | an activity  Id   | |
osid.id.Id | fiscalPeriodId | a fiscal period  Id   | |
| Return | osid.financials.posting.PostEntryList | the returned  PostEntry  list  | |
| Errors | NULL_ARGUMENT |  accountId, activityId,  or  fiscalPeriodId  is 
 null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPostEntries | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known post entries or an error results. Otherwise, the returned list may contain only those post entries that are accessible through this session.  | ||
| Return | osid.financials.posting.PostEntryList | a list of  PostEntries   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |