msi.web.client
Class LPAsset

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bymsi.web.client.DataStore
          extended bymsi.web.client.LPAssetGen
              extended bymsi.web.client.LPAsset
All Implemented Interfaces:
java.io.Serializable

public class LPAsset
extends msi.web.client.LPAssetGen

This is the client object class. This class is used for all client updates.

Author:
Joseph Acosta
See Also:
Serialized Form

Field Summary
 
Fields inherited from class msi.web.client.DataStore
DATASTORE_ADD, DATASTORE_ADD_CLONE, DATASTORE_CLONE, DATASTORE_FETCH, DATASTORE_RESET, DATASTORE_SEARCH, DATASTORE_SUBMIT, DATASTORE_UNKNOWN, DATASTORE_UPDATE, ERROR_MESSAGE, INFO_MESSAGE, PROCESSING_COMPLETED
 
Constructor Summary
LPAsset()
           
 
Method Summary
 java.lang.String addAsset()
           
 java.lang.String deleteAllAppsAssets(java.lang.String applicationNumber)
           
 java.lang.String deleteAsset(java.lang.String assetNumber)
           
 java.lang.String editAsset(java.lang.String assetNumber)
           
 java.lang.String getCountyName()
          for internal use only not stored in database
 java.util.Hashtable getNewUsedMap()
          here begins the getters
 java.lang.String getXMLAssetDoc(java.lang.String appNo)
           
 void init(java.lang.Object request)
          call this first.
 void initMapData(java.lang.Object request)
           
 int processAsset(boolean onlyDoAdd)
          This create or edits asset records in a given xml document.
 void resetAsset()
           
 void setCountyName(java.lang.String in)
          for internal use only not stored in database
 java.lang.String updateAsset()
           
 
Methods inherited from class msi.web.client.LPAssetGen
getAcquisitionCost, getAcquisitionDate, getAdditionalDeprMthd1, getAdditionalDeprMthd2, getAddress1, getAddress2, getAmtDepreciationLife, getApplicationNumber, getAssetAppearsOnTaxReportsYN, getAssetClass, getAssetNumber, getAssetStatus, getAssociatedAsset, getAvgYearAllowMileage, getBookAccountingMethod, getBookDepreciationDate, getBookDepreciationMethod, getBookSalvageValue, getBookTaxBasis, getCheckReference, getCity, getDaqChecksum, getDescription, getDiminValueRate, getEtcTakeBypassCode, getFedDepreciationLife, getFederalAMTMethod, getFederalMethodOfDepreciation, getFedHighwayUseTaxCode, getFhutAssetWeight, getFhutDate, getGasCost, getGstVendorPayable, getIdentification, getInServiceDate, getInspectionDate, getInsuranceAsset, getInsuranceExprDate, getInsurancePremiumCost, getItcAccrualMethod, getItcTakeBypassCode, getLeveraged, getLicenseAuto, getLicenseFees, getListPrice, getLocationCity, getLocationCounty, getLocationState, getManufacturer, getManufDepreciationBasis, getManufKeyCode, getModel, getNewUsed, getOdometerReading, getOperatorName, getOriginalAssetCost, getOtherCharges, getPartNumber, getPaymentAmount, getPptExemptCode, getPptLastUsedDate, getPropertyTaxBasis, getPurchaseOrderDate, getPurchaseOrderNo, getRepairCost, getReportPropertyTaxYN, getResidualCost, getResidualInsuranceYN, getStartBookDeprecValue, getState, getStateDepreciationMethod, getStateOfLicensePlateIssued, getStateSalvageValue, getStockNumber, getSupplier, getSupplierAddress, getSupplierAddress2, getSupplierCity, getSupplierState, getSupplierZip, getTaxPaymentCode, getTaxType, getTitleStatus, getUccTitleFilingCode, getUccTitleFilingCounty, getUccTitleFilingDate, getUccTitleFilingNumber, getUccTitleFilingState, getUccTitleFilingTerm, getUccTitleFilingType, getUpfrontSalesTaxBaseAmt, getUpfrontSalesTaxCity, getUpfrontSalesTaxCityRate, getUpfrontSalesTaxCounty, getUpfrontSalesTaxCountyRate, getUpfrontSalesTaxSlsTxAmt, getUpfrontSalesTaxState, getUpfrontSalesTaxStRate, getUpfrontSalesTaxYN, getUseTaxExemptCode, getUtilizeVehicleTaxRatesYN, getVehicleColor, getWarranty, getWarrInsurancePremium, getWarrInsuranceYN, getWarrMilesAllowed, getYear, getZipCode, resetStorage, setAcquisitionCost, setAcquisitionDate, setAdditionalDeprMthd1, setAdditionalDeprMthd2, setAddress1, setAddress2, setAmtDepreciationLife, setApplicationNumber, setAssetAppearsOnTaxReportsYN, setAssetClass, setAssetNumber, setAssetStatus, setAssociatedAsset, setAvgYearAllowMileage, setBookAccountingMethod, setBookDepreciationDate, setBookDepreciationMethod, setBookSalvageValue, setBookTaxBasis, setCheckReference, setCity, setDaqChecksum, setDescription, setDiminValueRate, setEtcTakeBypassCode, setFedDepreciationLife, setFederalAMTMethod, setFederalMethodOfDepreciation, setFedHighwayUseTaxCode, setFhutAssetWeight, setFhutDate, setGasCost, setGstVendorPayable, setIdentification, setInServiceDate, setInspectionDate, setInsuranceAsset, setInsuranceExprDate, setInsurancePremiumCost, setItcAccrualMethod, setItcTakeBypassCode, setLeveraged, setLicenseAuto, setLicenseFees, setListPrice, setLocationCity, setLocationCounty, setLocationState, setManufacturer, setManufDepreciationBasis, setManufKeyCode, setModel, setNewUsed, setOdometerReading, setOperatorName, setOriginalAssetCost, setOtherCharges, setPartNumber, setPaymentAmount, setPptExemptCode, setPptLastUsedDate, setPropertyTaxBasis, setPurchaseOrderDate, setPurchaseOrderNo, setRepairCost, setReportPropertyTaxYN, setResidualCost, setResidualInsuranceYN, setStartBookDeprecValue, setState, setStateDepreciationMethod, setStateOfLicensePlateIssued, setStateSalvageValue, setStockNumber, setSupplier, setSupplierAddress, setSupplierAddress2, setSupplierCity, setSupplierState, setSupplierZip, setTaxPaymentCode, setTaxType, setTitleStatus, setUccTitleFilingCode, setUccTitleFilingCounty, setUccTitleFilingDate, setUccTitleFilingNumber, setUccTitleFilingState, setUccTitleFilingTerm, setUccTitleFilingType, setUpfrontSalesTaxBaseAmt, setUpfrontSalesTaxCity, setUpfrontSalesTaxCityRate, setUpfrontSalesTaxCounty, setUpfrontSalesTaxCountyRate, setUpfrontSalesTaxSlsTxAmt, setUpfrontSalesTaxState, setUpfrontSalesTaxStRate, setUpfrontSalesTaxYN, setUseTaxExemptCode, setUtilizeVehicleTaxRatesYN, setVehicleColor, setWarranty, setWarrInsurancePremium, setWarrInsuranceYN, setWarrMilesAllowed, setYear, setZipCode, toHashMap, toXMLDocument, toXMLFragment
 
