|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.cam.document.service.impl.AssetDateServiceImpl
public class AssetDateServiceImpl
| Constructor Summary | |
|---|---|
AssetDateServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
checkAndUpdateDepreciationDate(Asset oldAsset,
Asset newAsset)
In Asset Edit, DepreciationDate shall be updated whenever In-service Date changed. |
void |
checkAndUpdateFiscalYearAndPeriod(Asset oldAsset,
Asset newAsset)
In Asset Edit, Fiscal year and period code shall be updated whenever In-service Date changed. |
void |
checkAndUpdateLastInventoryDate(Asset oldAsset,
Asset newAsset)
Last inventory Date shall be updated whenever changes made to location or tag number |
Date |
computeDepreciationDate(AssetType assetType,
AssetDepreciationConvention depreciationConvention,
Date inServiceDate)
This method computes the depreciation date based on input parameters |
AssetService |
getAssetService()
|
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
org.kuali.rice.kns.service.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute. |
UniversityDateService |
getUniversityDateService()
|
void |
setAssetService(AssetService assetService)
|
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the dateTimeService attribute value. |
void |
setUniversityDateService(UniversityDateService universityDateService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetDateServiceImpl()
| Method Detail |
|---|
public void checkAndUpdateFiscalYearAndPeriod(Asset oldAsset,
Asset newAsset)
AssetDateService
checkAndUpdateFiscalYearAndPeriod in interface AssetDateServiceAssetDateService.checkAndUpdateFiscalYearAndPeriod(org.kuali.kfs.module.cam.businessobject.Asset,
org.kuali.kfs.module.cam.businessobject.Asset)
public void checkAndUpdateLastInventoryDate(Asset oldAsset,
Asset newAsset)
AssetDateService
checkAndUpdateLastInventoryDate in interface AssetDateServiceorg.kuali.module.cams.service.AssetDetailInformationService#checkAndUpdateLastInventoryDate(org.kuali.kfs.module.cam.businessobject.Asset,
org.kuali.kfs.module.cam.businessobject.Asset)
public void checkAndUpdateDepreciationDate(Asset oldAsset,
Asset newAsset)
AssetDateService
checkAndUpdateDepreciationDate in interface AssetDateServiceorg.kuali.module.cams.service.AssetDetailInformationService#checkAndUpdateDepreciationDate(org.kuali.kfs.module.cam.businessobject.Asset,
org.kuali.kfs.module.cam.businessobject.Asset)
public Date computeDepreciationDate(AssetType assetType,
AssetDepreciationConvention depreciationConvention,
Date inServiceDate)
AssetDateService
computeDepreciationDate in interface AssetDateServiceassetType - Asset Type ObjectdepreciationConvention - Depreciation Convention for the assetinServiceDate - Current in-service date value
AssetDateService.computeDepreciationDate(org.kuali.kfs.module.cam.businessobject.AssetType,
org.kuali.kfs.module.cam.businessobject.AssetDepreciationConvention, java.sql.Date)public AssetService getAssetService()
public void setAssetService(AssetService assetService)
public UniversityDateService getUniversityDateService()
public void setUniversityDateService(UniversityDateService universityDateService)
public org.kuali.rice.kns.service.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
dateTimeService - The dateTimeService to set.public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||