msi.web.client
Class LPApplication

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

public class LPApplication
extends msi.web.client.LPApplicationGen

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
LPApplication()
           
 
Method Summary
 java.lang.String addApplication()
           
 java.lang.String[] buildResultSet(java.lang.String formaction, java.lang.String[] resultSet, java.lang.String[] filelist, java.lang.String appNumber, java.lang.String docgenLocaldir, java.lang.String endPoint, java.lang.String taskName, boolean debug)
           
 java.lang.String[] callDocgen(java.lang.String docgenEndpoint, java.lang.String formAction, java.lang.String[] filelist, java.lang.String appnumber, java.lang.String taskName, boolean debug)
           
 java.lang.String editApplication(java.lang.String applicationNumber)
           
 java.lang.String getAdvanced()
           
 java.lang.String getClientNumber(int index)
           
 java.lang.String getColessee()
           
 java.lang.String getCommission()
           
 int getFormActionType()
          This returns the form action type from the object.
 java.lang.String getFundingRate()
           
 java.lang.String getGuarantor()
           
 java.lang.String getLesseeName()
           
 java.lang.String getLesseeRate()
           
 java.lang.String getOutputFileName(java.lang.String dotFile, java.lang.String oldExtension, java.lang.String newExtension)
          doc gen stuff follows
 java.util.Hashtable getPaymentFreqMap(msi.util.mplabels mprelabel)
           
 java.lang.String getRelationship(int index)
          here begins the getters
 java.lang.String getShortname(int index)
           
 java.lang.String getSolveFor()
           
 java.lang.String getStatus()
           
 java.lang.String getXMLAppDoc(java.lang.String appNo)
           
 void init(java.lang.Object request)
          call this first.
 void initMapData(java.lang.Object request)
           
 int processApplication(boolean onlyDoAdd)
          This create or edits application records in a given xml document.
 void setAdvanced(java.lang.String in)
           
 void setColessee(java.lang.String colessee)
           
 void setCommission(java.lang.String in)
           
 void setFundingRate(java.lang.String in)
           
 void setGuarantor(java.lang.String guarantor)
           
 void setLesseeName(java.lang.String lessee)
          setters
 void setLesseeRate(java.lang.String in)
           
 void setPayment_Amount_(java.lang.String payment_Amount_str, int index)
          This will set the pmt_amt_d in the map dal.
 void setPayment_Code_(java.lang.String payment_Code_str, int index)
          This will set the pmt_cd_s in the map dal.
 void setPayment_Freq_(java.lang.String payment_Freq_str, int index)
          This will set the pmt_frq_l in the map dal.
 void setSolveFor(java.lang.String in)
           
 void setStatus(java.lang.String status)
           
 java.lang.String updateApplication()
           
 void updateSolveFor(java.lang.Object request)
           
 
