|
i-net Clear Reports | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Packages that use ReportException | |
|---|---|
| com.inet.designer | Provides all classes and interfaces for the i-net Designer. |
| com.inet.report | Provides all classes and interfaces for the i-net Clear Reports Java reporting engine, the ReportServlet, the standalone Listener and the Runtime Design Component (RDC). |
| com.inet.report.cache | Provides all classes and interfaces for the memory, database and hard disk cache. |
| com.inet.report.config.datasource | Provides all classes that are necessary to manage the i-net Clear Reports Data Source Configurations. |
| com.inet.report.parser | Provides all classes and interface for the i-net Clear Reports XML parser. |
| com.inet.report.translation | Provides all classes and interfaces for translation and internationalization of a report. |
| Uses of ReportException in com.inet.designer |
|---|
| Methods in com.inet.designer that throw ReportException | |
|---|---|
Engine |
BasicDesignerDataModel.createNewReport(java.awt.Component parent)
Create a new report. |
Engine |
DesignerDataModel.createNewReport(java.awt.Component parent)
Creates a new report and returns its Engine if the creation was successful or null if it was not successful. |
Engine |
BasicDesignerDataModel.createNewReportWithWizard(java.awt.Component parent)
Opens the report wizard to create a new report and returns the created Engine object. |
Engine |
BasicDesignerDataModel.loadReport(java.awt.Component parent)
Load a report. |
Engine |
DesignerDataModel.loadReport(java.awt.Component parent)
Load a report. |
Engine |
BasicDesignerDataModel.loadReportFrom(java.awt.Component parent,
java.io.File dir)
Load a report. |
Engine |
DesignerDataModel.loadReportFrom(java.awt.Component parent,
java.io.File dir)
Load a report. |
Engine[] |
AbstractDesignerDataModel.loadReportsFrom(java.awt.Component parent,
java.net.URL initialURL)
Loads one or more report. |
Engine[] |
BasicDesignerDataModel.loadReportsFrom(java.awt.Component parent,
java.net.URL initialURL)
Loads one or more report. |
Engine[] |
DesignerDataModel.loadReportsFrom(java.awt.Component parent,
java.net.URL initialURL)
Loads one or more report. |
Engine |
AbstractDesignerDataModel.reopenReport(java.io.File reportFile)
Load a report. |
Engine |
DesignerDataModel.reopenReport(java.io.File reportFile)
Load a report. |
boolean |
BasicDesignerDataModel.saveReport(java.awt.Component parent,
Engine e,
boolean saveAs)
Save a report Choosing a location is the task of the programmer who may use any Swing component. |
boolean |
DesignerDataModel.saveReport(java.awt.Component parent,
Engine e,
boolean saveAs)
Save a report Choosing a location is the task of the programmer who may use any Swing component. |
| Uses of ReportException in com.inet.report |
|---|
| Methods in com.inet.report that return ReportException | |
|---|---|
ReportException |
ReportException.setCause(java.lang.Throwable cause)
Sets the cause for this exception. |
| Methods in com.inet.report that throw ReportException | |
|---|---|
int |
SpecifiedOrder.add(java.lang.String name,
java.lang.String formula)
Add a new group value at the end of the list. |
void |
TableSource.addColumn(java.lang.String columnName,
int columnType)
Adds a column to the table definition. |
void |
TableSource.addColumn(java.lang.String columnName,
int columnType,
java.lang.String columnLabel)
Adds a column with column describtion to the table definition. |
FieldElement |
CrossTabDescriptionSection.addFieldElement(Field field,
int fieldX,
int fieldY,
int fieldWidth,
int fieldHeight)
Adds a new FieldElement (a dynamic text element based on a Field) to this container and returns it. |
FieldElement |
Section.addFieldElement(Field field,
int xpos,
int ypos,
int objwidth,
int objheight)
Adds a new FieldElement (a dynamic text element based on a Field) to this Section and returns it. |
FieldElement |
SimpleElementContainer.addFieldElement(Field field,
int fieldX,
int fieldY,
int fieldWidth,
int fieldHeight)
Adds a new FieldElement (a dynamic text element based on a Field) to this container and returns it. |
Group |
Engine.addGroup(Field groupField)
Adds a newly created grouping into the grouping set and returns it. |
JavaBean |
CrossTabDescriptionSection.addJavaBean(java.lang.String className,
int beanX,
int beanY,
int beanWidth,
int beanHeight)
Add a new JavaBean to the container. |
JavaBean |
Section.addJavaBean(java.lang.String className,
int xpos,
int ypos,
int objwidth,
int objheight)
Add a new JavaBean to the container. |
JavaBean |
SimpleElementContainer.addJavaBean(java.lang.String className,
int xpos,
int ypos,
int objwidth,
int objheight)
Add a new JavaBean to the container. |
Join |
DatabaseTables.addJoin(java.lang.String fromTableAlias,
java.lang.String fromColumn,
java.lang.String toTableAlias,
java.lang.String toColumn,
int joinType,
int linkType)
Adds a join into report. |
Join |
DatabaseTables.addJoin(TableSource fromTableSource,
DatabaseField fromColumn,
TableSource toTableSource,
DatabaseField toColumn,
int joinType,
int linkType)
Adds a join into report. |
Line |
CrossTabDescriptionSection.addLine(int lineX,
int lineY,
int lineWidth,
int lineHeight)
Deprecated. As of i-net Crystal-Clear 9.2, replaced by CrossTabDescriptionSection.addHorizontalLine(int, int, int) and CrossTabDescriptionSection.addVerticalLine(int, int, int). |
Picture |
CrossTabDescriptionSection.addPicture(int pictureX,
int pictureY,
int pictureWidth,
int pictureHeight,
java.lang.String fileName)
Adds a new picture element to the container and returns it. |
Picture |
CrossTabDescriptionSection.addPicture(int pictureX,
int pictureY,
int pictureWidth,
int pictureHeight,
java.io.File file)
Adds a new picture element to the container and returns it. |
Picture |
CrossTabDescriptionSection.addPicture(int pictureX,
int pictureY,
int pictureWidth,
int pictureHeight,
int[] buffer)
Adds a new picture element to the container and returns it. |
Picture |
CrossTabDescriptionSection.addPicture(int pictureX,
int pictureY,
int pictureWidth,
int pictureHeight,
byte[] buffer)
Adds a new picture element to the container and returns it. |
Picture |
CrossTabDescriptionSection.addPicture(int pictureX,
int pictureY,
int pictureWidth,
int pictureHeight,
java.awt.image.BufferedImage im)
Adds a new picture element to the container and returns it. |
Picture |
Section.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
java.lang.String fileName)
Adds a new picture element to the container and returns it. |
Picture |
Section.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
java.io.File file)
Adds a new picture element to the container and returns it. |
Picture |
Section.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
int[] buffer)
Adds a new picture element to the container and returns it. |
Picture |
Section.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
byte[] buffer)
Adds a new picture element to the container and returns it. |
Picture |
Section.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
java.awt.image.BufferedImage im)
Adds a new picture element to the container and returns it. |
Picture |
SimpleElementContainer.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
java.awt.image.BufferedImage im)
Adds a new picture element to the container and returns it. |
Picture |
SimpleElementContainer.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
java.lang.String fileName)
Adds a new picture element to the container and returns it. |
Picture |
SimpleElementContainer.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
byte[] buffer)
Adds a new picture element to the container and returns it. |
Picture |
SimpleElementContainer.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
java.io.File file)
Adds a new picture element to the container and returns it. |
Picture |
SimpleElementContainer.addPicture(int xpos,
int ypos,
int objwidth,
int objheight,
int[] buffer)
Adds a new picture element to the container and returns it. |
PromptField |
Fields.addPromptField(java.lang.String name,
java.lang.String text,
int type)
Adds a new prompt field to the set of prompt fields. |
SQLField |
Fields.addSQLField(java.lang.String name,
java.lang.String sqlExpression)
Adds a new sql field to the set of sql fields. |
SQLField |
Fields.addSQLField(java.lang.String name,
int valueType,
java.lang.String sqlExpression,
Datasource datasource)
Adds a new sql field to the set of sql fields. |
SortField |
Fields.addSortField(java.lang.String name,
int type)
Creates a new sort field and adds it to this fields set. |
SortField |
Fields.addSortField(Field field,
int type)
Creates a new sort field and adds it to this fields set. |
SortField |
Fields.addSortField(Field field,
FormulaField formula)
Creates a new sort field and adds it to this fields set. |
Subreport |
ElementContainer.addSubreport(int xpos,
int ypos,
int objwidth,
int objheight,
java.lang.String filename)
Adds a new subreport element with definition from file to the container and returns it. |
Subreport |
Section.addSubreport(int xpos,
int ypos,
int objwidth,
int objheight,
java.lang.String filename)
Adds a new subreport element with definition from file to the container and returns it. |
SubreportLink |
Subreport.addSubreportLink(Field mainRptField,
Field subRptField)
Adds a new subreport link to the set and returns it. |
SubreportLink |
Subreport.addSubreportLink(Field mainRptField,
Field subRptField,
boolean generatePrompt)
Adds a new subreport link to the set and returns it. |
SummaryField |
CrossTab.addSummaryField(Field sourceField,
int operation)
Create a summary field to be used for this crosstab. |
SummaryField |
Fields.addSummaryField(Field field,
int operation,
java.lang.String name)
Adds a new summary field into the set of summary fields. |
SummaryField |
Fields.addSummaryField(Field field,
Field field2nd,
int operation,
java.lang.String name)
Adds a new summary field into the set of summary fields. |
void |
CrossTab.appendSummaryField(Field summaryField,
int operation)
Append a summary that should be visible in the crosstab. |
void |
TableSource.canRemoveColumn(java.lang.String columnName)
Checks the column of this table can be removed from the report. |
void |
TableSource.changeAliasReferences(java.lang.String newAlias)
Changes the alias name to newAlias. |
static void |
TableSource.checkAliasValidity(java.lang.String newAlias)
Checks the name for whether it is a valid name for this TableSource. |
static void |
JavaBean.checkBean(java.lang.String className)
Checks if the class named className is a valid lightweight java bean
extending java.awt.Component. |
void |
FormulaField.checkContext()
Checks the evaluation time of the current formula |
protected Engine |
EngineRenderData.checkEngine(java.util.Properties props)
Constructs a new Engine according to the given properties and cache it. |
void |
TableSource.checkExistsOnCurrentDatasource()
Sends a test statement to the data source to check if the TableSource is executable. |
static int |
FormulaField.checkFormula(java.lang.String formula,
boolean basic,
Engine engine)
Checks the syntax and the type of the formula and returns the return type of the formula if formula has no errors. |
static int |
FormulaField.checkFormula(java.lang.String formula,
boolean basic,
Engine engine,
Field currentField,
java.lang.Object defaultAttribute)
Checks the syntax and the type of the formula and returns the return type of the formula if formula has no errors. |
static int |
FormulaField.checkFormula(java.lang.String formula,
boolean basic,
Engine engine,
Field currentField,
java.lang.Object defaultAttribute,
int formulaType)
Checks the syntax and the type of the formula and returns the return type of the formula if formula has no errors. |
static int |
FormulaField.checkFormula(java.lang.String formula,
boolean basic,
Engine engine,
Field currentField,
java.lang.Object defaultAttribute,
int formulaType,
int nullBehavior)
Checks the syntax and the type of the formula and returns the return type of the formula if formula has no errors. |
int |
FormulaField.checkFormula(java.lang.String formula,
boolean basic,
int nullBehavior)
Checks a formula as if it was set to to this formula fields. |
void |
Listener.checkHtmlPageProperties(java.util.Properties props)
This callback is called before the report server creates and sends back a HTML page with the viewer embedded. |
void |
PropertiesChecker.checkHtmlPageProperties(java.util.Properties props)
This callback is called before the report server creates and sends back a HTML page with the viewer embedded. |
void |
ReportServlet.checkHtmlPageProperties(java.util.Properties props)
This callback is called before the report server creates and sends back a HTML page with the viewer embedded. |
void |
Listener.checkProperties(java.util.Properties props)
This method is called by checkProperties(Properties, Object) and is equivalent to
checkProperties(props, null) if i-net Clear Reports does not run as servlet. |
void |
Listener.checkProperties(java.util.Properties props,
java.lang.Object req)
This callback is called right before the engine examines the report file. |
void |
Listener.checkProperties(Engine engine,
java.util.Properties prop)
This method is called by checkProperties(Engine, Properties, Object) and is equivalent to
checkProperties(engine, prop, null). |
void |
Listener.checkProperties(Engine engine,
java.util.Properties prop,
java.lang.Object req)
This callback is called right after the engine has examined the report file. |
void |
PropertiesChecker.checkProperties(java.util.Properties props,
java.lang.Object req)
This callback is called right before the engine examines the report file. |
void |
PropertiesChecker.checkProperties(Engine engine,
java.util.Properties props,
java.lang.Object req)
This callback is called right after the engine has examined the report file. |
void |
ReportServlet.checkProperties(java.util.Properties props,
java.lang.Object req)
This callback is called right before the engine examines the report file. |
void |
ReportServlet.checkProperties(java.util.Properties props)
This method is called by checkProperties(Properties, Object) and is equivalent to
checkProperties(props, null). |
void |
ReportServlet.checkProperties(Engine engine,
java.util.Properties immutableProperties,
java.lang.Object req)
This callback is called right after the engine has examined the report file. |
void |
ReportServlet.checkProperties(Engine engine,
java.util.Properties immutableProperties)
This method is called by checkProperties(Engine, Properties, Object) and is equivalent to
checkProperties(engine, prop, null). |
java.lang.String |
Database.convertModOperation(java.lang.String dividend,
java.lang.String divisor)
Returns a valid sql expression to evaluate the remainder of an division. |
java.lang.String |
Database.convertToDate(java.lang.String date)
Returns a valid sql expression to convert the given parameter to a Time data type. |
java.lang.String |
Database.convertToDate(java.lang.String year,
java.lang.String month,
java.lang.String day)
Returns a valid sql expression to convert the given parameters to a Date data type. |
java.lang.String |
Database.convertToDouble(java.lang.String parameter)
Returns a valid sql expression to convert the given parameter to a Double data type. |
java.lang.String |
Database.convertToInt(java.lang.String parameter)
Returns a valid sql expression to convert the given parameter to a Integer data type. |
java.lang.String |
Database.convertToString(java.lang.String parameter)
Returns a valid sql expression to convert the given parameter to a String data type. |
java.lang.String |
Database.convertToTime(java.lang.String time)
Returns a valid sql expression to convert the given parameter to a Time data type. |
java.lang.String |
Database.convertToTime(java.lang.String hour,
java.lang.String minute,
java.lang.String sec)
Returns a valid sql expression to convert the given parameters to a Time data type. |
java.lang.String |
Database.convertToTimeStamp(java.lang.String year,
java.lang.String month,
java.lang.String day,
java.lang.String hour,
java.lang.String minute,
java.lang.String sec)
Returns a valid sql expression to convert the given parameters to a Timestamp data type. |
java.lang.Object |
Element.copy()
Creates a serializable copy of this Element. |
java.lang.Object |
Picture.copy()
Creates a serializable copy of this Element. |
java.lang.Object |
Subreport.copy()
Creates a serializable copy of this Element. |
java.lang.Object |
Element.copyXML2()
Deprecated. As of i-net Crystal-Clear 9.2, simply use Element.copy() instead. |
Datasource |
DatabaseTables.createDatasource(java.lang.String dataSourceConfigurationName)
Creates a Datasource that uses a DataSourceConfiguration to create a database connection. |
static DefaultValue |
DefaultValue.createDefaultValueFromFormula(java.lang.String value,
java.lang.String description,
Engine engine)
Creates and returns a default value by parsing the given value string as a CC formula. |
static DefaultValue |
DefaultValue.createDefaultValueFromFormula(java.lang.String value,
java.lang.String description,
int valueType,
Engine engine)
Creates and returns a default value by parsing the given value string as a CC formula. |
protected Engine |
EngineRenderData.createEngine(java.util.Properties props)
Creates or load an Engine and set all needed properties. |
static Engine |
RDC.createMailingLabel(Engine eng,
int labelWidth,
int labelHeight,
int labelHorizontalDistance,
int labelVerticalDistance,
boolean acrossThenDown,
java.util.Vector fields)
After creating a new Engine and setting a database connection you can use this method to create a report for mailing labels, where you have to specify the height and width for one label and the distance between labels (horizontal and vertical). |
TableSource |
Datasource.createTableSource(java.lang.String aDatabaseIdentifier,
java.lang.String anAliasName)
Creates a new TableSource object that belongs to this Datasource, or returns a TableSource with the given name if one already exists |
TableSource |
Datasource.createTableSource(java.lang.String aDatabaseIdentifier)
Creates a new TableSource object that belongs to this Datasource. |
TableSource |
Datasource.createTableSourceCommand(java.lang.String AnAliasName,
java.lang.String sql)
Creates a new TableSource object based on a sql command. |
void |
ReportServlet.doWriteHtmlPage(java.util.Properties props,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
When the browser has sent an initial request, this function calls the checkHtmlPageProperties() callback, creates and sends back an HTML page. |
void |
CrossTab.dropColumn(int index)
Removes the i-th column of the crosstab. |
void |
CrossTab.dropRow(int index)
Removes the i-th row of the crosstab. |
void |
CrossTab.dropSummaryField(int index)
Removes the ith summary field in from the crosstab. |
void |
Engine.execute()
Executes the report and stores the result data in an internal cache. |
protected void |
Field.extractReference(org.xml.sax.Attributes atts)
extracts the referenced field and sets it for this Field object |
Area |
Engine.getArea(int idx)
Returns an AreaElement of the Area set. |
Area |
Engine.getArea(java.lang.String item)
Returns an area element of the set of areas. |
int |
Engine.getAreaCount()
Returns the number of Areas of the report. |
java.beans.PropertyDescriptor[] |
JavaBean.getBeanPropertyDescriptorsForGUI()
Returns those bean property descriptors that are suitable for setting via the i-net Desginer GUI. |
FormulaField |
JavaBean.getBeanPropertyFormula(java.lang.String name)
Returns the current property FormulaField of the beans' property named name. |
java.lang.Object |
JavaBean.getBeanPropertyValue(java.lang.String name)
Returns the current property value of the beans' property named name. |
java.sql.ResultSet |
Database.getColumns(Datasource ds,
java.lang.String catalog,
java.lang.String owner,
java.lang.String tablename)
Overwrite getTables and getColumns if you want to use your own Database class to design a report with i-net Designer. |
java.sql.Connection |
Datasource.getConnection()
Returns the Connection used to request data from the datasource. |
DatabaseField |
Fields.getDatabaseField(int idx)
Returns the idx-th element of database fields array. |
DatabaseTables |
Engine.getDatabaseTables()
Returns the DatabaseTables object for this report. |
java.lang.String |
Engine.getDefaultSql()
Deprecated. As of i-net Crystal-Clear 10.0, use Engine.getDefaultSqlOfAllStatements(boolean) |
java.lang.String[] |
Engine.getDefaultSqlOfAllStatements(boolean leavePrompts)
Returns the statements that will be send to the database. |
int |
Engine.getDocumentPageCount()
Returns the number of pages in the finally document, e.g. |
int |
FormulaField.getEvaluateTime()
Returns the lowest theoretically possible evaluation time this formula can have. |
int |
FormulaField.getEvaluateTimeReal()
Returns the time of evaluation of this formula that is actually used at runtime. |
Fields |
Engine.getFields()
Returns a new Fields Object. |
FormulaField |
Fields.getFormulaField(int idx)
Returns the i-th element of Formula Fields array. |
java.lang.String |
Engine.getGF()
Returns the group selection formula used in the current main or subreport. |
FormulaField |
Engine.getGFField()
Returns the group selection formula used in the current main or subreport as a field. |
Group |
Engine.getGroup(int grNum)
Returns the grouping with the specified number, where number is greater than 1 or
lesser than count of groupings. |
Group |
Engine.getGroupByField(Field field)
Returns the group which is based on the parameter field if exists -
otherwise null is returned. |
int |
Engine.getGroupCount()
Returns the count of groupings in report without the count of page, report and detail area pairs. |
GroupField |
Fields.getGroupNameField(int idx)
Returns the i-th element of group name fields array. |
byte[] |
Engine.getGroupTree()
Returns the group tree which can be sent to the java viewer as a byte array. |
java.util.List |
TableSource.getInputParameters()
Returns the list of PromptFields which are used by this table source as store procedures parameter. |
protected java.lang.String |
EngineRenderData.getKey(java.util.Properties props)
Create a key for the given properties. |
java.util.Locale |
Engine.getLocale()
Returns the locale that is used by the renderer. |
java.lang.Object |
PromptField.getMaxRangeValue()
If property 'use range' is enabled this method returns the maximum value for an prompt value. |
java.lang.Object |
PromptField.getMinRangeValue()
If property 'use range' is enabled this method returns the minimum value for an prompt value. |
java.lang.String |
Section.getName()
Returns the name of the section - i.e. |
int |
Engine.getNumeralLanguage()
Returns the language of numerals for numbers, date, time and datetime values. |
int |
Engine.getPageCount()
Returns the number of pages (Java Viewer) or chunks (byte arrays in that the report will be streamed to the client) of the report. |
byte[] |
Engine.getPageData(int page)
Returns the data of a single report page. |
Engine |
Engine.getParent()
Returns the parent Engine for the current subreport or null if the current engine is the engine for the main report. |
java.util.Date |
Engine.getPrintDate()
Returns the print date for this report. |
java.lang.Object |
Engine.getPrompt(int i)
Returns the current value for a parameter field in the report. |
PromptField |
Fields.getPromptField(int idx)
Returns the i-th element of Prompt Variable Fields array. |
java.util.Vector |
Engine.getPrompts()
Returns the current values for parameter fields in the report. |
java.lang.String |
Engine.getQueryFile()
Returns the name of the query file that was specified at design time, in the report url or with the method setQueryFile. |
void |
Database.getReportData(Engine engine,
java.lang.String dataSourceConfigurationName)
Delivers the data of the report. |
java.net.URL |
Engine.getReportFile()
Returns the url of the report template file. |
ReportProperties |
Engine.getReportProperties()
Returns the reports global properties. |
java.lang.String |
Engine.getReportTitle()
Returns the title of the report specified either in the "Summary Info" dialog of the report designer or with the method setReportTitle. |
java.sql.ResultSet |
TableSource.getResultSet()
Returns the ResultSet of that TableSource. |
java.lang.String |
Engine.getSF()
Returns the record selection formula used in the current main or subreport. |
FormulaField |
Engine.getSFField()
Returns the record selection formula used in the current main or subreport as a formula field. |
SQLField |
Fields.getSQLExpressionField(int idx)
Returns the i-th element of SQL Expression Fields array. |
java.lang.String |
Section.getSectionNameByNumber(int number)
Generates a name ending usually used for section names. |
java.util.Vector |
Engine.getSections()
Returns a vector containing all sections the report consists of. |
SortField |
Fields.getSortField(int idx)
Returns the i-th element of sort fields array. |
java.lang.String |
Engine.getSproc(int i)
Deprecated. As of i-net Crystal-Clear 10.1, use TableSource.getInputParameters() |
java.util.Vector |
Engine.getSprocs()
Deprecated. As of i-net Crystal-Clear 10.1, use TableSource.getInputParameters() |
java.lang.String |
TableSource.getSqlWithPromptFieldValues()
Returns the SQL command if it was set. |
Field |
SubreportLink.getSubField()
Returns the field in the subreport, that is used to compare with the value of the links PromptField in the record selection formula. |
Engine |
Engine.getSubReport(int idx)
Every engine object of a main report may have several subreport engines. |
int |
Engine.getSubReportCount()
Returns the number of sub-reports. |
Subreport |
Engine.getSubReportElement()
Returns the subreport element of the main report. |
SummaryField |
Fields.getSummaryField(int idx)
Returns the i-th element of SummaryFields array. |
SummaryInfo |
Engine.getSummaryInfo()
Returns the SummaryInfo class with that you can get/set the report summary info specified in the "Summary Info" of the Reports Designer or with the setXXX methods in the class SummaryInfo. |
TableSource |
Datasource.getTableSource(java.lang.String alias)
Returns the TableSource identified with the alias. |
java.sql.ResultSet |
Database.getTables(Datasource ds,
java.lang.String catalog)
Overwrite getTables and getColumns if you want to use your own Database class to design a report with i-net Designer. |
TableSource |
DatabaseTables.getTablesource(java.lang.String alias)
Returns the TableSource with that alias name. |
Translations |
Engine.getTranslations()
Get the Translations of the report. |
int |
TableSource.getType()
Returns the type of that TableSource. |
java.util.Properties |
Engine.getUserProperties()
Returns the user data that has been set either with setUserProperties(), checkProperties() or in the report URL. |
FormulaField[] |
Engine.getVariableReferences(java.lang.String varName)
Returns an array of all FormulaFields referencing the variable with the name varName - this array is empty if there is no such FormulaField referencing the variable. |
int |
CrossTabDescriptionSection.indexOf()
Returns the position of this object in the parent collection. |
abstract int |
ReportComponent.indexOf()
Returns the position of this object in the parent collection. |
static boolean |
FormulaField.isEmpty(java.lang.String formula,
boolean basic,
Engine engine)
Checks the syntax of the formula and returns true if the formula (body without layout) is empty. |
static boolean |
FormulaField.isEmpty(java.lang.String formula,
boolean basic,
Engine engine,
Field currentField,
java.lang.Object defaultAttribute)
Checks the syntax of the formula and returns true if the formula (body without layout) is empty. |
boolean |
Engine.isSubEngine()
Returns whether this engine is an engine of a subreport ( true) or not (false). |
boolean |
Datasource.isUsed()
Returns the tables or sql field of this data source are used in the report. |
boolean |
TableSource.isUsed()
Returns the columns of this report are used in the report or this table is used in a join. |
static Engine |
RDC.loadEngine(java.io.File file)
Reads the specified report template into a newly created Engine and returns this engine. |
static Engine |
RDC.loadEngine(java.net.URL reportURL,
java.io.InputStream in,
java.lang.String exportFormat,
java.util.Properties props)
Reads an engine from the input stream into a newly created Engine with the given export format. |
static Engine |
RDC.loadEngine(java.io.File file,
java.lang.String export_fmt)
Reads the specified report template into a newly created Engine with the given export format and returns this engine. |
static Engine |
RDC.loadEngine(java.io.File file,
java.io.BufferedReader in)
Deprecated. As of i-net Crystal-Clear 9, RDC.loadEngine(URL, InputStream, String, Properties) should be used instead. |
static Engine |
RDC.loadEngine(java.io.File file,
java.io.BufferedReader in,
java.util.Properties props)
Deprecated. As of i-net Crystal-Clear 9, RDC.loadEngine(URL, InputStream, String, Properties) should be used instead. |
static Engine |
RDC.loadEngine(java.io.File file,
java.io.BufferedReader in,
java.lang.String export_fmt)
Deprecated. As of i-net Crystal-Clear 9, RDC.loadEngine(URL, InputStream, String, Properties) should be used instead. |
static Engine |
RDC.loadEngineFromDir(java.io.File dir)
Deprecated. As of i-net Crystal-Clear 10.0, replaced by RDC.loadEngine(File) |
void |
SpecifiedOrder.move(java.lang.String name,
int offset)
Move a group entry to another position in the list. |
void |
ElementContainer.moveElement(Element elem,
SimpleElementContainer dest)
Moves the element elem from this container to the destination container dest. |
void |
Section.moveElement(Element elem,
Section dest)
Moves the Element elem from this Section to the destination Section dest. |
void |
Section.moveElement(Element elem,
SimpleElementContainer dest)
Moves the element elem from this container to the destination container dest. |
void |
Engine.moveGroup(int source,
int dest)
Moves the group with group number source to target. |
void |
Fields.movePromptField(int from,
int to)
Changes the position of a PromptField by moving it to the specified position. |
Element |
ElementContainer.pasteElement(java.lang.Object copy)
Paste a copy of an Element in this container. |
Element |
Section.pasteElement(java.lang.Object copy)
Paste a copy of an Element to this Section. |
protected java.sql.PreparedStatement |
Database.prepareStatement(TableSource tableSource)
Returns a PreparedStatement for execution of the stored procedure represented by the provided TableSource. |
void |
DatabaseTables.readDbFromQuery(java.net.URL url)
Use this method if you have already designed a query file. |
void |
TableSource.refresh()
Refreshs the columns of the TableSource by requesting meta information from the database. |
void |
SpecifiedOrder.remove(java.lang.String name)
Remove a group entry from this list. |
void |
TableSource.removeColumn(java.lang.String columnName)
Removes a specific column. |
void |
Fields.removeDatabaseField(int idx)
Removes a dataBase field from fields set and all Elements which references to it. |
void |
DatabaseTables.removeDatasource(Datasource ds)
Removes a datasource connection from the known connections. |
boolean |
Fields.removeField(Field field)
Removes a specific field. |
void |
Fields.removeFormulaField(int idx)
Removes an existing formula field from set. |
void |
Engine.removeGroup(Group group)
Removes the given group object from engine. |
void |
Engine.removeGroup(int grNum)
Remove the group specified with parameter grNum. |
void |
DatabaseTables.removeJoin(java.lang.String fromTableAlias,
java.lang.String fromColumn,
java.lang.String toTableAlias,
java.lang.String toColumn)
Removes a join from report if exists. |
void |
Fields.removePromptField(int idx)
Removes an existing prompt field from set. |
void |
Fields.removeSQLField(int idx)
Removes an existing sql expression field from report design. |
Section |
Area.removeSection(int idx)
Removes the Section with specified index from area. |
void |
Fields.removeSortField(int idx)
Removes the sort field specified by the array index from set of sort fields. |
void |
DatabaseTables.removeSqlSource(java.lang.String alias)
Removes a sql source from report (a table or a stored procedure), if exists. |
void |
Fields.removeSummaryField(int idx)
Removes an existing summary field from set. |
void |
Datasource.removeTableSource(TableSource ts)
Removes the TableSource from the report. |
TableSource |
Datasource.removeTableSourceAt(int idx)
Removes the TableSource from the report. |
void |
DatabaseField.rename(java.lang.String newName)
FOR INTERNAL USE ONLY |
void |
FormulaField.rename(java.lang.String newName)
FOR INTERNAL USE ONLY |
static void |
RDC.saveEngine(java.io.File file,
Engine engine)
Saves an Engine as report template into a file. |
static void |
RDC.saveEngine(java.io.OutputStream out,
Engine engine)
Saves an Engine as report template into an output stream. |
static void |
RDC.saveEngineToDir(java.io.File dir,
Engine engine)
Saves an Engine as report template into a directory. |
protected void |
Database.scanIdentifierQuoteString(Datasource dc)
This method will detect which String should be used to quote database identifiers for the supplied Datasource. |
void |
JavaBean.setBeanClassName(java.lang.String name)
Sets the name of the beans' class |
void |
JavaBean.setBeanProperty(java.lang.String name,
FormulaField field)
Sets the beans property named name to be the value of the passed
FormulaField. |
void |
JavaBean.setBeanProperty(java.lang.String name,
java.lang.Object value)
Sets the beans property named name to the passed value (while
trying to convert to the properties' type). |
void |
Engine.setCatalog(java.lang.String catalog)
Sets the database name that will be used at runtime instead of the database name that was specified at design time in the report template. |
void |
Engine.setClientLocale(java.util.Locale locale)
This method do the same as the method setLocale(Locale) except that the country from the locale of the server is used for the currency format. |
void |
Engine.setConnection(java.sql.Connection con)
Sets the connection object to the engine of the main- or subreport. |
void |
Engine.setData(java.lang.String[] columns,
java.lang.Object[][] data,
boolean longColumnNames)
Sets the report data with external data without the use of a JDBC driver. |
void |
Engine.setData(java.util.Vector columns,
java.util.Vector data,
boolean longColumnNames)
This method is used from the J2EE CAS Bridge in ASP scripts. |
void |
Engine.setData(java.lang.String[] columns,
java.lang.Object[][] data)
Sets the report data with external data without the use of a JDBC driver. |
void |
Engine.setData(java.sql.ResultSet resultSet)
Sets the report data with an ResultSet. |
void |
Engine.setDataSourceConfigurationName(java.lang.String datasourceName)
Sets the name of datasource configuration. |
void |
TableSource.setDatabaseIdentifierName(java.lang.String newDatabaseIdentifier)
Sets the identifier name of the TableSource. |
void |
PromptField.setDiscreteOrRangeType(int newValue)
Sets the value of the property 'discrete or range type'. |
void |
Engine.setGF(java.lang.String gf)
Specifies a group selection formula. |
void |
Group.setGroupDirectionFormula(FormulaField formula)
Sets the formula of sort direction of current group. |
void |
Group.setHierarchicalGrouping(boolean enabled,
Field parentField,
int indentation)
Enable or disable the property 'hierarchical grouping' with this method. |
void |
Element.setIndex(int zPos)
Changes the z-order position of this element in the section (0 is all the way in the back, greater numbers cause the elements to overlap elements with a lower z index). |
void |
TableSource.setInputParameter(java.lang.String[] paramNames,
int[] paramTypes)
Defines the input parameter for this TableSource. |
void |
TableSource.setInputParameter(java.lang.String[] paramNames,
int[] paramTypes,
java.lang.Object[] values)
Defines the input parameter for this TableSource. |
void |
TableSource.setInputParameter_TypesOfSQLType(java.lang.String[] paramNames,
int[] paramTypes)
Defines the input parameter for this TableSource. |
void |
TableSource.setInputParameter_TypesOfSQLType(java.lang.String[] paramNames,
int[] paramTypes,
java.lang.Object[] values)
Defines the input parameter for this TableSource. |
void |
Engine.setLocale(java.util.Locale locale)
Sets the locale, which will be used for language independent reports. |
PromptField |
SubreportLink.setMainField(Field field,
boolean generatePrompt)
Sets the Field in the mainreport that value will be used to set the value of the PromptField in the subreport. |
void |
SubreportLink.setMainField(Field field)
Sets the field in the mainreport that value will be used to set the value of the PromptField in the subreport. |
void |
ReportProperties.setMarginLeft(int margin)
Sets the left margin of the page in twips. |
void |
ReportProperties.setMarginRight(int margin)
Sets the right margin of the page in twips. |
void |
PromptField.setMaxRangeValue(java.lang.Object max)
Sets the maximum allowed value for any value of this prompt field. |
void |
PromptField.setMinMaxRangeValues(java.lang.Object min,
java.lang.Object max)
Sets the minimum and maximum allowed value for any value of this prompt field. |
void |
PromptField.setMinRangeValue(java.lang.Object min)
Sets the minimum allowed value for any value of this prompt field. |
void |
DatabaseField.setName(java.lang.String fullname)
Specifies the name of the DatabaseField. |
abstract void |
Field.setName(java.lang.String newValue)
Sets the value of the property 'name'. |
void |
GroupField.setName(java.lang.String name)
Setting the name of a GroupField is not allowed. |
void |
SQLField.setName(java.lang.String name)
Sets the name of the sql field. |
void |
SortField.setName(java.lang.String name)
Sets the name of the sort field. |
void |
Engine.setNumeralLanguage(int language)
Sets the language of the numerals in numbers, date, time and datetime values. |
void |
ReportProperties.setPaperOrient(int paperOrientation,
int paperSize)
Sets the orientation and size of the report for printing. |
void |
ReportProperties.setPaperSize(int paperOrient,
int paperFormat)
Sets the paper width and paper height depending on the supplied paper format and orientation. |
void |
ReportProperties.setPaperWidth(int width)
Sets the width of the report page in twips. |
void |
Engine.setPassword(java.lang.String password)
Sets the password for the main and all subreports for logging on to SQL, ODBC, or password protected databases used by the report. |
void |
Engine.setPrintDate(java.util.Date date)
Sets the print date for this report. |
void |
Engine.setPrompt(java.lang.String prompt,
int i)
Specifies the value for a parameter field in the report. |
void |
Engine.setPrompt(java.lang.String name,
java.lang.String prompt)
Specifies the value for a parameter field in the report. |
void |
PromptField.setPromptValue(java.lang.Object prompt)
Sets the actual value for this PromptField. |
void |
PromptField.setPromptValueAsFormula(java.lang.String formula)
Sets the prompt value as a formula in Crystal syntax. |
void |
Engine.setPrompts(java.util.Vector prompts)
Specifies value for parameter fields in the report. |
void |
Engine.setQueryFile(java.net.URL url,
int i)
Sets the name of the query file for subreport $n$. |
void |
Engine.setQueryFile(java.net.URL url)
Sets the name of the query file in main report. |
void |
Engine.setReportFile(java.lang.String url)
Sets the report template file. |
void |
Engine.setReportFile(java.net.URL url)
Sets the report file URL. |
void |
Engine.setReportTitle(java.lang.String title)
Sets the title of the report. |
void |
Engine.setSF(java.lang.String sf)
Specifies a record selection formula. |
void |
SQLField.setSQLExpression(java.lang.String formula)
Sets the value of the property 'sql expression text'. |
void |
DatabaseTables.setSavePassword(boolean save)
Sets if the password for this report should be saved in the xml file (report template). |
void |
Engine.setSchema(java.lang.String schema)
Sets the database schema that will be used with this report at runtime instead of the schema that was specified at report creation. |
void |
SortField.setSortDirectionFormula(FormulaField formula)
Sets the formula of sort direction. |
void |
Engine.setSproc(java.lang.String sproc,
int i)
Sets the value for a stored procedure parameter accessed by the report. |
void |
Engine.setSprocs(java.util.Vector sprocs)
Deprecated. As of i-net Crystal-Clear 10.1, use Engine.setSproc(String, int) |
void |
Engine.setSql(java.lang.String statement)
Replaces all defined tables and joins by this SQL statement. |
void |
Engine.setSql(java.lang.String statement,
boolean useColumnIndexFromReportDesign)
Manually sets the SQL statement that will be send to the database to fetch the report data. |
void |
Engine.setSqlIgnoreMetaData(java.lang.String statement)
Replaces all defined tables and joins of this report with the supplied sql statement. |
void |
Engine.setUser(java.lang.String user)
Sets the same username for all reports (main and subreports) for logging on to password protected databases used by the report. |
void |
Engine.setUserProperties(java.util.Properties props)
With this method you can associate additional data with the engine of the main report. |
| Constructors in com.inet.report that throw ReportException | |
|---|---|
Engine(java.lang.String export_fmt)
Constructor creates an Engine for different file output formats. |
|
| Uses of ReportException in com.inet.report.cache |
|---|
| Subclasses of ReportException in com.inet.report.cache | |
|---|---|
class |
KeyNotFoundException
This exception will be thrown if ReportCacheKey is not found in the Cache. |
class |
PageOutOfRangeException
This exception is thrown if a page is requested with a page number larger than the total number of pages, or is less than 0. |
class |
TimeoutException
As of now this exception is not thrown anywhere. |
| Methods in com.inet.report.cache that throw ReportException | |
|---|---|
static void |
ExternalDBCache.addConnection(java.sql.Connection conn)
Adds a connection to the pool for the External Database Cache. |
void |
Cache.addEngine(Engine engine,
ReportCacheKey key)
Save a rendered Engine in the cache. |
static void |
ExternalDBCache.checkConnections(java.lang.String jndiName)
Checks whether the database pool for caching has enough connections. |
Engine |
EngineFactory.createEngine(java.util.Properties props)
Creates an Engine based on the properties. |
Engine |
EngineFactoryImpl.createEngine(java.util.Properties props)
Create a new Engine and initialize it with the properties. |
ReportCacheKey |
Cache.createKey(java.util.Properties props)
This method is calling the method getKey() of the current EngineFactory only. |
ReportCacheKey |
Cache.createKey(java.util.Properties props,
PropertiesChecker checker,
java.lang.Object req)
This method is calling the method getKey() of the current EngineFactory only. |
ReportCacheKey |
Cache.createKey(java.util.Properties props,
PropertiesChecker checker,
EngineFactory factory,
java.lang.Object req)
This method calls the method EngineFactory.getKey(Properties). |
abstract void |
Cache.delete(java.lang.String report)
Delete all reports with the name from the cache. |
abstract void |
Cache.delete(ReportCacheKey key)
Removes one report from the cache. |
java.lang.Throwable |
Cache.getFailureCause(ReportCacheKey key)
Returns the cause for the failure of the report. |
ReportCacheKey |
Cache.getKey(java.util.Properties props)
Create a ReportCacheKey and start rendering if report does not exist in the Cache. |
ReportCacheKey |
Cache.getKey(java.util.Properties props,
PropertiesChecker checker,
java.lang.Object req)
Create a ReportCacheKey and start rendering if report does not exist in the Cache. |
abstract ReportCacheKey |
Cache.getKey(java.util.Properties props,
PropertiesChecker checker,
EngineFactory factory,
java.lang.Object req)
Create a ReportCacheKey and start rendering if report does not exist in the Cache. |
ReportCacheKey |
EngineFactory.getKey(java.util.Properties props)
Creates an unique key for the Engine that EngineFactory.createEngine(Properties) returns. |
ReportCacheKey |
EngineFactoryImpl.getKey(java.util.Properties props)
Create a unique key for the Engine that is returned by createEngine(). |
byte[] |
Cache.getPageAndWait(ReportCacheKey key,
int page)
The method returns the binary data of pages of a report. |
abstract byte[] |
Cache.getPageAndWait(ReportCacheKey key,
int page,
int timeout)
The method returns the binary data of pages of a report. |
int |
Cache.getPageCountAndWait(ReportCacheKey key)
Returns the total count of pages and blocks until the rendering is finished. |
abstract int |
Cache.getPageCountAndWait(ReportCacheKey key,
int timeout)
Returns the total count of pages and blocks until the rendering is finished. |
abstract ReportCacheKey[] |
Cache.getReports()
Returns all reports that are currently listed in the Cache. |
int |
Cache.getTotalPageSizeAndWait(ReportCacheKey key)
Returns the total size of all pages in bytes and blocks
until the rendering is finished. |
abstract int |
Cache.getTotalPageSizeAndWait(ReportCacheKey key,
int timeout)
Returns the total size of all pages in bytes and blocks
until the rendering is finished. |
static boolean |
ExternalDBCache.isConnectionNeeded()
Checks whether the External Database Cache need more connections. |
boolean |
Cache.isFailedReport(ReportCacheKey key)
Returns whether the report was rendered without errors. |
boolean |
Cache.isFinishWrittenToStore(ReportCacheKey key)
Asserts, whether the report is completly written into the store of the cache or not. |
boolean |
Cache.isFinished(ReportCacheKey key)
Checks whether the rendering process is finished. |
abstract boolean |
Cache.isPageLimitExceeded(ReportCacheKey key)
Check if the rendering of the report ran into a page limit. |
boolean |
Cache.isScheduleReport(ReportCacheKey key)
Shows if the report is a schedule report. |
abstract void |
Cache.lock(ReportCacheKey key)
Lock the data in the cache and prevent it from modification. |
abstract void |
Cache.setSchedule(ReportCacheKey key,
boolean schedule)
Defines a report in the Cache as a schedule report. |
abstract void |
Cache.unlock(ReportCacheKey key)
Unlock the data in the cache. |
| Constructors in com.inet.report.cache that throw ReportException | |
|---|---|
ReportCacheKey(java.lang.String report,
java.lang.String parameter,
java.lang.String format,
long vgen)
Creates a new ReportCacheKey. |
|
ReportCacheKey(java.lang.String report,
java.lang.String parameter,
java.lang.String format,
long vgen,
boolean scheduleInProcessReport)
Creates a new ReportCacheKey. |
|
| Uses of ReportException in com.inet.report.config.datasource |
|---|
| Methods in com.inet.report.config.datasource that throw ReportException | |
|---|---|
static void |
DataSourceConfigurationManager.forceImportDataSourceConfigurations(int preferenceScope,
java.io.File fileToImport)
Imports data source configurations, replacing any existing ones with the same name |
static void |
DataSourceConfigurationManager.importDataSourceConfigurations(int preferenceScope,
java.io.File importFile)
Imports data source configurations. |
static void |
DataSourceConfigurationManager.importDataSourceConfigurations(int preferenceScope,
java.io.File importFile,
boolean ignoreIfExist)
Imports data source configurations. |
void |
DataSourceConfiguration.validate()
Checks if it is possible to get a connection based on this DataSourceConfiguration. |
| Uses of ReportException in com.inet.report.parser |
|---|
| Subclasses of ReportException in com.inet.report.parser | |
|---|---|
class |
FatalParserException
The FatalParserException is thrown while parsing only if a fatal and unrecoverable error occurs which causes the report to not be able to be parsed. |
| Uses of ReportException in com.inet.report.translation |
|---|
| Methods in com.inet.report.translation that throw ReportException | |
|---|---|
java.util.Set |
Translator.listLabels(boolean useParagraph)
List all string that can be translated (i.e. labels, prompts and report title). |
void |
Translator.translate(java.util.ResourceBundle languageResource,
boolean useParagraph)
Translate all labels and the report title of the engine. |
|
i-net Clear Reports | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||