| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.kassenterprises.soapserver.AplNavigatorDatabaseService
 Overview
 The AplNavigatorDatabaseService class offers service methods to leverage
 the data stored in the APL Navigator customer and user databases.  The
 primary methods are authenticateUser() and getAccounts()
 .  The authenticateUser() method can be used verify a
 user password against the APL Navigator database.  The getAccounts()
  method can be used to obtain a list of accounts the user has access
 to either based on the APL Navigator database, or through a selection query
 you provide.
 
 Optional Parameters
 Parameters that are not required for a particular data should be passed as
 null or empty strings.  Regardless, they will be ignored if they are not
 needed.  Note that transId (reserved for future async messaging) and 
 allowableAccounts (which may be provided to override the APL Navigator value
 for the corresponding user) are always optional.
 
 Required Parameters
 The parameters customerCode (your APL Navigator assigned acronym) and userId
 (the APL Navigator on whose behalf the request is being made) are 
 always required.  If a required parameter is not supplied for a
 particular data set, the request will most likely fail.
 
 Miscellaneous
 A getVersion() service method is also supplied.  This method
 may be used to retrieve the current name and version of the APL Navigator 
 SOAP AplNavigatorDatabaseService.  Note that this service can also be used
 as a simple test to check whether you can reach the 
 AplNavigatorDatabaseService.
 
| Constructor Summary | |
AplNavigatorDatabaseService()
Constructor is not needed or used to make requests on AplNavigatorDatabaseService.  | 
|
| Method Summary | |
 java.lang.String | 
authenticateUser(java.lang.String transId,
                 java.lang.String customerCode,
                 java.lang.String userId,
                 java.lang.String password)
Return "true" if the userId/password supplied can be authenticated against the APL Navigator database; otherwise return "false".  | 
 java.lang.String | 
getAccounts(java.lang.String transId,
            java.lang.String customerCode,
            java.lang.String userId)
Return comma-delimited list of accounts that the supplied userId has access to according to the APL Navigator database.  | 
 java.lang.String | 
getAccounts(java.lang.String transId,
            java.lang.String customerCode,
            java.lang.String userId,
            java.lang.String allowableAccounts)
Return comma-delimited list of accounts that the supplied userId has access to based on the supplied allowableAccounts string.  | 
 java.lang.String | 
getVersion(java.lang.String transId,
           java.lang.String customerCode)
Request AplNavigatorDatabaseService Version #.  | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public AplNavigatorDatabaseService()
| Method Detail | 
public java.lang.String getVersion(java.lang.String transId,
                                   java.lang.String customerCode)
transId - ignored; reserved for future use of async messagingcustomerCode - The APL Navigator acronym of customer making request
public java.lang.String authenticateUser(java.lang.String transId,
                                         java.lang.String customerCode,
                                         java.lang.String userId,
                                         java.lang.String password)
                                  throws org.apache.soap.SOAPException
transId - ignored; reserved for future use of async messagingcustomerCode - The APL Navigator acronym of customer making requestuserId - The APL Navigator user id request is on behalf ofpassword - The supplied password for the userIdorg.apache.soap.SOAPException -  
public java.lang.String getAccounts(java.lang.String transId,
                                    java.lang.String customerCode,
                                    java.lang.String userId)
                             throws org.apache.soap.SOAPException
transId - ignored; reserved for future use of async messagingcustomerCode - The APL Navigator acronym of customer making requestuserId - The APL Navigator user id request is on behalf oforg.apache.soap.SOAPException -  
public java.lang.String getAccounts(java.lang.String transId,
                                    java.lang.String customerCode,
                                    java.lang.String userId,
                                    java.lang.String allowableAccounts)
                             throws org.apache.soap.SOAPException
transId - ignored; reserved for future use of async messagingcustomerCode - The APL Navigator acronym of customer making requestuserId - The APL Navigator user id request is on behalf ofallowableAccounts - Temp override of user default for this fieldorg.apache.soap.SOAPException -  
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||