public class PTFCoverLetter extends Object
PTF.getCoverLetters()
to generate a PTFCoverLetter object.Modifier and Type | Field | 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 | Description |
---|---|---|
Reader |
getContents() |
Returns a Reader object that can be used to read the contents
of this cover letter.
|
String |
getNLV() |
Returns the National Language Version (NLV) for this cover letter.
|
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.
|
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 Reader getContents() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.InterruptedException
- If this thread is interrupted.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public String getNLV()
public String getPath()
public int getPostSpecialInstructions()
public int getPreSpecialInstructions()
public AS400 getSystem()
Copyright © 2024. All rights reserved.