public class PTFCoverLetter
extends java.lang.Object
PTF.getCoverLetters()
to generate a PTFCoverLetter object.Modifier and Type | Field and Description |
---|---|
static int |
SPECIAL_INSTRUCTIONS_IMMEDIATE
Constant indicating that the cover letter does have pre-apply or pre-remove
special instructions, but only when the PTF is applied or removed immediately.
|
static int |
SPECIAL_INSTRUCTIONS_IPL
Constant indicating that the cover letter does have pre-apply or pre-remove
special instructions, but only when the PTF is applied or removed during an IPL.
|
static int |
SPECIAL_INSTRUCTIONS_NO
Constant indicating that the cover letter does not have any special instructions.
|
static int |
SPECIAL_INSTRUCTIONS_UNKNOWN
Constant indicating that it is not known if the cover letter has special instructions.
|
static int |
SPECIAL_INSTRUCTIONS_YES
Constant indicating that the cover letter does have special instructions.
|
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
getContents()
Returns a Reader object that can be used to read the contents
of this cover letter.
|
java.lang.String |
getNLV()
Returns the National Language Version (NLV) for this cover letter.
|
java.lang.String |
getPath()
Returns the full pathname to this cover letter on the system.
|
int |
getPostSpecialInstructions()
Returns whether the cover letter contains special instructions that should
be followed after applying or removing the PTF.
|
int |
getPreSpecialInstructions()
Returns whether the cover letter contains special instructions that should
be followed prior to applying or removing the PTF.
|
AS400 |
getSystem()
Returns the system.
|
java.lang.String |
toString()
Returns a String representation of this cover letter.
|
public static final int SPECIAL_INSTRUCTIONS_NO
public static final int SPECIAL_INSTRUCTIONS_YES
public static final int SPECIAL_INSTRUCTIONS_IMMEDIATE
public static final int SPECIAL_INSTRUCTIONS_IPL
public static final int SPECIAL_INSTRUCTIONS_UNKNOWN
public java.io.Reader getContents() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public java.lang.String getNLV()
public java.lang.String getPath()
public int getPostSpecialInstructions()
public int getPreSpecialInstructions()
public AS400 getSystem()
public java.lang.String toString()
toString
in class java.lang.Object