Class Report
- java.lang.Object
-
- org.openbravo.erpCommon.utility.reporting.Report
-
- All Implemented Interfaces:
Serializable
public class Report extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Report.OutputTypeEnum
-
Field Summary
Fields Modifier and Type Field Description Report.OutputTypeEnum
outputType
-
Constructor Summary
Constructors Constructor Description Report(ConnectionProvider connectionProvider, DocumentType documentType, String documentId, String strLanguage, String templateId, boolean multiReport, Report.OutputTypeEnum outputTypeString)
Report(DocumentType documentType, String documentId, String strLanguage, String templateId, boolean multiReport, Report.OutputTypeEnum outputTypeString)
-
Method Summary
-
-
-
Field Detail
-
outputType
public Report.OutputTypeEnum outputType
-
-
Constructor Detail
-
Report
public Report(DocumentType documentType, String documentId, String strLanguage, String templateId, boolean multiReport, Report.OutputTypeEnum outputTypeString) throws ReportingException, javax.servlet.ServletException
- Throws:
ReportingException
javax.servlet.ServletException
-
Report
public Report(ConnectionProvider connectionProvider, DocumentType documentType, String documentId, String strLanguage, String templateId, boolean multiReport, Report.OutputTypeEnum outputTypeString) throws ReportingException, javax.servlet.ServletException
- Throws:
ReportingException
javax.servlet.ServletException
-
-
Method Detail
-
getOrgId
public String getOrgId()
-
setOrgId
public void setOrgId(String orgId)
-
getDocTypeId
public String getDocTypeId()
-
setDocTypeId
public void setDocTypeId(String docTypeId)
-
setTemplateInfo
public void setTemplateInfo(TemplateInfo templateInfo)
-
getContextSubFolder
public String getContextSubFolder() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
getDocumentType
public DocumentType getDocumentType()
-
getDocumentId
public String getDocumentId()
-
getTemplateInfo
public TemplateInfo getTemplateInfo()
-
getEmailDefinition
public TemplateInfo.EmailDefinition getEmailDefinition() throws ReportingException
- Throws:
ReportingException
-
getDefaultEmailDefinition
public TemplateInfo.EmailDefinition getDefaultEmailDefinition() throws ReportingException
- Throws:
ReportingException
-
getEmailDefinitions
public Map<String,TemplateInfo.EmailDefinition> getEmailDefinitions() throws ReportingException
- Throws:
ReportingException
-
getOurReference
public String getOurReference()
-
getCusReference
public String getCusReference()
-
getDocumentStatus
public String getDocumentStatus()
-
getBPartnerId
public String getBPartnerId()
-
getBPName
public String getBPName()
-
getDocDate
public String getDocDate()
-
getMinDueDate
public String getMinDueDate()
-
getMaxDueDate
public String getMaxDueDate()
-
getDocDescription
public String getDocDescription()
-
isDraft
public boolean isDraft()
-
getFilename
public String getFilename()
-
setFilename
public void setFilename(String newFileName)
-
getTargetDirectory
public File getTargetDirectory()
-
setTargetDirectory
public void setTargetDirectory(File targetDirectory)
-
getTargetLocation
public String getTargetLocation() throws IOException
- Throws:
IOException
-
isAttached
public boolean isAttached()
-
setAttached
public void setAttached(boolean attached)
-
getTemplate
public TemplateData[] getTemplate()
-
isDeleteable
public boolean isDeleteable()
-
setDeleteable
public void setDeleteable(boolean deleteable)
-
getCheckSalesOrder
public String getCheckSalesOrder()
-
setCheckSalesOrder
public void setCheckSalesOrder(String checkSalesOrder)
-
-