org.kuali.kfs.module.cam.batch.service
Interface AssetBarcodeInventoryLoadService

All Known Implementing Classes:
AssetBarcodeInventoryLoadServiceImpl

public interface AssetBarcodeInventoryLoadService

This service interface defines the methods that a ProcurementCardLoadTransactionsService implementation must provide. Provides methods to load batch files for the procurement card batch job.


Method Summary
 boolean isCurrentUserInitiator(org.kuali.rice.kns.document.Document document)
          Determines whether the current user is the document initiator.
 boolean isFileFormatValid(File file)
          Validates and parses the file identified by the given files name.
 boolean isFullyProcessed(org.kuali.rice.kns.document.Document document)
          Determines whether or not the BCIE document has all its records corrected or deleted
 boolean processFile(File file, AssetBarCodeInventoryInputFileForm form)
          This method creates the barcode inventory error document, validates each record, and invokes the method that actually stores the record in the tables
 void updateAssetInformation(BarcodeInventoryErrorDetail barcodeInventoryErrorDetail, boolean updateWithDateAssetWasScanned)
          This method updates the asset table
 

Method Detail

isFileFormatValid

boolean isFileFormatValid(File file)
Validates and parses the file identified by the given files name. If successful, parsed entries are stored.

Parameters:
fileName - Name of file to be uploaded and processed.
Returns:
True if the file load and store was successful, false otherwise.

processFile

boolean processFile(File file,
                    AssetBarCodeInventoryInputFileForm form)
This method creates the barcode inventory error document, validates each record, and invokes the method that actually stores the record in the tables

Parameters:
file -
Returns:

updateAssetInformation

void updateAssetInformation(BarcodeInventoryErrorDetail barcodeInventoryErrorDetail,
                            boolean updateWithDateAssetWasScanned)
This method updates the asset table

Parameters:
barcodeInventoryErrorDetail -

isFullyProcessed

boolean isFullyProcessed(org.kuali.rice.kns.document.Document document)
Determines whether or not the BCIE document has all its records corrected or deleted

Parameters:
document -
Returns:

isCurrentUserInitiator

boolean isCurrentUserInitiator(org.kuali.rice.kns.document.Document document)
Determines whether the current user is the document initiator. This method...

Parameters:
document -
Returns:


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