msi.web.client
Class LPNotebook
java.lang.Object
org.apache.struts.action.ActionForm
msi.web.client.DataStore
msi.web.client.LPNotebookGen
msi.web.client.LPNotebook
- All Implemented Interfaces:
- java.io.Serializable
- public class LPNotebook
- extends msi.web.client.LPNotebookGen
This is the client object class. This class is used for all client updates.
- Author:
- Joseph Acosta
- See Also:
- Serialized Form
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 |
Method Summary |
java.lang.String |
addNote()
|
int |
addNoteBook(java.lang.String xmldoc,
boolean addOnly)
|
int |
addNoteBookAsUser(java.lang.String xmldoc,
boolean addOnly,
java.lang.String username,
java.lang.String passwd)
|
java.lang.String |
editNote(java.lang.String appLeaseNumber,
java.lang.String dateEnt,
java.lang.String timeEnt)
This is used to edit a notebook record. |
java.util.Hashtable |
getPriorityList()
|
java.lang.String |
getXMLNotebookDoc(java.lang.String appLeaseNumber,
java.lang.String dateEnt,
java.lang.String timeEnt)
|
void |
init(java.lang.Object request)
call this first. |
void |
initMapData(java.lang.Object request)
|
int |
processNote(boolean onlyDoAdd)
This create or edits application notebook records in a given xml
document. |
java.lang.String |
updateNote()
|
Methods inherited from class msi.web.client.LPNotebookGen |
getAppLeaseNumber, getCollectionStatus, getDateEntered, getDateFollowup, getFromUser, getLeaseAcc, getMjlcksum, getNotebookText, getNoteTitle, getNoteType, getPrcs, getPrio, getPrivateNote, getReason, getTimeEntered, getTimeFollowup, getToUser, resetStorage, setAppLeaseNumber, setCollectionStatus, setDateEntered, setDateFollowup, setFromUser, setLeaseAcc, setMjlcksum, setNotebookText, setNoteTitle, setNoteType, setPrcs, setPrio, setPrivateNote, setReason, setTimeEntered, setTimeFollowup, setToUser, 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 |
LPNotebook
public LPNotebook()
init
public void init(java.lang.Object request)
- call this first.
initMapData
public void initMapData(java.lang.Object request)
addNote
public java.lang.String addNote()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
updateNote
public java.lang.String updateNote()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
editNote
public java.lang.String editNote(java.lang.String appLeaseNumber,
java.lang.String dateEnt,
java.lang.String timeEnt)
throws java.rmi.RemoteException
- This is used to edit a notebook record. Currently only the application
notes are supported.
- Parameters:
appLeaseNumber
- dateEnt
- timeEnt
-
- Returns:
- the result of dsProcessRequest()
- Throws:
java.rmi.RemoteException
getXMLNotebookDoc
public java.lang.String getXMLNotebookDoc(java.lang.String appLeaseNumber,
java.lang.String dateEnt,
java.lang.String timeEnt)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
processNote
public int processNote(boolean onlyDoAdd)
throws java.rmi.RemoteException
- This create or edits application notebook 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
getPriorityList
public java.util.Hashtable getPriorityList()
addNoteBookAsUser
public int addNoteBookAsUser(java.lang.String xmldoc,
boolean addOnly,
java.lang.String username,
java.lang.String passwd)
throws java.lang.Exception
- Throws:
java.lang.Exception
addNoteBook
public int addNoteBook(java.lang.String xmldoc,
boolean addOnly)
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.