org.kuali.kfs.coa.service.impl
Class SubObjectTrickleDownInactivationServiceImpl

java.lang.Object
  extended by org.kuali.kfs.coa.service.impl.SubObjectTrickleDownInactivationServiceImpl
All Implemented Interfaces:
SubObjectTrickleDownInactivationService

@Transactional
public class SubObjectTrickleDownInactivationServiceImpl
extends Object
implements SubObjectTrickleDownInactivationService


Nested Class Summary
protected  class SubObjectTrickleDownInactivationServiceImpl.TrickleDownInactivationStatus
           
 
Field Summary
protected  org.kuali.rice.kns.service.BusinessObjectService businessObjectService
           
protected  org.kuali.rice.kns.service.DocumentHeaderService documentHeaderService
           
protected  org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService
           
protected  org.kuali.rice.kns.dao.MaintenanceDocumentDao maintenanceDocumentDao
           
protected  org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
           
protected  org.kuali.rice.kns.service.NoteService noteService
           
protected  UniversityDateService universityDateService
           
 
Constructor Summary
SubObjectTrickleDownInactivationServiceImpl()
           
 
Method Summary
protected  void addMaintenanceLockedNotes(String documentNumber, Map<SubObjectCode,String> lockedSubObjects, String messageKey, org.kuali.rice.kns.bo.PersistableBusinessObject noteParent, org.kuali.rice.kns.bo.Note noteTemplate)
           
protected  void addNotes(String documentNumber, List<SubObjectCode> listOfSubObjects, String messageKey, org.kuali.rice.kns.bo.PersistableBusinessObject noteParent, org.kuali.rice.kns.bo.Note noteTemplate)
           
protected  void addNotesToDocument(SubObjectTrickleDownInactivationServiceImpl.TrickleDownInactivationStatus trickleDownInactivationStatus, String documentNumber)
           
protected  String createSubObjectChunk(List<SubObjectCode> listOfSubObjects, int startIndex, int endIndex)
           
 List<org.kuali.rice.kns.document.MaintenanceLock> generateTrickleDownMaintenanceLocks(Account inactivatedAccount, String documentNumber)
           
 List<org.kuali.rice.kns.document.MaintenanceLock> generateTrickleDownMaintenanceLocks(Collection<SubObjectCode> subObjects, String documentNumber)
           
 List<org.kuali.rice.kns.document.MaintenanceLock> generateTrickleDownMaintenanceLocks(ObjectCode inactivatedObjectCode, String documentNumber)
           
protected  Collection<SubObjectCode> getAssociatedSubObjects(Account account)
           
protected  Collection<SubObjectCode> getAssociatedSubObjects(ObjectCode objectCode)
           
protected  int getNumSubObjectsPerNote()
           
protected  org.kuali.rice.kns.maintenance.Maintainable getSubObjectMaintainable(String documentNumber)
           
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
           
 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 setUniversityDateService(UniversityDateService universityDateService)
           
protected  SubObjectTrickleDownInactivationServiceImpl.TrickleDownInactivationStatus trickleDownInactivate(Collection<SubObjectCode> subObjects, String documentNumber)
           
 void trickleDownInactivateSubObjects(Account inactivatedAccount, String documentNumber)
           
 void trickleDownInactivateSubObjects(ObjectCode inactivatedObject, 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
 

Field Detail

businessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService

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

universityDateService

protected UniversityDateService universityDateService

documentHeaderService

protected org.kuali.rice.kns.service.DocumentHeaderService documentHeaderService
Constructor Detail

SubObjectTrickleDownInactivationServiceImpl

public SubObjectTrickleDownInactivationServiceImpl()
Method Detail

generateTrickleDownMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateTrickleDownMaintenanceLocks(Account inactivatedAccount,
                                                                                             String documentNumber)
Specified by:
generateTrickleDownMaintenanceLocks in interface SubObjectTrickleDownInactivationService

generateTrickleDownMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateTrickleDownMaintenanceLocks(ObjectCode inactivatedObjectCode,
                                                                                             String documentNumber)
Specified by:
generateTrickleDownMaintenanceLocks in interface SubObjectTrickleDownInactivationService

generateTrickleDownMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateTrickleDownMaintenanceLocks(Collection<SubObjectCode> subObjects,
                                                                                             String documentNumber)

trickleDownInactivateSubObjects

public void trickleDownInactivateSubObjects(Account inactivatedAccount,
                                            String documentNumber)
Specified by:
trickleDownInactivateSubObjects in interface SubObjectTrickleDownInactivationService

trickleDownInactivateSubObjects

public void trickleDownInactivateSubObjects(ObjectCode inactivatedObject,
                                            String documentNumber)
Specified by:
trickleDownInactivateSubObjects in interface SubObjectTrickleDownInactivationService

trickleDownInactivate

protected SubObjectTrickleDownInactivationServiceImpl.TrickleDownInactivationStatus trickleDownInactivate(Collection<SubObjectCode> subObjects,
                                                                                                          String documentNumber)

addNotesToDocument

protected void addNotesToDocument(SubObjectTrickleDownInactivationServiceImpl.TrickleDownInactivationStatus trickleDownInactivationStatus,
                                  String documentNumber)

verifyAllLocksFromThisDocument

protected org.kuali.rice.kns.document.MaintenanceLock verifyAllLocksFromThisDocument(List<org.kuali.rice.kns.document.MaintenanceLock> maintenanceLocks,
                                                                                     String documentNumber)

getSubObjectMaintainable

protected org.kuali.rice.kns.maintenance.Maintainable getSubObjectMaintainable(String documentNumber)

getAssociatedSubObjects

protected Collection<SubObjectCode> getAssociatedSubObjects(Account account)

getAssociatedSubObjects

protected Collection<SubObjectCode> getAssociatedSubObjects(ObjectCode objectCode)

addNotes

protected void addNotes(String documentNumber,
                        List<SubObjectCode> listOfSubObjects,
                        String messageKey,
                        org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
                        org.kuali.rice.kns.bo.Note noteTemplate)

addMaintenanceLockedNotes

protected void addMaintenanceLockedNotes(String documentNumber,
                                         Map<SubObjectCode,String> lockedSubObjects,
                                         String messageKey,
                                         org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
                                         org.kuali.rice.kns.bo.Note noteTemplate)

createSubObjectChunk

protected String createSubObjectChunk(List<SubObjectCode> listOfSubObjects,
                                      int startIndex,
                                      int endIndex)

getNumSubObjectsPerNote

protected int getNumSubObjectsPerNote()

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)

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)

setUniversityDateService

public void setUniversityDateService(UniversityDateService universityDateService)

setDocumentHeaderService

public void setDocumentHeaderService(org.kuali.rice.kns.service.DocumentHeaderService documentHeaderService)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.