Methods inherited from class msi.web.client.LPApplicationGen
getAccountCode, getAccountType, getAcquisitionCost, getAdvancedMoneyReceived, getAdvancePaymentBegins, getAdvancePaymentEnds, getApplicationType, getAppNumber, getAssumedPayment, getAutomaticChargeOff, getBillingAddress1, getBillingAddress2, getBillingCity, getBillingLevel, getBillingName, getBillingState, getBillingZipCode, getBndlRecurrChgOnInvo, getBrkrContactName, getBrkrPhoneNum, getBroker, getBrokerFees, getBrokerPaymentCode, getBusinessPersonal, getCapitalizeIBLInterest, getCheckNumber, getClient_Number, getClientRelationshipType, getCommencementDate, getCompany, getContractRentalRateAddon, getCostOfFunds, getCreditQuality, getCreditStartDate, getCurrCreditExpdate, getDapChecksum, getDdmChecksum, getDealerBuydown, getDealerRecourse, getDealerSubsidyIncome, getDelinquencyWatchCode, getDisbursementDate, getDocumentationFee, getDocumentCompleteDate, getDocumentSentDate, getDocumentTypeCode, getDownPayment, getDrawdownBalance, getDueDate, getFixedPricePurchase, getFixedRateReserves, getFloatBasePerc, getFloatCalendar, getFloatRateFreq, getFloatRateSetDay, getFloatRateSetMon, getFloatUseBus, getFormCode, getFundingInterestModByUserYN, getFundingInterestOwedOrEarned, getGeneralDescription, getGracePeriodInDays, getGroupNumber, getGuaranteedPortionOfResidual, getIdcAccountMethod, getIdcModByUserYN, getIdrbAcquisitionFee, getInsurancePremium, getInsurancePremiumPayTo, getInterimRent, getInvestor, getInvestorAccrualMethod, getInvestorYieldFactor, getInvoiceFormatCode, getLastLeverageDownloadDate, getLateChargeAsmt, getLateChargeIndex, getLeaseAddress1, getLeaseAddress2, getLeaseAddressName, getLeaseCity, getLeaseDate, getLeaseSource, getLeaseState, getLeaseTypeCode, getLeaseZipCode, getLessee, getLessorAccrualMethod, getLessorRentalRateAddOn, getLessorRentalSimpleRate, getLeverageCommencementDate, getLeverageTerm, getMarketCode, getMarkUp, getMasterAppNumber, getMaximumInterestRateLeaseLevel, getMetro2FileFormat, getMinimumInterestRateLeaseLevel, getNonpyramidLateCrgMin, getNormalMstrSub, getNotaryFeeCost, getNotaryFeePayable, getNpvDiscountRate, getOffice, getOpenCloseLeaseType, getOptionalInsurance, getOrigCreditExpdate, getPayment_Amount, getPayment_Code, getPayment_Freq, getPaymentAmount, getPaymentFreq, getPortfolio, getPreauthSwitch, getPrimeRateBankNumber, getProductTypeCode, getPurchaseOption, getPurchaseOptionFee, getPurOptionBillingMethod, getPurOptionOwner, getRateOfParticipation, getRatePlan, getRecurringChargeAmount, getRecurringChargeBrkrPayable, getRecurringChargeDealerPayable, getRecurringChargeMaturityDate, getRecurringChargeStartDate, getRefundable, getRegion, getResidPercent, getResidual, getResIncomeSep, getRevolvingCreditLimit, getRevolvingCreditLineFee, getRevolvingDrawdown, getSalesPersonDollarPrct, getSalesPersonNumber, getSalesPersonVolumePrct, getSecurityDeposit, getSlDeprBasisAcquisitionFee, getSlDeprBasisDealerReserves, getStagedEquityAmount, getStagedEquityFundPbl, getStatementCode, getSubvention, getSumOfPayments, getTaxIDCModByUserYN, getTerm, getTotalInitialDirectCosts, getTradeIn, getTradeinDescription, getTransferOfEquityYN, getUpfrontSalesTaxCode, getUpfrontSalesTaxOnCost, getUpfrontTitlingTaxPaid, getUseTaxExemptCode, getVendContactName, getVendor, getVendorAccrualMethod, getVendorFactor, getVendPhoneNum, getWarrantyInsurance, resetStorage, setAccountCode, setAccountType, setAcquisitionCost, setAdvancedMoneyReceived, setAdvancePaymentBegins, setAdvancePaymentEnds, setApplicationType, setAppNumber, setAssumedPayment, setAutomaticChargeOff, setBillingAddress1, setBillingAddress2, setBillingCity, setBillingLevel, setBillingName, setBillingState, setBillingZipCode, setBndlRecurrChgOnInvo, setBrkrContactName, setBrkrPhoneNum, setBroker, setBrokerFees, setBrokerPaymentCode, setBusinessPersonal, setCapitalizeIBLInterest, setCheckNumber, setClient_Number, setClientRelationshipType, setCommencementDate, setCompany, setContractRentalRateAddon, setCostOfFunds, setCreditQuality, setCreditStartDate, setCurrCreditExpdate, setDapChecksum, setDdmChecksum, setDealerBuydown, setDealerRecourse, setDealerSubsidyIncome, setDelinquencyWatchCode, setDisbursementDate, setDocumentationFee, setDocumentCompleteDate, setDocumentSentDate, setDocumentTypeCode, setDownPayment, setDrawdownBalance, setDueDate, setFixedPricePurchase, setFixedRateReserves, setFloatBasePerc, setFloatCalendar, setFloatRateFreq, setFloatRateSetDay, setFloatRateSetMon, setFloatUseBus, setFormCode, setFundingInterestModByUserYN, setFundingInterestOwedOrEarned, setGeneralDescription, setGracePeriodInDays, setGroupNumber, setGuaranteedPortionOfResidual, setIdcAccountMethod, setIdcModByUserYN, setIdrbAcquisitionFee, setInsurancePremium, setInsurancePremiumPayTo, setInterimRent, setInvestor, setInvestorAccrualMethod, setInvestorYieldFactor, setInvoiceFormatCode, setLastLeverageDownloadDate, setLateChargeAsmt, setLateChargeIndex, setLeaseAddress1, setLeaseAddress2, setLeaseAddressName, setLeaseCity, setLeaseDate, setLeaseSource, setLeaseState, setLeaseTypeCode, setLeaseZipCode, setLessee, setLessorAccrualMethod, setLessorRentalRateAddOn, setLessorRentalSimpleRate, setLeverageCommencementDate, setLeverageTerm, setMarketCode, setMarkUp, setMasterAppNumber, setMaximumInterestRateLeaseLevel, setMetro2FileFormat, setMinimumInterestRateLeaseLevel, setNonpyramidLateCrgMin, setNormalMstrSub, setNotaryFeeCost, setNotaryFeePayable, setNpvDiscountRate, setOffice, setOpenCloseLeaseType, setOptionalInsurance, setOrigCreditExpdate, setPayment_Amount, setPayment_Code, setPayment_Freq, setPaymentAmount, setPaymentFreq, setPortfolio, setPreauthSwitch, setPrimeRateBankNumber, setProductTypeCode, setPurchaseOption, setPurchaseOptionFee, setPurOptionBillingMethod, setPurOptionOwner, setRateOfParticipation, setRatePlan, setRecurringChargeAmount, setRecurringChargeBrkrPayable, setRecurringChargeDealerPayable, setRecurringChargeMaturityDate, setRecurringChargeStartDate, setRefundable, setRegion, setResidPercent, setResidual, setResIncomeSep, setRevolvingCreditLimit, setRevolvingCreditLineFee, setRevolvingDrawdown, setSalesPersonDollarPrct, setSalesPersonNumber, setSalesPersonVolumePrct, setSecurityDeposit, setSlDeprBasisAcquisitionFee, setSlDeprBasisDealerReserves, setStagedEquityAmount, setStagedEquityFundPbl, setStatementCode, setSubvention, setSumOfPayments, setTaxIDCModByUserYN, setTerm, setTotalInitialDirectCosts, setTradeIn, setTradeinDescription, setTransferOfEquityYN, setUpfrontSalesTaxCode, setUpfrontSalesTaxOnCost, setUpfrontTitlingTaxPaid, setUseTaxExemptCode, setVendContactName, setVendor, setVendorAccrualMethod, setVendorFactor, setVendPhoneNum, setWarrantyInsurance, 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, getCurrentData, getErrorMessage, getFieldValue, getFormAction, getInfoMessage, getLPCodes, getModulenumber, getMpd_Build_sequence, getResultData, getStateCodes, getWarnMessage, getXML_Build_sequence, hashtableToXml, initLabels, processFormActionType, putAll, removePropertyChangeListener, resetDataStore, selfToXML, setCurrentData, setDefaultPCRO, setField, setFormAction, setFormActionAdd, setFormActionClone, setFormActionFetch, setFormActionReset, setFormActionSearch, setFormActionUpdate, setLocale, setModulenumber
 
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

LPApplication

public LPApplication()
Method Detail

init

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


initMapData

public void initMapData(java.lang.Object request)

getRelationship

public java.lang.String getRelationship(int index)
here begins the getters


getClientNumber

public java.lang.String getClientNumber(int index)

getShortname

public java.lang.String getShortname(int index)

getColessee

public java.lang.String getColessee()

getGuarantor

public java.lang.String getGuarantor()

getStatus

public java.lang.String getStatus()

getLesseeName

public java.lang.String getLesseeName()

updateSolveFor

public void updateSolveFor(java.lang.Object request)

getLesseeRate

public java.lang.String getLesseeRate()

getFundingRate

public java.lang.String getFundingRate()

getCommission

public java.lang.String getCommission()

getSolveFor

public java.lang.String getSolveFor()

getAdvanced

public java.lang.String getAdvanced()

setLesseeRate

public void setLesseeRate(java.lang.String in)

setFundingRate

public void setFundingRate(java.lang.String in)

setCommission

public void setCommission(java.lang.String in)

setSolveFor

public void setSolveFor(java.lang.String in)

setAdvanced

public void setAdvanced(java.lang.String in)

getPaymentFreqMap

public java.util.Hashtable getPaymentFreqMap(msi.util.mplabels mprelabel)

getFormActionType

public int getFormActionType()
This returns the form action type from the object.

Returns:
int - the formaction type.

setLesseeName

public void setLesseeName(java.lang.String lessee)
setters


setColessee

public void setColessee(java.lang.String colessee)

setGuarantor

public void setGuarantor(java.lang.String guarantor)

setStatus

public void setStatus(java.lang.String status)

setPayment_Freq_

public void setPayment_Freq_(java.lang.String payment_Freq_str,
                             int index)
This will set the pmt_frq_l in the map dal.

Parameters:
payment_Freq_str -
index -

setPayment_Amount_

public void setPayment_Amount_(java.lang.String payment_Amount_str,
                               int index)
This will set the pmt_amt_d in the map dal.

Parameters:
payment_Amount_str -
index -

setPayment_Code_

public void setPayment_Code_(java.lang.String payment_Code_str,
                             int index)
This will set the pmt_cd_s in the map dal.

Parameters:
payment_Code_str -
index -

addApplication

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

editApplication

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

updateApplication

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

processApplication

public int processApplication(boolean onlyDoAdd)
                       throws java.rmi.RemoteException
This create or edits application 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

getXMLAppDoc

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

getOutputFileName

public java.lang.String getOutputFileName(java.lang.String dotFile,
                                          java.lang.String oldExtension,
                                          java.lang.String newExtension)
doc gen stuff follows


callDocgen

public java.lang.String[] callDocgen(java.lang.String docgenEndpoint,
                                     java.lang.String formAction,
                                     java.lang.String[] filelist,
                                     java.lang.String appnumber,
                                     java.lang.String taskName,
                                     boolean debug)
                              throws java.net.MalformedURLException,
                                     javax.xml.rpc.ServiceException,
                                     java.rmi.RemoteException
Throws:
java.net.MalformedURLException
javax.xml.rpc.ServiceException
java.rmi.RemoteException

buildResultSet

public java.lang.String[] buildResultSet(java.lang.String formaction,
                                         java.lang.String[] resultSet,
                                         java.lang.String[] filelist,
                                         java.lang.String appNumber,
                                         java.lang.String docgenLocaldir,
                                         java.lang.String endPoint,
                                         java.lang.String taskName,
                                         boolean debug)
                                  throws java.net.MalformedURLException,
                                         javax.xml.rpc.ServiceException,
                                         java.rmi.RemoteException,
                                         java.io.FileNotFoundException,
                                         java.io.IOException
Throws:
java.net.MalformedURLException
javax.xml.rpc.ServiceException
java.rmi.RemoteException
java.io.FileNotFoundException
java.io.IOException


© 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.