msi.web.client
Class LPUdt_Tables

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

public class LPUdt_Tables
extends msi.web.client.LPUdt_TablesGen

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
LPUdt_Tables()
           
 
Method Summary
 java.lang.String addUdt_Tables()
           
 java.lang.String editUserDefTable(java.lang.String udtKey, java.lang.String udtType, java.lang.String recordNumber)
           
 java.lang.String getXMLUDTDoc(java.lang.String udtKey, java.lang.String udtType, java.lang.String recordNumber)
           
 void init(java.lang.Object request)
          call this first.
 int processUserDefTables(boolean onlyDoAdd)
          This create or edits user defined tables records in a given xml document.
 void resetUdt_Tables()
           
 
Methods inherited from class msi.web.client.LPUdt_TablesGen
getRecordNumber, getUdtchecksum, getUdtField0_, getUdtField1_, getUdtField10_, getUdtField11_, getUdtField2_, getUdtField3_, getUdtField4_, getUdtField5_, getUdtField6_, getUdtField7_, getUdtField8_, getUdtField9_, getUdtKey, getUdtTable1, getUdtTable10, getUdtTable11, getUdtTable12, getUdtTable2, getUdtTable3, getUdtTable4, getUdtTable5, getUdtTable6, getUdtTable7, getUdtTable8, getUdtTable9, getUdtType, resetStorage, setRecordNumber, setUdtchecksum, setUdtField0_, setUdtField1_, setUdtField10_, setUdtField11_, setUdtField2_, setUdtField3_, setUdtField4_, setUdtField5_, setUdtField6_, setUdtField7_, setUdtField8_, setUdtField9_, setUdtKey, setUdtTable1, setUdtTable10, setUdtTable11, setUdtTable12, setUdtTable2, setUdtTable3, setUdtTable4, setUdtTable5, setUdtTable6, setUdtTable7, setUdtTable8, setUdtTable9, setUdtType, 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

LPUdt_Tables

public LPUdt_Tables()
Method Detail

resetUdt_Tables

public void resetUdt_Tables()

init

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


addUdt_Tables

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

processUserDefTables

public int processUserDefTables(boolean onlyDoAdd)
                         throws java.rmi.RemoteException
This create or edits user defined tables records in a given xml document. Call this when you want to update a single user defined table or multiple user defined tables 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

editUserDefTable

public java.lang.String editUserDefTable(java.lang.String udtKey,
                                         java.lang.String udtType,
                                         java.lang.String recordNumber)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getXMLUDTDoc

public java.lang.String getXMLUDTDoc(java.lang.String udtKey,
                                     java.lang.String udtType,
                                     java.lang.String recordNumber)
                              throws java.lang.Exception
Throws:
java.lang.Exception


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