public class PdfOptions extends java.lang.Object implements PdfOptionsIf
Constructor and Description |
---|
PdfOptions()
Instantiates a PdfOptions object - a requirement for a bean class
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getHtml() |
int |
getId() |
int |
getLanguageId() |
java.lang.String |
getTargetFileName() |
java.lang.String |
getTemplateName() |
int |
getType() |
boolean |
isCreateFile() |
boolean |
isIncludeAllChildrenCustomerOrders()
Includes all orders of the customer's children, grandchildren etc.
|
boolean |
isIncludeChildrenCustomerOrders()
Includes all orders of the customers direct children, but not from any children they may have
|
boolean |
isIncludeParentCustomerOrders()
Includes all orders of the customer's parent
|
boolean |
isIncludeSiblingCustomerOrders()
Includes all orders of the customer's siblings (customers sharing the same parent customer)
|
boolean |
isReturnBytes() |
boolean |
isReturnFileName() |
void |
setCreateFile(boolean createFile) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setHtml(java.lang.String html) |
void |
setId(int id) |
void |
setIncludeAllChildrenCustomerOrders(boolean includeAllChildrenCustomerOrders)
Includes all orders of the customer's children, grandchildren etc.
|
void |
setIncludeChildrenCustomerOrders(boolean includeChildrenCustomerOrders)
Includes all orders of the customers direct children, but not from any children they may have
|
void |
setIncludeParentCustomerOrders(boolean includeParentCustomerOrders)
Includes all orders of the customer's parent
|
void |
setIncludeSiblingCustomerOrders(boolean includeSiblingCustomerOrders)
Includes all orders of the customer's siblings (customers sharing the same parent customer)
|
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() |
public PdfOptions()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getId()
getId
in interface PdfOptionsIf
public void setId(int id)
setId
in interface PdfOptionsIf
id
- The id to set.public java.lang.String getCustom1()
getCustom1
in interface PdfOptionsIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface PdfOptionsIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface PdfOptionsIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface PdfOptionsIf
custom2
- the custom2 to setpublic int getLanguageId()
getLanguageId
in interface PdfOptionsIf
public void setLanguageId(int languageId)
setLanguageId
in interface PdfOptionsIf
languageId
- the languageIdpublic int getType()
getType
in interface PdfOptionsIf
public void setType(int type)
"HTML types" can be one of:
setType
in interface PdfOptionsIf
type
- the typepublic boolean isReturnFileName()
isReturnFileName
in interface PdfOptionsIf
public void setReturnFileName(boolean returnFileName)
setReturnFileName
in interface PdfOptionsIf
returnFileName
- the returnFileNamepublic boolean isReturnBytes()
isReturnBytes
in interface PdfOptionsIf
public void setReturnBytes(boolean returnBytes)
setReturnBytes
in interface PdfOptionsIf
returnBytes
- the returnBytespublic boolean isCreateFile()
isCreateFile
in interface PdfOptionsIf
public void setCreateFile(boolean createFile)
setCreateFile
in interface PdfOptionsIf
createFile
- the createFile to setpublic java.lang.String getTargetFileName()
getTargetFileName
in interface PdfOptionsIf
public void setTargetFileName(java.lang.String targetFileName)
setTargetFileName
in interface PdfOptionsIf
targetFileName
- the targetFileName to setpublic java.lang.String getTemplateName()
getTemplateName
in interface PdfOptionsIf
public void setTemplateName(java.lang.String templateName)
setTemplateName
in interface PdfOptionsIf
templateName
- the templateName to set. If the type is set to KKConstants.HTML_NAMED_TEMPLATE the
templateName will be used as the template.public boolean isIncludeParentCustomerOrders()
isIncludeParentCustomerOrders
in interface PdfOptionsIf
public void setIncludeParentCustomerOrders(boolean includeParentCustomerOrders)
setIncludeParentCustomerOrders
in interface PdfOptionsIf
includeParentCustomerOrders
- the includeParentCustomerOrders to setpublic boolean isIncludeSiblingCustomerOrders()
isIncludeSiblingCustomerOrders
in interface PdfOptionsIf
public void setIncludeSiblingCustomerOrders(boolean includeSiblingCustomerOrders)
setIncludeSiblingCustomerOrders
in interface PdfOptionsIf
includeSiblingCustomerOrders
- the includeSiblingCustomerOrders to setpublic boolean isIncludeAllChildrenCustomerOrders()
isIncludeAllChildrenCustomerOrders
in interface PdfOptionsIf
public void setIncludeAllChildrenCustomerOrders(boolean includeAllChildrenCustomerOrders)
setIncludeAllChildrenCustomerOrders
in interface PdfOptionsIf
includeAllChildrenCustomerOrders
- the includeAllChildrenCustomerOrders to setpublic boolean isIncludeChildrenCustomerOrders()
isIncludeChildrenCustomerOrders
in interface PdfOptionsIf
public void setIncludeChildrenCustomerOrders(boolean includeChildrenCustomerOrders)
setIncludeChildrenCustomerOrders
in interface PdfOptionsIf
includeChildrenCustomerOrders
- the includeChildrenCustomerOrders to setpublic java.lang.String getHtml()
getHtml
in interface PdfOptionsIf
public void setHtml(java.lang.String html)
setHtml
in interface PdfOptionsIf
html
- the html to setCopyright © 2018 DS Data Systems UK Ltd.