|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.coa.service.impl.OrganizationReversionDetailTrickleDownInactivationServiceImpl.TrickleDownStatus
protected class OrganizationReversionDetailTrickleDownInactivationServiceImpl.TrickleDownStatus
Inner class to keep track of what organization reversions were inactivated and which had errors when the persisting of the inactivation was attempted
Constructor Summary | |
---|---|
OrganizationReversionDetailTrickleDownInactivationServiceImpl.TrickleDownStatus(String successfullyChangedOrganizationReversionDetailsMessageKey,
String erroredOutOrganizationReversionDetailsMessageKey)
Constructs a OrganizationReversionDetailTrickleDownInactivationServiceImpl |
Method Summary | |
---|---|
void |
addErrorPersistingOrganizationReversionDetail(OrganizationReversionDetail organizationReversionDetail)
Adds an organization reversion detail which could not successful persist its activation to the error message list |
void |
addOrganizationReversionDetail(OrganizationReversionDetail organizationReversionDetail)
Adds an organization reversion detail which had a successfully persisted activation to the message list |
protected org.kuali.rice.kns.bo.Note |
buildNote(String description,
String messageKey,
org.kuali.rice.kns.bo.Note noteTemplate,
org.kuali.rice.kns.bo.PersistableBusinessObject noteParent)
Builds a note |
protected List<org.kuali.rice.kns.bo.Note> |
generateNotes(String messageKey,
org.kuali.rice.kns.bo.PersistableBusinessObject noteParent,
List<OrganizationReversionDetail> organizationReversionDetails)
Builds a List of Notes out of a list of OrganizationReversionDescriptions |
protected List<String> |
generateOrganizationReversionDetailsForNotes(List<OrganizationReversionDetail> organizationReversionDetails)
Builds organization reverion detail descriptions to populate notes |
protected int |
getDetailsPerNote()
|
protected String |
getOrganizationReversionDetailDescription(OrganizationReversionDetail organizationReversionDetail)
Beautifully and eloquently describes an organization reversion detail |
protected void |
saveAllNotes(List<OrganizationReversionDetail> organizationReversionDetails,
String messageKey,
String documentNumber)
Saves notes to a document |
void |
saveErrorNotes(String documentNumber)
Adds all the notes about inactivations which couldn't be saved |
void |
saveSuccesfullyChangedNotes(String documentNumber)
Adds all the notes about successful inactivations |
void |
setErroredOutOrganizationReversionDetailsMessageKey(String erroredOutOrganizationReversionDetailsMessageKey)
Sets the erroredOutOrganizationReversionDetailsMessageKey attribute value. |
void |
setSuccessfullyChangedOrganizationReversionDetailsMessageKey(String successfullyChangedOrganizationReversionDetailsMessageKey)
Sets the successfullyChangedOrganizationReversionDetailsMessageKey attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrganizationReversionDetailTrickleDownInactivationServiceImpl.TrickleDownStatus(String successfullyChangedOrganizationReversionDetailsMessageKey, String erroredOutOrganizationReversionDetailsMessageKey)
Method Detail |
---|
public void addOrganizationReversionDetail(OrganizationReversionDetail organizationReversionDetail)
organizationReversionDetail
- the detail to add to the listpublic void addErrorPersistingOrganizationReversionDetail(OrganizationReversionDetail organizationReversionDetail)
organizationReversionDetail
- the detail to add to the listprotected int getDetailsPerNote()
protected List<org.kuali.rice.kns.bo.Note> generateNotes(String messageKey, org.kuali.rice.kns.bo.PersistableBusinessObject noteParent, List<OrganizationReversionDetail> organizationReversionDetails)
messageKey
- the key of the note text in ApplicationResources.propertiesnoteParent
- the thing to stick the note onorganizationReversionDetails
- the List of OrganizationReversionDetails to make notes about
protected org.kuali.rice.kns.bo.Note buildNote(String description, String messageKey, org.kuali.rice.kns.bo.Note noteTemplate, org.kuali.rice.kns.bo.PersistableBusinessObject noteParent)
description
- a description to put into the message of the notemessageKey
- the key of the note text in ApplicationResources.propertiesnoteTemplate
- the template for the notenoteParent
- the thing to stick the note on
protected List<String> generateOrganizationReversionDetailsForNotes(List<OrganizationReversionDetail> organizationReversionDetails)
organizationReversionDetails
- the list of details to convert to notes
protected String getOrganizationReversionDetailDescription(OrganizationReversionDetail organizationReversionDetail)
organizationReversionDetail
- the organization reversion detail to describe
protected void saveAllNotes(List<OrganizationReversionDetail> organizationReversionDetails, String messageKey, String documentNumber)
organizationReversionDetails
- the details to make notes aboutmessageKey
- the message key of the text of the notedocumentNumber
- the document number to write topublic void saveSuccesfullyChangedNotes(String documentNumber)
documentNumber
- document number to save them topublic void saveErrorNotes(String documentNumber)
documentNumber
- the document number to save them topublic void setErroredOutOrganizationReversionDetailsMessageKey(String erroredOutOrganizationReversionDetailsMessageKey)
erroredOutOrganizationReversionDetailsMessageKey
- The erroredOutOrganizationReversionDetailsMessageKey to set.public void setSuccessfullyChangedOrganizationReversionDetailsMessageKey(String successfullyChangedOrganizationReversionDetailsMessageKey)
successfullyChangedOrganizationReversionDetailsMessageKey
- The successfullyChangedOrganizationReversionDetailsMessageKey to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |