org.kuali.kfs.coa.service.impl
Class SubAccountTrickleDownInactivationServiceImpl
java.lang.Object
org.kuali.kfs.coa.service.impl.SubAccountTrickleDownInactivationServiceImpl
- All Implemented Interfaces:
- SubAccountTrickleDownInactivationService
@Transactional
public class SubAccountTrickleDownInactivationServiceImpl
- extends Object
- implements SubAccountTrickleDownInactivationService
Method Summary |
protected void |
addMaintenanceLockedNotes(String documentNumber,
Map<SubAccount,String> lockedSubAccounts,
String messageKey,
org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
org.kuali.rice.kns.bo.Note noteTemplate)
|
protected void |
addNotes(String documentNumber,
List<SubAccount> listOfSubAccounts,
String messageKey,
org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
org.kuali.rice.kns.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.kns.document.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 |
setDocumentHeaderService(org.kuali.rice.kns.service.DocumentHeaderService documentHeaderService)
|
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
|
void |
setMaintenanceDocumentDao(org.kuali.rice.kns.dao.MaintenanceDocumentDao maintenanceDocumentDao)
|
void |
setMaintenanceDocumentDictionaryService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService)
|
void |
setNoteService(org.kuali.rice.kns.service.NoteService noteService)
|
void |
trickleDownInactivateSubAccounts(Account inactivatedAccount,
String documentNumber)
|
protected org.kuali.rice.kns.document.MaintenanceLock |
verifyAllLocksFromThisDocument(List<org.kuali.rice.kns.document.MaintenanceLock> maintenanceLocks,
String documentNumber)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maintenanceDocumentDictionaryService
protected org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
maintenanceDocumentDao
protected org.kuali.rice.kns.dao.MaintenanceDocumentDao maintenanceDocumentDao
noteService
protected org.kuali.rice.kns.service.NoteService noteService
kualiConfigurationService
protected org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService
documentHeaderService
protected org.kuali.rice.kns.service.DocumentHeaderService documentHeaderService
SubAccountTrickleDownInactivationServiceImpl
public SubAccountTrickleDownInactivationServiceImpl()
generateTrickleDownMaintenanceLocks
public List<org.kuali.rice.kns.document.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
- Specified by:
generateTrickleDownMaintenanceLocks
in interface SubAccountTrickleDownInactivationService
- See Also:
org.kuali.kfs.gl.service.SubAccountTrickleDownInactivationService#generateTrickleDownMaintenanceLocks(org.kuali.kfs.coa.businessobject.Account, java.lang.String)
trickleDownInactivateSubAccounts
public void trickleDownInactivateSubAccounts(Account inactivatedAccount,
String documentNumber)
- Specified by:
trickleDownInactivateSubAccounts
in interface SubAccountTrickleDownInactivationService
addNotesToDocument
protected void addNotesToDocument(String documentNumber,
List<SubAccount> inactivatedSubAccounts,
Map<SubAccount,String> alreadyLockedSubAccounts,
List<SubAccount> errorPersistingSubAccounts)
addMaintenanceLockedNotes
protected void addMaintenanceLockedNotes(String documentNumber,
Map<SubAccount,String> lockedSubAccounts,
String messageKey,
org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
org.kuali.rice.kns.bo.Note noteTemplate)
addNotes
protected void addNotes(String documentNumber,
List<SubAccount> listOfSubAccounts,
String messageKey,
org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
org.kuali.rice.kns.bo.Note noteTemplate)
createSubAccountChunk
protected String createSubAccountChunk(List<SubAccount> listOfSubAccounts,
int startIndex,
int endIndex)
getNumSubAccountsPerNote
protected int getNumSubAccountsPerNote()
verifyAllLocksFromThisDocument
protected org.kuali.rice.kns.document.MaintenanceLock verifyAllLocksFromThisDocument(List<org.kuali.rice.kns.document.MaintenanceLock> maintenanceLocks,
String documentNumber)
setMaintenanceDocumentDictionaryService
public void setMaintenanceDocumentDictionaryService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService)
setMaintenanceDocumentDao
public void setMaintenanceDocumentDao(org.kuali.rice.kns.dao.MaintenanceDocumentDao maintenanceDocumentDao)
setNoteService
public void setNoteService(org.kuali.rice.kns.service.NoteService noteService)
setKualiConfigurationService
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
setDocumentHeaderService
public void setDocumentHeaderService(org.kuali.rice.kns.service.DocumentHeaderService documentHeaderService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.