com.konakart.app
Class PdfOptions
java.lang.Object
com.konakart.app.PdfOptions
- All Implemented Interfaces:
- PdfOptionsIf
public class PdfOptions
- extends java.lang.Object
- implements PdfOptionsIf
PdfOptions object for the creation of PDF documents
|
Constructor Summary |
PdfOptions()
Instantiates an AdminAddressSearch object - a requirement for a bean class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PdfOptions
public PdfOptions()
- Instantiates an AdminAddressSearch object - a requirement for a bean class
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- Returns:
- Returns a string containing the attributes of the TaxRateSearch object.
toStringBrief
public java.lang.String toStringBrief()
- Returns:
- Returns a string containing the attributes of the TaxRate object.
getId
public int getId()
- Specified by:
getId in interface PdfOptionsIf
- Returns:
- Returns the id.
setId
public void setId(int id)
- Specified by:
setId in interface PdfOptionsIf
- Parameters:
id - The id to set.
getCustom1
public java.lang.String getCustom1()
- Specified by:
getCustom1 in interface PdfOptionsIf
- Returns:
- the custom1
setCustom1
public void setCustom1(java.lang.String custom1)
- Specified by:
setCustom1 in interface PdfOptionsIf
- Parameters:
custom1 - the custom1 to set
getCustom2
public java.lang.String getCustom2()
- Specified by:
getCustom2 in interface PdfOptionsIf
- Returns:
- the custom2
setCustom2
public void setCustom2(java.lang.String custom2)
- Specified by:
setCustom2 in interface PdfOptionsIf
- Parameters:
custom2 - the custom2 to set
getLanguageId
public int getLanguageId()
- Specified by:
getLanguageId in interface PdfOptionsIf
- Returns:
- the Language Id
setLanguageId
public void setLanguageId(int languageId)
- Specified by:
setLanguageId in interface PdfOptionsIf
- Parameters:
languageId -
getType
public int getType()
- Specified by:
getType in interface PdfOptionsIf
- Returns:
- the report type
setType
public void setType(int type)
- Request type
"HTML types" can be one of:
- ConstantsMgr.HTML_ORDER_DETAIL (= 1)
- ConstantsMgr.HTML_ORDER_INVOICE (= 2)
- ConstantsMgr.HTML_ORDER_PACKING_LIST (= 3)
- Specified by:
setType in interface PdfOptionsIf
- Parameters:
type -
isReturnFileName
public boolean isReturnFileName()
- Specified by:
isReturnFileName in interface PdfOptionsIf
- Returns:
- whether the File Name should be returned
setReturnFileName
public void setReturnFileName(boolean returnFileName)
- Specified by:
setReturnFileName in interface PdfOptionsIf
- Parameters:
returnFileName -
isReturnBytes
public boolean isReturnBytes()
- Specified by:
isReturnBytes in interface PdfOptionsIf
- Returns:
- whether the bytes of the PDF file should be returned
setReturnBytes
public void setReturnBytes(boolean returnBytes)
- Specified by:
setReturnBytes in interface PdfOptionsIf
- Parameters:
returnBytes -
isCreateFile
public boolean isCreateFile()
- Specified by:
isCreateFile in interface PdfOptionsIf
- Returns:
- the createFile
setCreateFile
public void setCreateFile(boolean createFile)
- Specified by:
setCreateFile in interface PdfOptionsIf
- Parameters:
createFile - the createFile to set
getTargetFileName
public java.lang.String getTargetFileName()
- Specified by:
getTargetFileName in interface PdfOptionsIf
- Returns:
- the targetFileName
setTargetFileName
public void setTargetFileName(java.lang.String targetFileName)
- Specified by:
setTargetFileName in interface PdfOptionsIf
- Parameters:
targetFileName - the targetFileName to set
Copyright © 2011 DS Data Systems UK Ltd.