@Transactional public class MigratePurapStatCodeToWorkflowDocumentServiceImpl extends Object implements MigratePurapStatCodeToWorkflowDocumentService
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected org.kuali.rice.core.api.datetime.DateTimeService |
dateTimeService |
protected static org.apache.log4j.Logger |
LOG |
protected ReportWriterService |
migratePurapStatCodeReportService |
protected PurapDocumentsStatusCodeMigrationDao |
purapDocumentsStatusCodeMigrationDao |
protected StatusCodeAndDescriptionForPurapDocumentsDao |
statusCodeAndDescriptionForPurapDocumentsDao |
static String |
WORKFLOW_DOCUMENT_HEADER_ID_SEARCH_RESULT_KEY |
protected org.kuali.rice.krad.workflow.service.WorkflowDocumentService |
workflowDocumentService |
Constructor and Description |
---|
MigratePurapStatCodeToWorkflowDocumentServiceImpl()
Constructs a AutoDisapproveDocumentsServiceImpl instance
|
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute.
|
org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute.
|
protected ReportWriterService |
getMigratePurapStatCodeReportService()
Gets the migratePurapStatCodeReportService attribute.
|
PurapDocumentsStatusCodeMigrationDao |
getPurapDocumentsStatusCodeMigrationDao()
Gets the purapDocumentsStatusCodeMigrationDao attribute.
|
StatusCodeAndDescriptionForPurapDocumentsDao |
getStatusCodeAndDescriptionForPurapDocumentsDao()
Gets the statusCodeAndDescriptionForPurapDocumentsDao attribute.
|
boolean |
migratePurapStatCodeToWorkflowDocuments()
Migrate STAT_CD from PURAP documents to the corresponding
workflow documents column APP_DOC_STAT
|
protected boolean |
processLineItemReceivingDocumentsForStatusCodeMigration()
Processes the Line Item Receiving for status code migration.
|
protected boolean |
processPaymentRequestDocumentsForStatusCodeMigration()
Processes the payment request documents for status code migration.
|
protected boolean |
processPurchaseOrderDocumentsForStatusCodeMigration()
Processes the purchase order documents for status code migration.
|
protected boolean |
processRequisitionDocumentsForStatusCodeMigration()
Processes the requisitions for status code migration.
|
protected boolean |
processVendorCreditMemoDocumentsForStatusCodeMigration()
Processes the vendor credit memos for status code migration.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute.
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute.
|
void |
setMigratePurapStatCodeReportService(ReportWriterService migratePurapStatCodeReportService)
Sets the migratePurapStatCodeReportService attribute value.
|
void |
setPurapDocumentsStatusCodeMigrationDao(PurapDocumentsStatusCodeMigrationDao purapDocumentsStatusCodeMigrationDao)
Sets the purapDocumentsStatusCodeMigrationDao attribute.
|
void |
setStatusCodeAndDescriptionForPurapDocumentsDao(StatusCodeAndDescriptionForPurapDocumentsDao statusCodeAndDescriptionForPurapDocumentsDao)
Sets the statusCodeAndDescriptionForPurapDocumentsDao attribute.
|
protected void |
writeNoRecordsMessage(Map<String,String> details,
String detailName)
Helper method to write a no records to process message
|
protected static org.apache.log4j.Logger LOG
public static final String WORKFLOW_DOCUMENT_HEADER_ID_SEARCH_RESULT_KEY
protected org.kuali.rice.krad.workflow.service.WorkflowDocumentService workflowDocumentService
protected StatusCodeAndDescriptionForPurapDocumentsDao statusCodeAndDescriptionForPurapDocumentsDao
protected ReportWriterService migratePurapStatCodeReportService
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected org.kuali.rice.core.api.datetime.DateTimeService dateTimeService
protected PurapDocumentsStatusCodeMigrationDao purapDocumentsStatusCodeMigrationDao
public MigratePurapStatCodeToWorkflowDocumentServiceImpl()
public boolean migratePurapStatCodeToWorkflowDocuments()
MigratePurapStatCodeToWorkflowDocumentService
protected void writeNoRecordsMessage(Map<String,String> details, String detailName)
details
- Name of the processing details, like Requisition Documents etc,.processType
- protected boolean processRequisitionDocumentsForStatusCodeMigration()
protected boolean processPaymentRequestDocumentsForStatusCodeMigration()
protected boolean processPurchaseOrderDocumentsForStatusCodeMigration()
protected boolean processVendorCreditMemoDocumentsForStatusCodeMigration()
protected boolean processLineItemReceivingDocumentsForStatusCodeMigration()
protected ReportWriterService getMigratePurapStatCodeReportService()
public void setMigratePurapStatCodeReportService(ReportWriterService migratePurapStatCodeReportService)
migratePurapStatCodeReportService
- The autoDisapproveErrorReportWriterService to set.public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public StatusCodeAndDescriptionForPurapDocumentsDao getStatusCodeAndDescriptionForPurapDocumentsDao()
public void setStatusCodeAndDescriptionForPurapDocumentsDao(StatusCodeAndDescriptionForPurapDocumentsDao statusCodeAndDescriptionForPurapDocumentsDao)
statusCodeAndDescriptionForPurapDocumentsDao
- The statusCodeAndDescriptionForPurapDocumentsDao to set.public org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.public PurapDocumentsStatusCodeMigrationDao getPurapDocumentsStatusCodeMigrationDao()
public void setPurapDocumentsStatusCodeMigrationDao(PurapDocumentsStatusCodeMigrationDao purapDocumentsStatusCodeMigrationDao)
purapDocumentsStatusCodeMigrationDao
- The purapDocumentsStatusCodeMigrationDao to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.