Methods inherited from class msi.web.client.DataStore
addPropertyChangeListener, apiInitXMLParser, buildErrorMessage, buildXmlMsg, deleteFieldValue, dsConnect, dsConnect, dsConnectAsUser, dsConnectUseINI, dsConnectWithINI, dsDisconnect, dsProcessRequest, dsProcessSearchRequest, dsSetDebugMode, getAll, getCompany, getCurrentData, getErrorMessage, getFieldValue, getFormAction, getInfoMessage, getLPCodes, getModulenumber, getMpd_Build_sequence, getOffice, getPortfolio, getRegion, getResultData, getStateCodes, getWarnMessage, getXML_Build_sequence, hashtableToXml, initLabels, processFormActionType, putAll, removePropertyChangeListener, resetDataStore, selfToXML, setCompany, setCurrentData, setDefaultPCRO, setField, setFormAction, setFormActionAdd, setFormActionClone, setFormActionFetch, setFormActionReset, setFormActionSearch, setFormActionUpdate, setLocale, setModulenumber, setOffice, setPortfolio, setRegion
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LPAsset

public LPAsset()
Method Detail

resetAsset

public void resetAsset()

init

public void init(java.lang.Object request)
call this first.


initMapData

public void initMapData(java.lang.Object request)

getCountyName

public java.lang.String getCountyName()
for internal use only not stored in database


setCountyName

public void setCountyName(java.lang.String in)
for internal use only not stored in database


getNewUsedMap

public java.util.Hashtable getNewUsedMap()
here begins the getters


addAsset

public java.lang.String addAsset()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

editAsset

public java.lang.String editAsset(java.lang.String assetNumber)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteAsset

public java.lang.String deleteAsset(java.lang.String assetNumber)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteAllAppsAssets

public java.lang.String deleteAllAppsAssets(java.lang.String applicationNumber)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateAsset

public java.lang.String updateAsset()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getXMLAssetDoc

public java.lang.String getXMLAssetDoc(java.lang.String appNo)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

processAsset

public int processAsset(boolean onlyDoAdd)
                 throws java.rmi.RemoteException
This create or edits asset records in a given xml document. Call this when you want to update a single application or multiple applications at a time.

Parameters:
onlyDoAdd - - boolean, if set to true then only new records will be added if set to false then updates will also be done
Returns:
int 0, means error, 1 means info, 2 is done, see DataStore documentation.
Throws:
throws - java.rmi.RemoteException on error, which is just a rethrow of the Exception.
java.rmi.RemoteException


© 2008 by NetSol Technologies, Inc.

All rights reserved.The information contained in this document is the property of NetSol Technologies, Inc. Use of the information contained herein is restricted. Conditions of use are subject to change without notice. NetSol Technologies, Inc. assumes no liability for any inaccuracy that may appear in this document; the contents of this document do not constitute a promise or warranty. The software described in this document is furnished under license and may be used or copied only in accordance with the terms of said license. Unauthorized use, alteration, or reproduction of this document without the written consent of NetSol Technologies, Inc. is prohibited.