|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.npdbhipdb.QRXS
public class QRXS
QRXS API and client implementation.
Nested Class Summary | |
---|---|
class |
QRXS.Configuration
QRXS configuration. |
class |
QRXS.ErrorFile
Encapsulate processing error file name and associated error code. |
(package private) static class |
QRXS.StatusCodeReference
Reference class used to associate status codes with their descriptions |
Constructor Summary | |
---|---|
QRXS()
|
Method Summary | |
---|---|
java.lang.String |
changePassword(QRXS.Configuration configuration,
java.lang.String password,
java.lang.String configFilename,
boolean updateConfigFile)
Perform a change password transaction without a file submission. |
java.lang.String |
encode(java.lang.String filename,
java.lang.String password)
Encode the password and add to the properties file |
java.lang.String |
encodeProxyPwd(java.lang.String filename,
java.lang.String password)
Encode the proxy password and add to the properties file |
java.lang.String |
getNewPassword()
|
java.lang.String |
getStatusMessage()
|
boolean |
getupdateConfigFile()
|
java.lang.String |
getVersion()
Gets the version. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
receive(QRXS.Configuration configuration,
java.util.List<java.lang.String> responseFilenames)
Receive responses from server, save files to download directory |
java.lang.String |
resetPassword(QRXS.Configuration configuration,
java.lang.String user)
Perform a reset password transaction without a file submission. |
java.lang.String |
send(QRXS.Configuration configuration,
java.util.List<java.lang.String> submissionFilenames,
java.util.List<java.lang.String> responseFilenames,
java.util.List<QRXS.ErrorFile> errorFiles)
Perform the send transaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QRXS()
Method Detail |
---|
public java.lang.String getVersion()
public java.lang.String send(QRXS.Configuration configuration, java.util.List<java.lang.String> submissionFilenames, java.util.List<java.lang.String> responseFilenames, java.util.List<QRXS.ErrorFile> errorFiles) throws QRXSException
configuration
- QRXS configurationsubmissionFilenames
- Paths of files to uploadresponseFilenames
- File names of response files received into download directoryerrorFiles
- QRXS.ErrorFile list, Upload files that were rejected outright, no response generated
QRXSException
- Error sending, receiving, or storing filespublic java.lang.String receive(QRXS.Configuration configuration, java.util.List<java.lang.String> responseFilenames) throws QRXSException
configuration
- QRXS configurationresponseFilenames
- Response filenames received
QRXSException
- Error receiving or storing filespublic java.lang.String encode(java.lang.String filename, java.lang.String password) throws QRXSException
filename
- Properties file namepassword
- Password to encode
QRXSException
- Properties file not foundpublic java.lang.String encodeProxyPwd(java.lang.String filename, java.lang.String password) throws QRXSException
filename
- Properties file namepassword
- Proxy Password to encode
QRXSException
- Properties file not foundpublic static void main(java.lang.String[] args)
public java.lang.String getStatusMessage()
public boolean getupdateConfigFile()
public java.lang.String getNewPassword()
public java.lang.String resetPassword(QRXS.Configuration configuration, java.lang.String user) throws QRXSException
configuration
- QRXS configurationuser
- User whose password needs to get reset
QRXSException
- Error occurred while resetting passwordpublic java.lang.String changePassword(QRXS.Configuration configuration, java.lang.String password, java.lang.String configFilename, boolean updateConfigFile) throws QRXSException
configuration
- QRXS configurationpassword
- The new passwordupdateConfigFile
- If the config file should be encoded with the new passwordconfigFilename
- The config file name
QRXSException
- Error occurred while changing password
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |