public interface AccountDelegateDao
Modifier and Type | Method and Description |
---|---|
Iterator<AccountDelegate> |
getAccountDelegationsForPerson(String principalId,
boolean primary)
Retrieves all active account delegates which reference the given user
|
String |
getLockingDocumentNumber(String lockingRepresentation,
String documentNumber)
Retrieves the Document Number of any AccountDelegate locking this record.
|
boolean |
isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate(String principalId,
Date currentSqlDate)
Determines if the given principal is an active delegate for any non-closed account
|
boolean |
isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(String principalId,
Date currentSqlDate)
Determines if the given principal is an active delegate for any non-closed account
|
String getLockingDocumentNumber(String lockingRepresentation, String documentNumber)
lockingRepresentation
- String representation of the MaintanceLock to check against.documentNumber
- the document number being checked against.Iterator<AccountDelegate> getAccountDelegationsForPerson(String principalId, boolean primary)
principalId
- a principal ID of the person to find account delegations forprimary
- whether the account delegates returned should be primary or notboolean isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate(String principalId, Date currentSqlDate)
principalId
- the principal ID to check primary account delegations forcurrentSqlDate
- boolean isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(String principalId, Date currentSqlDate)
principalId
- the principal ID to check secondary account delegations forcurrentSqlDate
- current Sql dateCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.