|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IISeriesConnection
The IISeriesConnection interface represents a connection to a remote or local iSeries
system. This interface should be used as the starting point for accessing the iSeries, methods
are defined for running commands, accessing objects and jobs on the iSeries.
Depending only on this interface allows your code to run inside of WDSc using RSE connections
for communications or outside of the iSeries directly using the IBM Toolbox for Java and the classes
in com.ibm.etoools.iseries.comm package.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
boolean |
checkAuthority(String library,
String object,
String objType,
String authList)
Check if the current user profile has the required authorities to the specified object. |
boolean |
checkAuthority(String library,
String object,
String objType,
String[] authList)
Check if the current user profile has the required authorities to the specified object. |
boolean |
connect()
Connect to the iSeries. |
String |
getConnectionName()
Get the name for this connection. |
IISeriesEditDescriptionsInfo |
getEditDescriptions()
Retrieve the edit description information from the iSeries. |
String |
getHostName()
Retrieve the host name for this connection. |
IISeriesFile |
getISeriesFile(String libraryName,
String fileName)
Return an ISeriesFile from this connection, given its name |
IISeriesMember |
getISeriesMember(String libraryName,
String fileName,
String memberName)
Return an ISeriesMember from this connection, given its name, file name and library name |
IISeriesMessageDescription |
getMessageDescription(String msgFileLibrary,
String msgFileName,
String msgID)
Retrieve a message description from the remote system |
String |
getUserID()
Returns the userid for this connection |
String |
getVersionReleaseModification()
Get the version, release and modification level of the remote system. |
boolean |
isConnected()
Test if we are currently connected to this iSeries. |
boolean |
isDBCSEnabled()
Check if the system is DBCS enabled. |
Field Detail |
---|
static final String Copyright
Method Detail |
---|
boolean connect() throws Exception
Exception
String getConnectionName()
boolean isConnected()
IISeriesEditDescriptionsInfo getEditDescriptions() throws Exception
Exception
String getHostName()
String getUserID()
boolean isDBCSEnabled() throws Exception
Exception
String getVersionReleaseModification()
IISeriesMember getISeriesMember(String libraryName, String fileName, String memberName) throws Exception
Exception
IISeriesMessageDescription getMessageDescription(String msgFileLibrary, String msgFileName, String msgID) throws Exception
String
- msgFileLibrary The library where the message file existsString
- msgFileName The name of the message fileString
- msgID The ID of the message description to retrieve
SystemMessageException
- if the message file does not exists.
Exception
IISeriesFile getISeriesFile(String libraryName, String fileName) throws Exception
SystemMessageException
- if an error occurs while retrieving the
file information.
Exception
boolean checkAuthority(String library, String object, String objType, String[] authList) throws Exception
library
- The library which contains the object to checkobject
- The object to checkobjType
- The object typeauthList
- Array of authorities to check, use the constants from IISeriesAuthorityConstants
Exception
boolean checkAuthority(String library, String object, String objType, String authList) throws Exception
library
- The library which contains the object to checkobject
- The object to checkobjType
- The object typeauthList
- Authorities to check. Each authority must be 10 characters, appended together into a single String. Use
the constants from IISeriesAuthorityConstants, or the other checkAuthority method which takes a String array
Exception
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |