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.Objectpublic java.lang.String toStringBrief()
public int getId()
getId in interface PdfOptionsIfpublic void setId(int id)
setId in interface PdfOptionsIfid - The id to set.public java.lang.String getCustom1()
getCustom1 in interface PdfOptionsIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface PdfOptionsIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface PdfOptionsIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface PdfOptionsIfcustom2 - the custom2 to setpublic int getLanguageId()
getLanguageId in interface PdfOptionsIfpublic void setLanguageId(int languageId)
setLanguageId in interface PdfOptionsIflanguageId - the languageIdpublic int getType()
getType in interface PdfOptionsIfpublic void setType(int type)
"HTML types" can be one of:
setType in interface PdfOptionsIftype - the typepublic boolean isReturnFileName()
isReturnFileName in interface PdfOptionsIfpublic void setReturnFileName(boolean returnFileName)
setReturnFileName in interface PdfOptionsIfreturnFileName - the returnFileNamepublic boolean isReturnBytes()
isReturnBytes in interface PdfOptionsIfpublic void setReturnBytes(boolean returnBytes)
setReturnBytes in interface PdfOptionsIfreturnBytes - the returnBytespublic boolean isCreateFile()
isCreateFile in interface PdfOptionsIfpublic void setCreateFile(boolean createFile)
setCreateFile in interface PdfOptionsIfcreateFile - the createFile to setpublic java.lang.String getTargetFileName()
getTargetFileName in interface PdfOptionsIfpublic void setTargetFileName(java.lang.String targetFileName)
setTargetFileName in interface PdfOptionsIftargetFileName - the targetFileName to setpublic java.lang.String getTemplateName()
getTemplateName in interface PdfOptionsIfpublic void setTemplateName(java.lang.String templateName)
setTemplateName in interface PdfOptionsIftemplateName - 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 PdfOptionsIfpublic void setIncludeParentCustomerOrders(boolean includeParentCustomerOrders)
setIncludeParentCustomerOrders in interface PdfOptionsIfincludeParentCustomerOrders - the includeParentCustomerOrders to setpublic boolean isIncludeSiblingCustomerOrders()
isIncludeSiblingCustomerOrders in interface PdfOptionsIfpublic void setIncludeSiblingCustomerOrders(boolean includeSiblingCustomerOrders)
setIncludeSiblingCustomerOrders in interface PdfOptionsIfincludeSiblingCustomerOrders - the includeSiblingCustomerOrders to setpublic boolean isIncludeAllChildrenCustomerOrders()
isIncludeAllChildrenCustomerOrders in interface PdfOptionsIfpublic void setIncludeAllChildrenCustomerOrders(boolean includeAllChildrenCustomerOrders)
setIncludeAllChildrenCustomerOrders in interface PdfOptionsIfincludeAllChildrenCustomerOrders - the includeAllChildrenCustomerOrders to setpublic boolean isIncludeChildrenCustomerOrders()
isIncludeChildrenCustomerOrders in interface PdfOptionsIfpublic void setIncludeChildrenCustomerOrders(boolean includeChildrenCustomerOrders)
setIncludeChildrenCustomerOrders in interface PdfOptionsIfincludeChildrenCustomerOrders - the includeChildrenCustomerOrders to setpublic java.lang.String getHtml()
getHtml in interface PdfOptionsIfpublic void setHtml(java.lang.String html)
setHtml in interface PdfOptionsIfhtml - the html to setCopyright © 2018 DS Data Systems UK Ltd.