|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccountDao
This interface defines what methods of data retrieval should be allowed for Account, and
AccountDelegate. It also defines a method for checking if a given User is responsible for an Account
| Method Summary | |
|---|---|
boolean |
determineUserResponsibilityOnAccount(org.kuali.rice.kim.bo.Person person,
Account account)
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.bo.Person kualiUser)
fetch the AccountResponsibility objects that the user has associated with them |
Iterator<Account> |
getActiveAccountsForAccountSupervisor(String principalId)
Retrieves all active accounts from the database where the given principal is the account supervisor |
Iterator<Account> |
getActiveAccountsForFiscalOfficer(String principalId)
Retrieves all active accounts from the database where the given principal is the fiscal officer |
Iterator |
getAllAccounts()
get all accounts in the system. |
Account |
getByPrimaryId(String chartOfAccountsCode,
String accountNumber)
|
Iterator<Account> |
getExpiredAccountsForAccountSupervisor(String principalId)
Retrieves all active accounts from the database where the given principal is the account supervisor |
Iterator<Account> |
getExpiredAccountsForFiscalOfficer(String principalId)
Retrieves all expired accounts from the database where the given principal is the fiscal officer |
List |
getPrimaryDelegationByExample(AccountDelegate delegateExample,
String totalDollarAmount)
|
List |
getSecondaryDelegationsByExample(AccountDelegate delegateExample,
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 |
| Method Detail |
|---|
Account getByPrimaryId(String chartOfAccountsCode,
String accountNumber)
chartOfAccountsCode - - part of composite keyaccountNumber - - part of composite key
List getPrimaryDelegationByExample(AccountDelegate delegateExample,
String totalDollarAmount)
AccountService.getPrimaryDelegationByExample(org.kuali.kfs.coa.businessobject.AccountDelegate,
java.lang.String)
List getSecondaryDelegationsByExample(AccountDelegate delegateExample,
String totalDollarAmount)
AccountService.getSecondaryDelegationsByExample(org.kuali.kfs.coa.businessobject.AccountDelegate,
java.lang.String)List getAccountsThatUserIsResponsibleFor(org.kuali.rice.kim.bo.Person kualiUser)
kualiUser -
boolean determineUserResponsibilityOnAccount(org.kuali.rice.kim.bo.Person person,
Account account)
person - the user to check responsibilities foraccount - the account to check responsibilities on
Iterator getAllAccounts()
Iterator<Account> getActiveAccountsForFiscalOfficer(String principalId)
principalId - the principal id of the fiscal officer
Iterator<Account> getExpiredAccountsForFiscalOfficer(String principalId)
principalId - the principal id of the fiscal officer
Iterator<Account> getActiveAccountsForAccountSupervisor(String principalId)
principalId - the principal id of the account supervisor
Iterator<Account> getExpiredAccountsForAccountSupervisor(String principalId)
principalId - the principal id of the account supervisor
boolean isPrincipalInAnyWayShapeOrFormFiscalOfficer(String principalId)
principalId - the principal to check for the fiscal officer role
boolean isPrincipalInAnyWayShapeOrFormAccountSupervisor(String principalId)
principalId - the principal to check for the account supervisor role
boolean isPrincipalInAnyWayShapeOrFormAccountManager(String principalId)
principalId - the principal to check for the account manager role
Collection<Account> getAccountsForAccountNumber(String accountNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||