@Transactional public class SubAccountTrickleDownInactivationServiceImpl extends Object implements SubAccountTrickleDownInactivationService
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.DocumentHeaderService |
documentHeaderService |
protected org.kuali.rice.core.api.config.property.ConfigurationService |
kualiConfigurationService |
protected org.kuali.rice.krad.dao.MaintenanceDocumentDao |
maintenanceDocumentDao |
protected org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService |
maintenanceDocumentDictionaryService |
protected org.kuali.rice.krad.service.NoteService |
noteService |
Constructor and Description |
---|
SubAccountTrickleDownInactivationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMaintenanceLockedNotes(String documentNumber,
Map<SubAccount,String> lockedSubAccounts,
String messageKey,
org.kuali.rice.krad.bo.PersistableBusinessObject noteParent,
org.kuali.rice.krad.bo.Note noteTemplate) |
protected void |
addNotes(String documentNumber,
List<SubAccount> listOfSubAccounts,
String messageKey,
org.kuali.rice.krad.bo.PersistableBusinessObject noteParent,
org.kuali.rice.krad.bo.Note noteTemplate) |
protected void |
addNotesToDocument(String documentNumber,
List<SubAccount> inactivatedSubAccounts,
Map<SubAccount,String> alreadyLockedSubAccounts,
List<SubAccount> errorPersistingSubAccounts) |
protected String |
createSubAccountChunk(List<SubAccount> listOfSubAccounts,
int startIndex,
int endIndex) |
List<org.kuali.rice.krad.maintenance.MaintenanceLock> |
generateTrickleDownMaintenanceLocks(Account inactivatedAccount,
String documentNumber)
Will generate Maintenance Locks for all (active or not) sub-accounts in the system related to the inactivated account using the sub-account
maintainable registered for the sub-account maintenance document
This version of the method assumes that the sub-account maintainable only requires that the SubAccount BOClass, document number, and SubAccount
instance only needs to be passed into it
|
protected int |
getNumSubAccountsPerNote() |
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) |
void |
setDocumentHeaderService(org.kuali.rice.krad.service.DocumentHeaderService documentHeaderService) |
void |
setMaintenanceDocumentDao(org.kuali.rice.krad.dao.MaintenanceDocumentDao maintenanceDocumentDao) |
void |
setMaintenanceDocumentDictionaryService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService) |
void |
setNoteService(org.kuali.rice.krad.service.NoteService noteService) |
void |
trickleDownInactivateSubAccounts(Account inactivatedAccount,
String documentNumber) |
protected org.kuali.rice.krad.maintenance.MaintenanceLock |
verifyAllLocksFromThisDocument(List<org.kuali.rice.krad.maintenance.MaintenanceLock> maintenanceLocks,
String documentNumber) |
protected org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
protected org.kuali.rice.krad.dao.MaintenanceDocumentDao maintenanceDocumentDao
protected org.kuali.rice.krad.service.NoteService noteService
protected org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService
protected org.kuali.rice.krad.service.DocumentHeaderService documentHeaderService
public SubAccountTrickleDownInactivationServiceImpl()
public List<org.kuali.rice.krad.maintenance.MaintenanceLock> generateTrickleDownMaintenanceLocks(Account inactivatedAccount, String documentNumber)
generateTrickleDownMaintenanceLocks
in interface SubAccountTrickleDownInactivationService
org.kuali.ole.gl.service.SubAccountTrickleDownInactivationService#generateTrickleDownMaintenanceLocks(org.kuali.ole.coa.businessobject.Account, java.lang.String)
public void trickleDownInactivateSubAccounts(Account inactivatedAccount, String documentNumber)
trickleDownInactivateSubAccounts
in interface SubAccountTrickleDownInactivationService
protected void addNotesToDocument(String documentNumber, List<SubAccount> inactivatedSubAccounts, Map<SubAccount,String> alreadyLockedSubAccounts, List<SubAccount> errorPersistingSubAccounts)
protected void addMaintenanceLockedNotes(String documentNumber, Map<SubAccount,String> lockedSubAccounts, String messageKey, org.kuali.rice.krad.bo.PersistableBusinessObject noteParent, org.kuali.rice.krad.bo.Note noteTemplate)
protected void addNotes(String documentNumber, List<SubAccount> listOfSubAccounts, String messageKey, org.kuali.rice.krad.bo.PersistableBusinessObject noteParent, org.kuali.rice.krad.bo.Note noteTemplate)
protected String createSubAccountChunk(List<SubAccount> listOfSubAccounts, int startIndex, int endIndex)
protected int getNumSubAccountsPerNote()
protected org.kuali.rice.krad.maintenance.MaintenanceLock verifyAllLocksFromThisDocument(List<org.kuali.rice.krad.maintenance.MaintenanceLock> maintenanceLocks, String documentNumber)
public void setMaintenanceDocumentDictionaryService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService)
public void setMaintenanceDocumentDao(org.kuali.rice.krad.dao.MaintenanceDocumentDao maintenanceDocumentDao)
public void setNoteService(org.kuali.rice.krad.service.NoteService noteService)
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
public void setDocumentHeaderService(org.kuali.rice.krad.service.DocumentHeaderService documentHeaderService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.