org.kuali.kfs.module.bc.document.service.impl
Class PayrateExportServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.bc.document.service.impl.PayrateExportServiceImpl
All Implemented Interfaces:
PayrateExportService

public class PayrateExportServiceImpl
extends Object
implements PayrateExportService


Constructor Summary
PayrateExportServiceImpl()
           
 
Method Summary
 StringBuilder buildExportFile(Integer budgetYear, String positionUnionCode, String csfFreezeDate, String principalId)
          Builds the Payrate Export File
protected  StringBuilder buildExportLine(BudgetConstructionPayRateHolding holdingRecord, String csfFreezeDate)
          Creates the export line
 boolean isValidPositionUnionCode(String positionUnionCode)
          Checks if this position object code is valid
protected  String padString(String stringToPad, int fieldSize, boolean leftJustifiy)
          Returns a field that is the length of fieldSize, to facilitate formatting payrate export file
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
           
 void setPayrateExportDao(PayrateExportDao payrateExportDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayrateExportServiceImpl

public PayrateExportServiceImpl()
Method Detail

buildExportFile

@Transactional(propagation=REQUIRES_NEW)
public StringBuilder buildExportFile(Integer budgetYear,
                                                   String positionUnionCode,
                                                   String csfFreezeDate,
                                                   String principalId)
Description copied from interface: PayrateExportService
Builds the Payrate Export File

Specified by:
buildExportFile in interface PayrateExportService
Returns:
See Also:
org.kuali.kfs.module.bc.service.PayrateExportService#buildExportFile()

isValidPositionUnionCode

@Transactional
public boolean isValidPositionUnionCode(String positionUnionCode)
Description copied from interface: PayrateExportService
Checks if this position object code is valid

Specified by:
isValidPositionUnionCode in interface PayrateExportService
Returns:
See Also:
PayrateExportService.isValidPositionUnionCode(java.lang.String)

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Parameters:
businessObjectService -

setPayrateExportDao

public void setPayrateExportDao(PayrateExportDao payrateExportDao)
Parameters:
payrateExportDao -

buildExportLine

protected StringBuilder buildExportLine(BudgetConstructionPayRateHolding holdingRecord,
                                        String csfFreezeDate)
Creates the export line

Parameters:
holdingRecord -
Returns:

padString

protected String padString(String stringToPad,
                           int fieldSize,
                           boolean leftJustifiy)
Returns a field that is the length of fieldSize, to facilitate formatting payrate export file

Parameters:
stringToPad -
fieldSize -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.