|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAdhocBrowserDefinition
This interface represents an ad-hoc browser definition. In contrast to normal
browser definition ad-hoc browser definition are mutual and not predefined at
design-time. Ad-hoc browser definitions could be used to create dynamic
result sets when performing a query on a table alias. To do something like
that a corresponding IDataBrowser has to be
requested by means of
IDataAccessor.getBrowser(IBrowserDefinition).
| Method Summary | |
|---|---|
void |
addBrowserField(int index,
java.lang.String tableAliasName,
java.lang.String tableFieldName,
java.lang.String label,
SortOrder sortOrder)
Adds a new browser table field to this browser definition, which will be inserted at the given position index. |
void |
addBrowserField(java.lang.String tableAliasName,
java.lang.String tableFieldName,
java.lang.String label,
SortOrder sortOrder)
Adds a new browser table field to this browser definition, which will be appended to already existing browser fields. |
java.util.List |
getBrowserFields()
Returns the list of all browser fields. |
int |
getFieldNumber()
Returns the number of browser fields of this browser definition. |
IBrowserTableField |
removeBrowserField(int index)
Removes the browser field located at the given index. |
| Methods inherited from interface de.tif.jacob.core.definition.IBrowserDefinition |
|---|
getBrowserField, getTableAlias |
| Methods inherited from interface de.tif.jacob.core.definition.INamedObjectDefinition |
|---|
getDescription, getName, getProperty |
| Method Detail |
|---|
java.util.List getBrowserFields()
Note: Browser fields are always of type IBrowserTableField
getBrowserFields in interface IBrowserDefinitionIBrowserTableFieldIBrowserDefinition.getBrowserFields()
IBrowserTableField removeBrowserField(int index)
throws java.lang.IndexOutOfBoundsException
index - the index of the browser field to remove
java.lang.IndexOutOfBoundsException - if 0 <= index < getFieldNumber() is not
fulfilledint getFieldNumber()
void addBrowserField(java.lang.String tableAliasName,
java.lang.String tableFieldName,
java.lang.String label,
SortOrder sortOrder)
throws java.lang.NoSuchFieldException
tableAliasName - the name of the table aliastableFieldName - the name of the table fieldlabel - the label of the browser fieldsortOrder - the sort order of the browser field
java.lang.NoSuchFieldException - if no such table field exists for the given table alias
void addBrowserField(int index,
java.lang.String tableAliasName,
java.lang.String tableFieldName,
java.lang.String label,
SortOrder sortOrder)
throws java.lang.NoSuchFieldException,
java.lang.IndexOutOfBoundsException
index - the index to insert the new browser table fieldtableAliasName - the name of the table aliastableFieldName - the name of the table fieldlabel - the label of the browser fieldsortOrder - the sort order of the browser field
java.lang.NoSuchFieldException - if no such table field exists for the given table alias
java.lang.IndexOutOfBoundsException - if 0 <= index < getFieldNumber() is not
fulfilled
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||