com.ibm.etools.iseries.services.qsys.objects
Class RetrieveMessageAPIWrapper
java.lang.Object
com.ibm.etools.iseries.services.qsys.objects.RetrieveMessageAPIWrapper
public class RetrieveMessageAPIWrapper
- extends Object
Java class to wrapper the QMHRTVM IBM i API for retrieving message descriptions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static String copyright
RetrieveMessageAPIWrapper
public RetrieveMessageAPIWrapper(AS400 as400,
IQSYSMessageFile file,
IQSYSFactory factory)
- Constructor for ApiQMHRTVM.
getFirstMessage
public IQSYSMessageDescription getFirstMessage()
throws Exception
- Throws:
Exception
getNextMessage
public IQSYSMessageDescription getNextMessage()
throws Exception
- Throws:
Exception
getMessage
public IQSYSMessageDescription getMessage(String id)
throws Exception
- Throws:
Exception
getMessageWithReplacement
public IQSYSMessageDescription getMessageWithReplacement(String id,
String replacement)
throws Exception
- Parameters:
id
- replacement
-
- Returns:
- ISeriesMessageDescriptor with the first level message containing the replacement text
- Throws:
Exception
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.