public class AwardSyncUtilityServiceImpl extends Object implements AwardSyncUtilityService
| Constructor and Description |
|---|
AwardSyncUtilityServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
buildListForFYI(AwardDocument awardDocument)
Based on org.kuali.rice.kew.routelog.web.RouteLogAction.populateRouteLogFutureRequests
that is used to generate the list of requests for a document enroute.
|
boolean |
doKeyValuesMatch(org.kuali.rice.krad.bo.PersistableBusinessObject object,
Map<String,Object> keyValues)
Returns true if the object passed in has the same sync keys as keyValues.
|
protected String |
expandErrorString(String errorKey,
String[] params)
Take the error key and expand as would happen when displaying error
to the client.
|
org.kuali.rice.krad.bo.PersistableBusinessObject |
findMatchingBo(Collection<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> items,
Map<String,Object> keyValues)
Finds a BO in the collection whose keys match those in the keyValue map.
|
protected org.kuali.rice.core.api.config.property.ConfigurationService |
getKualiConfigurationService() |
List<AwardSyncLog> |
getLogsFromAuditErrors(AwardSyncStatus awardStatus)
Parse the audit error map out and generate hierarchy sync logs expanding out
the error key for the real error.
|
List<AwardSyncLog> |
getLogsFromSaveErrors(AwardSyncStatus awardStatus)
Parse the message map and grab error messages out expanding the error key for the status
message.
|
protected List<org.kuali.rice.kew.actionrequest.ActionRequestValue> |
reconstituteActionRequestValues(org.kuali.rice.kew.api.document.DocumentDetail documentDetail,
Set<String> preexistingActionRequestIds)
Copied from org.kuali.rice.kew.routelog.web.RouteLogAction.
|
void |
setKualiConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) |
void |
setWorkflowUtility(org.kuali.rice.kew.api.action.WorkflowDocumentActionsService workflowUtility) |
public List<AwardSyncLog> getLogsFromSaveErrors(AwardSyncStatus awardStatus)
AwardSyncUtilityServicegetLogsFromSaveErrors in interface AwardSyncUtilityServiceorg.kuali.kra.award.awardhierarchy.sync.service.AwardSyncUtilityService#getLogsFromSaveErrors(org.kuali.kra.award.home.Award, org.kuali.kra.award.home.Award)public List<AwardSyncLog> getLogsFromAuditErrors(AwardSyncStatus awardStatus)
AwardSyncUtilityServicegetLogsFromAuditErrors in interface AwardSyncUtilityServiceorg.kuali.kra.award.awardhierarchy.sync.service.AwardSyncUtilityService#getLogsFromAuditErrors(org.kuali.kra.award.home.Award, org.kuali.kra.award.home.Award)protected String expandErrorString(String errorKey, String[] params)
errorKey - params - public List<String> buildListForFYI(AwardDocument awardDocument) throws org.kuali.rice.kew.api.exception.WorkflowException
AwardSyncUtilityServicebuildListForFYI in interface AwardSyncUtilityServiceorg.kuali.rice.kew.api.exception.WorkflowExceptionAwardSyncUtilityService.buildListForFYI(org.kuali.kra.award.document.AwardDocument)public boolean doKeyValuesMatch(org.kuali.rice.krad.bo.PersistableBusinessObject object,
Map<String,Object> keyValues)
throws NoSuchFieldException,
IllegalAccessException,
InvocationTargetException,
ClassNotFoundException
AwardSyncUtilityServicedoKeyValuesMatch in interface AwardSyncUtilityServiceNoSuchFieldExceptionIllegalAccessExceptionInvocationTargetExceptionClassNotFoundExceptionpublic org.kuali.rice.krad.bo.PersistableBusinessObject findMatchingBo(Collection<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> items, Map<String,Object> keyValues) throws NoSuchFieldException, IllegalAccessException, InvocationTargetException, ClassNotFoundException
findMatchingBo in interface AwardSyncUtilityServiceitems - keyValues - NoSuchFieldExceptionIllegalAccessExceptionInvocationTargetExceptionClassNotFoundExceptionprotected List<org.kuali.rice.kew.actionrequest.ActionRequestValue> reconstituteActionRequestValues(org.kuali.rice.kew.api.document.DocumentDetail documentDetail, Set<String> preexistingActionRequestIds)
WorkflowUtility#routingReport(ReportCriteriaDTO)Report()documentDetail - contains the DTOs from which the ActionRequestValues are reconstitutedpublic void setWorkflowUtility(org.kuali.rice.kew.api.action.WorkflowDocumentActionsService workflowUtility)
protected org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
public void setKualiConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.