public interface AccountDelegateService
Modifier and Type | Method and Description |
---|---|
FinancialSystemMaintainable |
buildMaintainableForAccountDelegate(AccountDelegate delegate)
Builds an appropriate maintainable with the given account delegate as the business object
|
String |
getLockingDocumentId(AccountDelegateGlobalMaintainableImpl global,
String docNumber)
This method checks for any MaintenanceLocks that would block the creation of this document
|
String |
getLockingDocumentId(AccountDelegateMaintainableImpl delegate,
String docNumber)
This method checks for any MaintenanceLocks that would block the creation of this document
|
boolean |
isPrincipalInAnyWayShapeOrFormPrimaryAccountDelegate(String principalId)
Determines if the given principal is an active delegate for any non-closed account
|
boolean |
isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(String principalId)
Determines if the given principal is an active delegate for any non-closed account
|
Iterator<AccountDelegate> |
retrieveAllActiveDelegationsForPerson(String principalId,
boolean primary)
Retrieves all active account delegations which delegate to the given Person
|
void |
saveChangesForGlobalMaintenanceDocument(List<org.kuali.rice.krad.bo.PersistableBusinessObject> delegatesToChange)
Persists the given account delegate global maintenance document changes
|
void |
saveForMaintenanceDocument(AccountDelegate accountDelegate)
Saves the given account delegate to the persistence store
|
void |
saveInactivationsForGlobalMaintenanceDocument(List<org.kuali.rice.krad.bo.PersistableBusinessObject> delegatesToInactivate)
Persists the given account delegate global maintenance document inactivations
|
void |
updateDelegationRole()
Updates the role that this delegate is part of, to account for the changes in this delegate
|
String getLockingDocumentId(AccountDelegateGlobalMaintainableImpl global, String docNumber)
global
- The AccountDelegateGlobalMaintainableImpl to check against.docNumber
- The document number of the AccountDelegateGlobalMaintainableImpl in question.String getLockingDocumentId(AccountDelegateMaintainableImpl delegate, String docNumber)
delegate
- The AccountDelegateMaintainableImpl to check against.docNumber
- The document number of the AccountDelegateMaintainableImpl in question.FinancialSystemMaintainable buildMaintainableForAccountDelegate(AccountDelegate delegate)
delegate
- the account delegate to wrap in a maintainableIterator<AccountDelegate> retrieveAllActiveDelegationsForPerson(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)
principalId
- the principal ID to check primary account delegations forboolean isPrincipalInAnyWayShapeOrFormSecondaryAccountDelegate(String principalId)
principalId
- the principal ID to check secondary account delegations forvoid saveForMaintenanceDocument(AccountDelegate accountDelegate)
accountDelegate
- the account delegate to savevoid saveInactivationsForGlobalMaintenanceDocument(List<org.kuali.rice.krad.bo.PersistableBusinessObject> delegatesToInactivate)
delegatesToInactivate
- the List of delegates to inactivatevoid saveChangesForGlobalMaintenanceDocument(List<org.kuali.rice.krad.bo.PersistableBusinessObject> delegatesToChange)
delegatesToChange
- the List of delegates to changevoid updateDelegationRole()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.