public interface AccountDao
Account
, and
AccountDelegate
. It also defines a method for checking if a given User is responsible
for an AccountModifier and Type | Method and Description |
---|---|
boolean |
determineUserResponsibilityOnAccount(org.kuali.rice.kim.api.identity.Person person,
Account account,
Date currentSqlDate)
This method should determine if the given user has any responsibilities on the given account
|
Collection<Account> |
getAccountsForAccountNumber(String accountNumber) |
List |
getAccountsThatUserIsResponsibleFor(org.kuali.rice.kim.api.identity.Person kualiUser,
Date currentDate)
fetch the AccountResponsibility objects that the user has associated with them
|
Iterator<Account> |
getActiveAccountsForAccountSupervisor(String principalId,
Date currentSalDate)
Retrieves all active accounts from the database where the given principal is the account supervisor
|
Iterator<Account> |
getActiveAccountsForFiscalOfficer(String principalId,
Date currentSqlDate)
Retrieves all active accounts from the database where the given principal is the fiscal officer
|
Iterator |
getAllAccounts()
get all accounts in the system.
|
Iterator<Account> |
getExpiredAccountsForAccountSupervisor(String principalId,
Date currentSqlDate)
Retrieves all active accounts from the database where the given principal is the account supervisor
|
Iterator<Account> |
getExpiredAccountsForFiscalOfficer(String principalId,
Date currentSqlDate)
Retrieves all expired accounts from the database where the given principal is the fiscal officer
|
List |
getPrimaryDelegationByExample(AccountDelegate delegateExample,
Date currentSqlDate,
String totalDollarAmount) |
List |
getSecondaryDelegationsByExample(AccountDelegate delegateExample,
Date currentSqlDate,
String totalDollarAmount) |
boolean |
isPrincipalInAnyWayShapeOrFormAccountManager(String principalId)
Determines if the given principal is the account manager of any non-closed account
|
boolean |
isPrincipalInAnyWayShapeOrFormAccountSupervisor(String principalId)
Determines if the given principal is the account supervisor of any non-closed account
|
boolean |
isPrincipalInAnyWayShapeOrFormFiscalOfficer(String principalId)
Determines if the given principal is the fiscal officer of any non-closed account
|
List getPrimaryDelegationByExample(AccountDelegate delegateExample, Date currentSqlDate, String totalDollarAmount)
List getSecondaryDelegationsByExample(AccountDelegate delegateExample, Date currentSqlDate, String totalDollarAmount)
List getAccountsThatUserIsResponsibleFor(org.kuali.rice.kim.api.identity.Person kualiUser, Date currentDate)
kualiUser
- currentDate
- current dateboolean determineUserResponsibilityOnAccount(org.kuali.rice.kim.api.identity.Person person, Account account, Date currentSqlDate)
person
- the user to check responsibilities foraccount
- the account to check responsibilities oncurrentSqlDate
- current Sql dateIterator getAllAccounts()
Iterator<Account> getActiveAccountsForFiscalOfficer(String principalId, Date currentSqlDate)
principalId
- the principal id of the fiscal officercurrentSqlDate
- current sql dateIterator<Account> getExpiredAccountsForFiscalOfficer(String principalId, Date currentSqlDate)
principalId
- the principal id of the fiscal officercurrentSqlDate
- current Sql DateIterator<Account> getActiveAccountsForAccountSupervisor(String principalId, Date currentSalDate)
principalId
- the principal id of the account supervisorcurrentSalDate
- Iterator<Account> getExpiredAccountsForAccountSupervisor(String principalId, Date currentSqlDate)
principalId
- the principal id of the account supervisorcurrentSqlDate
- current Sql Dateboolean isPrincipalInAnyWayShapeOrFormFiscalOfficer(String principalId)
principalId
- the principal to check for the fiscal officer roleboolean isPrincipalInAnyWayShapeOrFormAccountSupervisor(String principalId)
principalId
- the principal to check for the account supervisor roleboolean isPrincipalInAnyWayShapeOrFormAccountManager(String principalId)
principalId
- the principal to check for the account manager roleCollection<Account> getAccountsForAccountNumber(String accountNumber)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.