com.hp.ucmdb.discovery.library.clients.query
Class SAPClient

java.lang.Object
  extended by com.hp.ucmdb.discovery.library.clients.BaseClient
      extended by com.hp.ucmdb.discovery.library.clients.query.SAPClient

public class SAPClient
extends BaseClient

The SAPClient class is responsible for querying SAP systems.


Field Summary
 
Fields inherited from class com.hp.ucmdb.discovery.library.clients.BaseClient
CREDENTIALS_ID, ENCODING
 
Constructor Summary
SAPClient(ClientsFrameworkImpl framework, java.util.Properties props)
           
 
Method Summary
 DynamicParserTable executeQuery(java.lang.String query)
          Executes the specified query against the connected SAP system.
 DynamicParserTable getComponents(java.lang.String site)
          Discovers the components on the specified site.
 java.lang.String getConnectionClient()
           
 DynamicParserTable getDatabase(java.lang.String site)
           
 java.lang.String getInstanceNumber()
          Returns the SAP system number used to connect to the SAP system.
 java.lang.String getRouter()
           
 DynamicParserTable getServers(java.lang.String site)
          Discovers the servers on the specified SAP site.
 DynamicParserTable getServices(java.lang.String site, java.lang.String server)
          Returns a table of the services running on the specified server and site.
 DynamicParserTable getSites()
          Discovers SAP sites.
 DynamicParserTable getSupportPackages(java.lang.String site)
          Discovers the support packages on the specified site.
 
Methods inherited from class com.hp.ucmdb.discovery.library.clients.BaseClient
close, getClientType, getCredentialId, getIpAddress, getProperty, getShellCmdSeperator, getSudoCommands, getSudoPaths, getTimeout, getUserName, isConnected, supportsSudo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAPClient

public SAPClient(ClientsFrameworkImpl framework,
                 java.util.Properties props)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getDatabase

public DynamicParserTable getDatabase(java.lang.String site)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getServices

public DynamicParserTable getServices(java.lang.String site,
                                      java.lang.String server)
                               throws java.lang.Exception
Returns a table of the services running on the specified server and site.

Parameters:
site -
server -
Returns:
Throws:
java.lang.Exception

getServers

public DynamicParserTable getServers(java.lang.String site)
                              throws java.lang.Exception
Discovers the servers on the specified SAP site.

Parameters:
site -
Returns:
Throws:
java.lang.Exception

getSupportPackages

public DynamicParserTable getSupportPackages(java.lang.String site)
                                      throws java.lang.Exception
Discovers the support packages on the specified site.

Parameters:
site -
Returns:
Throws:
java.lang.Exception

getComponents

public DynamicParserTable getComponents(java.lang.String site)
                                 throws java.lang.Exception
Discovers the components on the specified site.

Parameters:
site -
Returns:
Throws:
java.lang.Exception

getSites

public DynamicParserTable getSites()
                            throws java.lang.Exception
Discovers SAP sites.

Returns:
Throws:
java.lang.Exception

getRouter

public java.lang.String getRouter()
Returns:
router

getConnectionClient

public java.lang.String getConnectionClient()
Returns:

getInstanceNumber

public java.lang.String getInstanceNumber()
Returns the SAP system number used to connect to the SAP system.

Returns:
The string representation of the SAP system number

executeQuery

public DynamicParserTable executeQuery(java.lang.String query)
                                throws java.lang.Exception
Executes the specified query against the connected SAP system.

Parameters:
query -
Returns:
Throws:
java.lang.Exception


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.