|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.bc.document.service.impl.PayrateImportServiceImpl
public class PayrateImportServiceImpl
Nested Class Summary | |
---|---|
protected static class |
PayrateImportServiceImpl.DefaultImportFileFormat
File format for payrate import file |
Constructor Summary | |
---|---|
PayrateImportServiceImpl()
|
Method Summary | |
---|---|
protected void |
doRollback()
If retrieving budget locks fails, this method rolls back previous changes |
void |
generatePdf(List<ExternalizedMessageWrapper> logMessages,
ByteArrayOutputStream baos)
Generates the log file |
protected String |
getLockingKeyString(PendingBudgetConstructionAppointmentFunding record)
Creates the locking key to use in retrieving account locks |
protected boolean |
getPayrateLock(List<PendingBudgetConstructionAppointmentFunding> lockedRecords,
List<ExternalizedMessageWrapper> messageList,
Integer budgetYear,
org.kuali.rice.kim.bo.Person user,
List<BudgetConstructionPayRateHolding> records)
Retrieves Account locks for payrate import records |
boolean |
importFile(InputStream fileImportStream,
List<ExternalizedMessageWrapper> messageList,
String principalId)
Parses file and creates payrate holding records for each import line |
void |
setBudgetDocumentService(BudgetDocumentService budgetDocumentService)
Sets the budgetDocumentService attribute value. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the business object service |
void |
setLockService(LockService lockService)
sets lock service |
void |
setOptionsService(OptionsService optionsService)
sets option service |
void |
setPayrateImportDao(PayrateImportDao payrateImportDao)
sets payrate import dao |
void |
update(Integer budgetYear,
org.kuali.rice.kim.bo.Person user,
List<ExternalizedMessageWrapper> messageList,
String principalId)
Processes all payrate holding records |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PayrateImportServiceImpl()
Method Detail |
---|
@Transactional public boolean importFile(InputStream fileImportStream, List<ExternalizedMessageWrapper> messageList, String principalId)
PayrateImportService
importFile
in interface PayrateImportService
org.kuali.kfs.module.bc.service.PayrateImportService#importFile(java.io.InputStream)
@Transactional public void update(Integer budgetYear, org.kuali.rice.kim.bo.Person user, List<ExternalizedMessageWrapper> messageList, String principalId)
PayrateImportService
update
in interface PayrateImportService
org.kuali.kfs.module.bc.service.PayrateImportService#update()
public void generatePdf(List<ExternalizedMessageWrapper> logMessages, ByteArrayOutputStream baos) throws com.lowagie.text.DocumentException
PayrateImportService
generatePdf
in interface PayrateImportService
com.lowagie.text.DocumentException
org.kuali.kfs.module.bc.service.PayrateImportService#generatePdf(java.lang.StringBuilder, java.io.ByteArrayOutputStream)
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- public void setLockService(LockService lockService)
lockService
- public void setOptionsService(OptionsService optionsService)
optionsService
- public void setPayrateImportDao(PayrateImportDao payrateImportDao)
payrateImportDao
- public void setBudgetDocumentService(BudgetDocumentService budgetDocumentService)
budgetDocumentService
- The budgetDocumentService to set.protected String getLockingKeyString(PendingBudgetConstructionAppointmentFunding record)
record
-
@Transactional protected boolean getPayrateLock(List<PendingBudgetConstructionAppointmentFunding> lockedRecords, List<ExternalizedMessageWrapper> messageList, Integer budgetYear, org.kuali.rice.kim.bo.Person user, List<BudgetConstructionPayRateHolding> records)
lockMap
- messageList
- budgetYear
- user
- records
-
protected void doRollback()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |