|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetService
The interface defines methods for Asset Document
Method Summary | |
---|---|
List<Asset> |
findActiveAssetsMatchingTagNumber(String campusTagNumber)
This method returns all active assets found matching this tab number |
Collection<Asset> |
findAssetsMatchingTagNumber(String campusTagNumber)
This method returns all active and not active assets found matching this tab number |
List<String> |
getCurrentRouteLevels(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument)
A helper method for determining the route levels for a given document. |
List<String> |
getDocumentNumbersThatSeparatedThisAsset(Long capitalAssetNumber)
|
boolean |
isAssetDepreciableLifeLimitZero(Asset asset)
Test if Depreciable Life Limit is "0" This method... |
boolean |
isAssetDepreciationStarted(Asset asset)
Check if asset has started depreciation already. |
boolean |
isAssetFabrication(org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument)
|
boolean |
isAssetLoaned(Asset asset)
|
boolean |
isAssetMovableCheckByAsset(Asset asset)
|
boolean |
isAssetMovableCheckByPayment(String financialObjectSubTypeCode)
This will check the financial object sub type code in system parameters return TRUE if found in MOVABLE_EQUIPMENT_OBJECT_SUB_TYPE_CODES return FALSE if found in NON_MOVABLE_EQUIPMENT_OBJECT_SUB_TYPE_CODES throw ValidationException if not defined in neither one of them |
boolean |
isAssetRetired(Asset asset)
|
boolean |
isAssetTaggedInPriorFiscalYear(Asset asset)
The Asset Type Code is allowed to be changed only: (1)If the tag number has not been assigned or (2)The asset is tagged, and the asset created in the current fiscal year |
boolean |
isAssetTypeCodeChanged(Asset oldAsset,
Asset newAsset)
Test if assetTypeCode is changed. |
boolean |
isCapitalAsset(Asset asset)
|
boolean |
isCapitalAssetNumberDuplicate(Long capitalAssetNumber1,
Long capitalAssetNumber2)
Test two capitalAssetNumber equal. |
boolean |
isDocumentEnrouting(org.kuali.rice.kns.document.Document document)
Checks if given mainenanceDocument has started routing. |
boolean |
isFinancialObjectSubTypeCodeChanged(Asset oldAsset,
Asset newAsset)
Test if financialObjectSubTypeCode is changed. |
boolean |
isInServiceDateChanged(Asset oldAsset,
Asset newAsset)
|
boolean |
isObjectSubTypeCompatible(List<String> financialObjectSubTypeCode)
This will check if the list of financial object sub type code are compatible with each other. |
boolean |
isOffCampusLocationEntered(Asset asset)
Test if any of the off campus location field is entered. |
boolean |
isTagNumberCheckExclude(Asset asset)
The Tag Number check excludes value of "N" and retired assets. |
void |
setAssetSummaryFields(Asset asset)
This method calls the service codes to calculate the summary fields for each asset |
void |
setFiscalPeriod(Asset asset)
Sets the fiscal year and month in the asset object based on the creation date of the asset |
void |
setSeparateHistory(Asset asset)
For the given Asset sets the separateHistory. |
Method Detail |
---|
boolean isAssetDepreciationStarted(Asset asset)
asset
-
boolean isDocumentEnrouting(org.kuali.rice.kns.document.Document document)
document
-
List<String> getCurrentRouteLevels(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument)
workflowDocument
-
boolean isAssetMovableCheckByAsset(Asset asset)
boolean isCapitalAsset(Asset asset)
boolean isAssetRetired(Asset asset)
boolean isInServiceDateChanged(Asset oldAsset, Asset newAsset)
boolean isAssetFabrication(org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument)
boolean isAssetLoaned(Asset asset)
boolean isAssetTaggedInPriorFiscalYear(Asset asset)
boolean isTagNumberCheckExclude(Asset asset)
boolean isOffCampusLocationEntered(Asset asset)
asset
-
boolean isFinancialObjectSubTypeCodeChanged(Asset oldAsset, Asset newAsset)
oldAsset
- newAsset
-
boolean isAssetTypeCodeChanged(Asset oldAsset, Asset newAsset)
oldAsset
- newAsset
-
boolean isAssetDepreciableLifeLimitZero(Asset asset)
asset
-
boolean isCapitalAssetNumberDuplicate(Long capitalAssetNumber1, Long capitalAssetNumber2)
capitalAssetNumber1
- capitalAssetNumber2
-
void setAssetSummaryFields(Asset asset)
asset
- boolean isAssetMovableCheckByPayment(String financialObjectSubTypeCode)
financialObjectSubType
-
boolean isObjectSubTypeCompatible(List<String> financialObjectSubTypeCode)
financialObjectSubTypeCode
-
List<Asset> findActiveAssetsMatchingTagNumber(String campusTagNumber)
campusTagNumber
- Campus Tag Number
Collection<Asset> findAssetsMatchingTagNumber(String campusTagNumber)
campusTagNumber
- Campus Tag Number
void setSeparateHistory(Asset asset)
asset
- for which to set the separateHistoryList<String> getDocumentNumbersThatSeparatedThisAsset(Long capitalAssetNumber)
capitalAssetNumber
- to check whether it got separated
void setFiscalPeriod(Asset asset)
asset
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |