public class AdminPdfOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
createFile
Set to true to create a PDF file on disk.
|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private int |
id
Unspecified id, usually the OrderId
|
private int |
languageId
Language Id
|
private boolean |
returnBytes
return an array of bytes representing the PDF file.
|
private boolean |
returnFileName
return a String containing a Full File Name for accessing the PDF file created
|
private java.lang.String |
targetFileName
If a PDF file is defined to be created (see createFile), this will be the name for the new
file.
|
private java.lang.String |
templateName
templateName - used when type == KKConstants.HTML_NAMED_TEMPLATE
|
private int |
type
request type
|
Constructor and Description |
---|
AdminPdfOptions()
Instantiates an AdminAddressSearch object - a requirement for a bean class
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
int |
getId() |
int |
getLanguageId() |
java.lang.String |
getTargetFileName() |
java.lang.String |
getTemplateName() |
int |
getType() |
boolean |
isCreateFile() |
boolean |
isReturnBytes() |
boolean |
isReturnFileName() |
void |
setCreateFile(boolean createFile) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setId(int id) |
void |
setLanguageId(int languageId) |
void |
setReturnBytes(boolean returnBytes) |
void |
setReturnFileName(boolean returnFileName) |
void |
setTargetFileName(java.lang.String targetFileName) |
void |
setTemplateName(java.lang.String templateName) |
void |
setType(int type)
Request type
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int languageId
private int type
private boolean createFile
private java.lang.String templateName
private java.lang.String targetFileName
private boolean returnFileName
private boolean returnBytes
private java.lang.String custom1
private java.lang.String custom2
public AdminPdfOptions()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic int getLanguageId()
public void setLanguageId(int languageId)
languageId
- the languageIdpublic int getType()
public void setType(int type)
"HTML types" can be one of:
type
- the typepublic boolean isReturnFileName()
public void setReturnFileName(boolean returnFileName)
returnFileName
- the returnFileNamepublic boolean isReturnBytes()
public void setReturnBytes(boolean returnBytes)
returnBytes
- the returnBytespublic boolean isCreateFile()
public void setCreateFile(boolean createFile)
createFile
- the createFile to setpublic java.lang.String getTargetFileName()
public void setTargetFileName(java.lang.String targetFileName)
targetFileName
- the targetFileName to setpublic java.lang.String getTemplateName()
public void setTemplateName(java.lang.String templateName)
templateName
- the templateName to set. If the type is set to KKConstants.HTML_NAMED_TEMPLATE the
templateName will be used as the template.Copyright © 2018 DS Data Systems UK Ltd.