org.kuali.kfs.module.cam.document.service.impl
Class RetirementInfoServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.cam.document.service.impl.RetirementInfoServiceImpl
All Implemented Interfaces:
RetirementInfoService

public class RetirementInfoServiceImpl
extends Object
implements RetirementInfoService

Implements RetirementInfoService, assists in identifying the latest retirement record


Constructor Summary
RetirementInfoServiceImpl()
           
 
Method Summary
 AssetService getAssetService()
           
 org.kuali.rice.kns.service.ParameterService getParameterService()
           
protected  boolean isDocumentApproved(AssetRetirementGlobal assetRetirementDoc)
          Checks asset retirement document status, if approved returns true
 void setAssetService(AssetService assetService)
           
 void setMergeHistory(Asset asset)
           
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
           
 void setRetirementInfo(Asset asset)
          Identifies the latest retirement record for the asset if current status is retired Sorts all approved retirement documents by retirement date Latest retirement document is identified and assigns to asset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetirementInfoServiceImpl

public RetirementInfoServiceImpl()
Method Detail

setRetirementInfo

public void setRetirementInfo(Asset asset)
Description copied from interface: RetirementInfoService
Identifies the latest retirement record for the asset if current status is retired
  • Sorts all approved retirement documents by retirement date
  • Latest retirement document is identified and assigns to asset
  • Specified by:
    setRetirementInfo in interface RetirementInfoService
    Parameters:
    asset - Asset
    See Also:
    RetirementInfoService.setRetirementInfo(org.kuali.kfs.module.cam.businessobject.Asset)

    isDocumentApproved

    protected boolean isDocumentApproved(AssetRetirementGlobal assetRetirementDoc)
    Checks asset retirement document status, if approved returns true

    Parameters:
    assetRetirementDoc - Asset Retirement Document
    Returns:
    "true" if approved

    getParameterService

    public org.kuali.rice.kns.service.ParameterService getParameterService()

    setParameterService

    public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)

    getAssetService

    public AssetService getAssetService()

    setAssetService

    public void setAssetService(AssetService assetService)

    setMergeHistory

    public void setMergeHistory(Asset asset)
    Specified by:
    setMergeHistory in interface RetirementInfoService


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