|
||||||||||
| 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.AssetGlobalServiceImpl
public class AssetGlobalServiceImpl
| Nested Class Summary | |
|---|---|
protected static class |
AssetGlobalServiceImpl.AmountCategory
|
| Constructor Summary | |
|---|---|
AssetGlobalServiceImpl()
|
|
| Method Summary | |
|---|---|
protected AssetGlpeSourceDetail |
createAssetGlpePostable(AssetGlobal document,
AssetPaymentDetail assetPaymentDetail,
AssetGlobalServiceImpl.AmountCategory amountCategory)
Creates an instance of AssetGlpeSourceDetail depending on the source flag |
void |
createGLPostables(AssetGlobal assetGlobal,
CamsGeneralLedgerPendingEntrySourceBase assetGlobalGlPoster)
Creates GL Postables |
boolean |
existsInGroup(String groupName,
String memberName)
This method checks if member exists in the given group. |
AssetObjectCodeService |
getAssetObjectCodeService()
Gets the assetObjectCodeService attribute. |
AssetPaymentService |
getAssetPaymentService()
Gets the assetPaymentService attribute. |
AssetService |
getAssetService()
Gets the assetService attribute. |
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
String |
getCapitalObjectAcquisitionCodeGroup()
|
List<org.kuali.rice.kns.bo.PersistableBusinessObject> |
getCreateNewAssets(AssetGlobal assetGlobal)
Returns assets for save for create new assets |
String |
getNewAcquisitionTypeCode()
|
String |
getNonNewAcquisitionCodeGroup()
|
org.kuali.rice.kns.service.ParameterService |
getParameterService()
|
PaymentSummaryService |
getPaymentSummaryService()
Gets the paymentSummaryService attribute. |
List<org.kuali.rice.kns.bo.PersistableBusinessObject> |
getSeparateAssets(AssetGlobal assetGlobal)
Returns assets for save for asset separate |
org.kuali.rice.kns.util.KualiDecimal |
getUniqueAssetsTotalAmount(AssetGlobal assetGlobal)
Add and return the total amount for all unique assets created. |
UniversityDateService |
getUniversityDateService()
Gets the universityDateService attribute. |
boolean |
isAssetSeparate(AssetGlobal assetGlobal)
Validates if the document type matches that of Asset Separate. |
boolean |
isAssetSeparateByPayment(AssetGlobal assetGlobal)
Validates if the document type matches that of Asset Separate by payment |
protected boolean |
isPaymentFinancialObjectActive(AssetPaymentDetail assetPayment)
|
void |
setAssetObjectCodeService(AssetObjectCodeService assetObjectCodeService)
Sets the assetObjectCodeService attribute value. |
void |
setAssetPaymentService(AssetPaymentService assetPaymentService)
Sets the assetPaymentService attribute value. |
void |
setAssetService(AssetService assetService)
Sets the assetService attribute value. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setPaymentSummaryService(PaymentSummaryService paymentSummaryService)
Sets the paymentSummaryService attribute value. |
void |
setUniversityDateService(UniversityDateService universityDateService)
Sets the universityDateService attribute value. |
protected Asset |
setupAsset(AssetGlobal assetGlobal,
AssetGlobalDetail assetGlobalDetail,
boolean separate)
Creates a new Asset appropriate for either create new or separate. |
protected void |
setupAssetLocationOffCampus(AssetGlobalDetail assetGlobalDetail,
Asset asset)
Off campus location appropriately set for this asset. |
protected AssetPayment |
setupCreateNewAssetPayment(Long capitalAssetNumber,
String acquisitionTypeCode,
int assetGlobalDetailsSize,
int assetGlobalDetailsIndex,
AssetPaymentDetail assetPaymentDetail)
Creates a payment for an asset in create new mode. |
org.kuali.rice.kns.util.KualiDecimal |
totalPaymentByAsset(AssetGlobal assetGlobal,
boolean lastEntry)
We need to calculate asset total amount from the sum of its payments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetGlobalServiceImpl()
| Method Detail |
|---|
protected AssetGlpeSourceDetail createAssetGlpePostable(AssetGlobal document,
AssetPaymentDetail assetPaymentDetail,
AssetGlobalServiceImpl.AmountCategory amountCategory)
universityDateService - University Date ServiceassetPayment - Payment record for which postable is createdisSource - Indicates if postable is for source organization
public void createGLPostables(AssetGlobal assetGlobal,
CamsGeneralLedgerPendingEntrySourceBase assetGlobalGlPoster)
AssetGlobalService
createGLPostables in interface AssetGlobalServiceorg.kuali.kfs.module.cam.document.service.AssetGlobalService#createGLPostables(org.kuali.module.cams.document.AssetGlobal)public org.kuali.rice.kns.service.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public AssetObjectCodeService getAssetObjectCodeService()
public void setAssetObjectCodeService(AssetObjectCodeService assetObjectCodeService)
assetObjectCodeService - The assetObjectCodeService to set.public AssetPaymentService getAssetPaymentService()
public void setAssetPaymentService(AssetPaymentService assetPaymentService)
assetPaymentService - The assetPaymentService 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.public UniversityDateService getUniversityDateService()
public void setUniversityDateService(UniversityDateService universityDateService)
universityDateService - The universityDateService to set.
public org.kuali.rice.kns.util.KualiDecimal totalPaymentByAsset(AssetGlobal assetGlobal,
boolean lastEntry)
totalPaymentByAsset in interface AssetGlobalServiceorg.kuali.kfs.module.cam.document.service.AssetGlobalService#totalPaymentByAsset(org.kuali.kfs.module.cam.businessobject.AssetGlobal)
public boolean existsInGroup(String groupName,
String memberName)
AssetGlobalService
existsInGroup in interface AssetGlobalServiceAssetGlobalService.existsInGroup(java.lang.String, java.lang.String)protected boolean isPaymentFinancialObjectActive(AssetPaymentDetail assetPayment)
public AssetService getAssetService()
public void setAssetService(AssetService assetService)
assetService - The assetService to set.public boolean isAssetSeparate(AssetGlobal assetGlobal)
AssetGlobalService
isAssetSeparate in interface AssetGlobalServiceAssetGlobalService.isAssetSeparate(org.kuali.kfs.module.cam.businessobject.AssetGlobal)public boolean isAssetSeparateByPayment(AssetGlobal assetGlobal)
AssetGlobalService
isAssetSeparateByPayment in interface AssetGlobalServiceAssetGlobalService.isAssetSeparateByPayment(org.kuali.kfs.module.cam.businessobject.AssetGlobal)public org.kuali.rice.kns.util.KualiDecimal getUniqueAssetsTotalAmount(AssetGlobal assetGlobal)
getUniqueAssetsTotalAmount in interface AssetGlobalServiceassetGlobal -
public List<org.kuali.rice.kns.bo.PersistableBusinessObject> getCreateNewAssets(AssetGlobal assetGlobal)
AssetGlobalService
getCreateNewAssets in interface AssetGlobalServiceAssetGlobalService.getCreateNewAssets(org.kuali.kfs.module.cam.businessobject.AssetGlobal)public List<org.kuali.rice.kns.bo.PersistableBusinessObject> getSeparateAssets(AssetGlobal assetGlobal)
AssetGlobalService
getSeparateAssets in interface AssetGlobalServiceAssetGlobalService.getSeparateAssets(org.kuali.kfs.module.cam.businessobject.AssetGlobal)
protected Asset setupAsset(AssetGlobal assetGlobal,
AssetGlobalDetail assetGlobalDetail,
boolean separate)
assetGlobal - containing data for the asset to be createdassetGlobalDetail - containing data for the asset to be createdseparate - indicating whether this is a separate and asset or not
protected void setupAssetLocationOffCampus(AssetGlobalDetail assetGlobalDetail,
Asset asset)
assetGlobalDetail - containing data for the locationasset - object that location is set in
protected AssetPayment setupCreateNewAssetPayment(Long capitalAssetNumber,
String acquisitionTypeCode,
int assetGlobalDetailsSize,
int assetGlobalDetailsIndex,
AssetPaymentDetail assetPaymentDetail)
capitalAssetNumber - to use for the paymentacquisitionTypeCode - for logic in determining how dates are to be setassetGlobalDetailsSize - for logic in determining depreciation amounts (if asset is depreciable)assetGlobalDetailsIndex - for logic in determining depreciation amounts (if asset is depreciable)assetPaymentDetail - containing data for the payment
public PaymentSummaryService getPaymentSummaryService()
public void setPaymentSummaryService(PaymentSummaryService paymentSummaryService)
paymentSummaryService - The paymentSummaryService to set.public String getNewAcquisitionTypeCode()
getNewAcquisitionTypeCode in interface AssetGlobalServicepublic String getCapitalObjectAcquisitionCodeGroup()
getCapitalObjectAcquisitionCodeGroup in interface AssetGlobalServicepublic String getNonNewAcquisitionCodeGroup()
getNonNewAcquisitionCodeGroup in interface AssetGlobalService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||