org.kuali.kfs.module.cab.document.service.impl
Class GlLineServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.cab.document.service.impl.GlLineServiceImpl
All Implemented Interfaces:
GlLineService

public class GlLineServiceImpl
extends Object
implements GlLineService


Field Summary
protected  AssetGlobalService assetGlobalService
           
protected  org.kuali.rice.kns.service.BusinessObjectService businessObjectService
           
 
Constructor Summary
GlLineServiceImpl()
           
 
Method Summary
protected  AssetGlobal createAssetGlobal(GeneralLedgerEntry entry, org.kuali.rice.kns.document.MaintenanceDocument maintDoc)
          Creates asset global
 org.kuali.rice.kns.document.Document createAssetGlobalDocument(List<GeneralLedgerEntry> entries, GeneralLedgerEntry primary)
           
protected  AssetPaymentDetail createAssetPaymentDetail(GeneralLedgerEntry entry, org.kuali.rice.kns.document.Document document, int seqNo)
          Creates asset payment detail based on GL line.
 org.kuali.rice.kns.document.Document createAssetPaymentDocument(List<GeneralLedgerEntry> entries, GeneralLedgerEntry primaryGlEntry)
           
protected  void createGeneralLedgerEntryAsset(GeneralLedgerEntry entry, org.kuali.rice.kns.document.Document document)
          Creates general ledger entry asset
protected  void deactivateGLEntries(List<GeneralLedgerEntry> entries, org.kuali.rice.kns.document.Document document)
          De-activate the GL Entries
 CapitalAssetInformation findCapitalAssetInformation(GeneralLedgerEntry entry)
           
 org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          Gets the businessObjectService attribute.
protected  String replaceFiller(String val)
          If the value contains only the filler characters, then return blank
 void setAssetGlobalService(AssetGlobalService assetGlobalService)
           
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
protected  void updatePreTagInformation(GeneralLedgerEntry entry, AssetPaymentDocument document)
          Updates pre tag information received from FP document
protected  void updatePreTagInformation(GeneralLedgerEntry entry, org.kuali.rice.kns.document.MaintenanceDocument document, AssetGlobal assetGlobal)
          This method reads the pre-tag information and creates objects for asset global document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

businessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService

assetGlobalService

protected AssetGlobalService assetGlobalService
Constructor Detail

GlLineServiceImpl

public GlLineServiceImpl()
Method Detail

createAssetGlobalDocument

public org.kuali.rice.kns.document.Document createAssetGlobalDocument(List<GeneralLedgerEntry> entries,
                                                                      GeneralLedgerEntry primary)
                                                               throws org.kuali.rice.kew.exception.WorkflowException
Specified by:
createAssetGlobalDocument in interface GlLineService
Throws:
org.kuali.rice.kew.exception.WorkflowException
See Also:
GlLineService.createAssetGlobalDocument(java.util.List, org.kuali.kfs.module.cab.businessobject.GeneralLedgerEntry)

deactivateGLEntries

protected void deactivateGLEntries(List<GeneralLedgerEntry> entries,
                                   org.kuali.rice.kns.document.Document document)
De-activate the GL Entries

Parameters:
entries - GL Entries
document - Document

updatePreTagInformation

protected void updatePreTagInformation(GeneralLedgerEntry entry,
                                       org.kuali.rice.kns.document.MaintenanceDocument document,
                                       AssetGlobal assetGlobal)
This method reads the pre-tag information and creates objects for asset global document

Parameters:
entry - GL Line
document - Asset Global Maintenance Document
assetGlobal - Asset Global Object

findCapitalAssetInformation

public CapitalAssetInformation findCapitalAssetInformation(GeneralLedgerEntry entry)
Specified by:
findCapitalAssetInformation in interface GlLineService
See Also:
GlLineService.findCapitalAssetInformation(org.kuali.kfs.module.cab.businessobject.GeneralLedgerEntry)

createGeneralLedgerEntryAsset

protected void createGeneralLedgerEntryAsset(GeneralLedgerEntry entry,
                                             org.kuali.rice.kns.document.Document document)
Creates general ledger entry asset

Parameters:
entry - GeneralLedgerEntry
maintDoc - Document

createAssetGlobal

protected AssetGlobal createAssetGlobal(GeneralLedgerEntry entry,
                                        org.kuali.rice.kns.document.MaintenanceDocument maintDoc)
Creates asset global

Parameters:
entry - GeneralLedgerEntry
maintDoc - MaintenanceDocument
Returns:
AssetGlobal

createAssetPaymentDocument

public org.kuali.rice.kns.document.Document createAssetPaymentDocument(List<GeneralLedgerEntry> entries,
                                                                       GeneralLedgerEntry primaryGlEntry)
                                                                throws org.kuali.rice.kew.exception.WorkflowException
Specified by:
createAssetPaymentDocument in interface GlLineService
Throws:
org.kuali.rice.kew.exception.WorkflowException

updatePreTagInformation

protected void updatePreTagInformation(GeneralLedgerEntry entry,
                                       AssetPaymentDocument document)
Updates pre tag information received from FP document

Parameters:
entry - GeneralLedgerEntry
document - AssetPaymentDocument

createAssetPaymentDetail

protected AssetPaymentDetail createAssetPaymentDetail(GeneralLedgerEntry entry,
                                                      org.kuali.rice.kns.document.Document document,
                                                      int seqNo)
Creates asset payment detail based on GL line. to CAB

Parameters:
entry - GeneralLedgerEntry
document - Document
Returns:
AssetPaymentDetail

replaceFiller

protected String replaceFiller(String val)
If the value contains only the filler characters, then return blank

Parameters:
val - Value
Returns:
blank if value if a filler

getBusinessObjectService

public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
Gets the businessObjectService attribute.

Returns:
Returns the businessObjectService.

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.

setAssetGlobalService

public void setAssetGlobalService(AssetGlobalService assetGlobalService)


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