@Transactional public class FinancialSystemDocumentServiceImpl extends Object implements FinancialSystemDocumentService
findByDocumentHeaderStatusCode(Class, String)
method.Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected org.kuali.rice.krad.service.DocumentAdHocService |
documentAdHocService |
protected org.kuali.rice.krad.service.DocumentService |
documentService |
protected FinancialSystemDocumentDao |
financialSystemDocumentDao |
protected FinancialSystemDocumentHeaderDao |
financialSystemDocumentHeaderDao |
static org.apache.log4j.Logger |
LOG |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
parameterService |
Constructor and Description |
---|
FinancialSystemDocumentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
<T extends org.kuali.rice.krad.document.Document> |
findByApplicationDocumentStatus(Class<T> clazz,
String applicationDocumentStatus)
Looks up all Documents of the given class that have the given application document status
|
Collection<FinancialSystemDocumentHeader> |
findByApplicationDocumentStatus(String applicationDocumentStatus)
This method retrieves the financial system document headers of all the documents having application document status passed in.
|
<T extends org.kuali.rice.krad.document.Document> |
findByDocumentHeaderStatusCode(Class<T> clazz,
String statusCode)
Looks up all Documents of the given class that are in the state of the given KFS document status code
|
FinancialSystemDocumentHeader |
findByDocumentNumber(String documentNumber)
This method takes a document number in and returns the relevant document header
|
<T extends org.kuali.rice.krad.document.Document> |
findByWorkflowStatusCode(Class<T> clazz,
org.kuali.rice.kew.api.document.DocumentStatus docStatus)
Looks up all Documents of the given class that have the given workflow DocumentStatus
|
Collection<FinancialSystemDocumentHeader> |
findByWorkflowStatusCode(org.kuali.rice.kew.api.document.DocumentStatus docStatus) |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.krad.bo.DocumentHeader |
getCorrectingDocumentHeader(String documentId)
Defers to the DAO
|
org.kuali.rice.krad.service.DocumentService |
getDocumentService() |
protected Set<String> |
getDocumentStatusesForCategory(org.kuali.rice.kew.api.document.DocumentStatusCategory documentStatusCategory)
Turns all of the Rice KEW DocumentStatus codes for the given category into a Set of String codes
|
int |
getFetchMoreIterationLimit() |
FinancialSystemDocumentDao |
getFinancialSystemDocumentDao() |
FinancialSystemDocumentHeaderDao |
getFinancialSystemDocumentHeaderDao() |
int |
getMaxResultCap(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
Returns the maximum number of results that should be returned from the document search.
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Gets the parameterService attribute.
|
Set<String> |
getPendingDocumentStatuses()
Convenience method which turns the DocumentStatusCategory.PENDING document statuses into a Set of the status codes as Strings
As of the time of this commenting, the pending statuses are Initiated (I), Saved (S), Enroute (R), and Exception (E)
|
Set<String> |
getSuccessfulDocumentStatuses()
Convenience method which turns the DocumentStatusCategory.SUCCESSFUL document statuses into a Set of status codes as Strings
As of the time of this commenting, the successful statuses are Processed (P) and Final (F)
|
Set<String> |
getUnsuccessfulDocumentStatuses()
Convenience method which turns the DocumentStatusCategory.UNSUCCESSFUL document statuses into a Set of status codes as Strings
As of the time of this commenting, the unsuccessful statuses are Canceled (X), Disapproved (D), and Recalled (L)
|
void |
prepareToCopy(FinancialSystemDocumentHeader oldDocumentHeader,
FinancialSystemTransactionalDocument document) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setDocumentAdHocService(org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService) |
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService) |
void |
setFinancialSystemDocumentDao(FinancialSystemDocumentDao financialSystemDocumentDao) |
void |
setFinancialSystemDocumentHeaderDao(FinancialSystemDocumentHeaderDao financialSystemDocumentHeaderDao) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute.
|
protected FinancialSystemDocumentHeaderDao financialSystemDocumentHeaderDao
protected FinancialSystemDocumentDao financialSystemDocumentDao
protected org.kuali.rice.krad.service.DocumentService documentService
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
protected org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
public static final org.apache.log4j.Logger LOG
public FinancialSystemDocumentServiceImpl()
public <T extends org.kuali.rice.krad.document.Document> Collection<T> findByDocumentHeaderStatusCode(Class<T> clazz, String statusCode) throws org.kuali.rice.kew.api.exception.WorkflowException
FinancialSystemDocumentService
findByDocumentHeaderStatusCode
in interface FinancialSystemDocumentService
clazz
- the class of the document to look upstatusCode
- the KFS status code to look uporg.kuali.rice.kew.api.exception.WorkflowException
- if the workflow document cannot be accessed for any reasonFinancialSystemDocumentService.findByDocumentHeaderStatusCode(java.lang.Class,
java.lang.String)
public <T extends org.kuali.rice.krad.document.Document> Collection<T> findByWorkflowStatusCode(Class<T> clazz, org.kuali.rice.kew.api.document.DocumentStatus docStatus) throws org.kuali.rice.kew.api.exception.WorkflowException
FinancialSystemDocumentService
findByWorkflowStatusCode
in interface FinancialSystemDocumentService
clazz
- the class of the document to look updocStatus
- the KEW status code to look uporg.kuali.rice.kew.api.exception.WorkflowException
- if the workflow document cannot be accessed for any reasonFinancialSystemDocumentService.findByWorkflowStatusCode(java.lang.Class, org.kuali.rice.kew.api.document.DocumentStatus)
public Collection<FinancialSystemDocumentHeader> findByWorkflowStatusCode(org.kuali.rice.kew.api.document.DocumentStatus docStatus)
public <T extends org.kuali.rice.krad.document.Document> Collection<T> findByApplicationDocumentStatus(Class<T> clazz, String applicationDocumentStatus) throws org.kuali.rice.kew.api.exception.WorkflowException
FinancialSystemDocumentService
findByApplicationDocumentStatus
in interface FinancialSystemDocumentService
clazz
- the class of the document to look upapplicationDocumentStatus
- the application document status to look uporg.kuali.rice.kew.api.exception.WorkflowException
- if the workflow document cannot be accessed for any reasonFinancialSystemDocumentService.findByApplicationDocumentStatus(java.lang.Class, java.lang.String)
public Collection<FinancialSystemDocumentHeader> findByApplicationDocumentStatus(String applicationDocumentStatus)
FinancialSystemDocumentService
findByApplicationDocumentStatus
in interface FinancialSystemDocumentService
FinancialSystemDocumentService.findByApplicationDocumentStatus(java.lang.String)
public FinancialSystemDocumentHeader findByDocumentNumber(String documentNumber)
FinancialSystemDocumentService
findByDocumentNumber
in interface FinancialSystemDocumentService
FinancialSystemDocumentService.findByDocumentNumber(java.lang.String)
public Set<String> getPendingDocumentStatuses()
FinancialSystemDocumentService
getPendingDocumentStatuses
in interface FinancialSystemDocumentService
FinancialSystemDocumentService.getPendingDocumentStatuses()
public Set<String> getSuccessfulDocumentStatuses()
FinancialSystemDocumentService
getSuccessfulDocumentStatuses
in interface FinancialSystemDocumentService
FinancialSystemDocumentService.getSuccessfulDocumentStatuses()
public Set<String> getUnsuccessfulDocumentStatuses()
FinancialSystemDocumentService
getUnsuccessfulDocumentStatuses
in interface FinancialSystemDocumentService
FinancialSystemDocumentService.getUnsuccessfulDocumentStatuses()
protected Set<String> getDocumentStatusesForCategory(org.kuali.rice.kew.api.document.DocumentStatusCategory documentStatusCategory)
documentStatusCategory
- the category to get DocumentStatuses forpublic org.kuali.rice.krad.bo.DocumentHeader getCorrectingDocumentHeader(String documentId)
getCorrectingDocumentHeader
in interface FinancialSystemDocumentService
FinancialSystemDocumentService.getCorrectingDocumentHeader(java.lang.String)
public int getMaxResultCap(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
getMaxResultCap
in interface FinancialSystemDocumentService
criteria
- the criteria in which to check for a max results valuepublic int getFetchMoreIterationLimit()
getFetchMoreIterationLimit
in interface FinancialSystemDocumentService
public void prepareToCopy(FinancialSystemDocumentHeader oldDocumentHeader, FinancialSystemTransactionalDocument document)
prepareToCopy
in interface FinancialSystemDocumentService
public FinancialSystemDocumentDao getFinancialSystemDocumentDao()
public void setFinancialSystemDocumentDao(FinancialSystemDocumentDao financialSystemDocumentDao)
public org.kuali.rice.krad.service.DocumentService getDocumentService()
public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
public void setDocumentAdHocService(org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService)
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService
- The parameterService to set.public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public FinancialSystemDocumentHeaderDao getFinancialSystemDocumentHeaderDao()
public void setFinancialSystemDocumentHeaderDao(FinancialSystemDocumentHeaderDao financialSystemDocumentHeaderDao)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.