|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.erm.XModelHandler
public abstract class XModelHandler
An XModelHandler translates a selection of attributes from a data model into a format that can be used to generate a result set from the associated data source. In order for a data source type to be able to use a data model, it must have a corresponding implementation of XModelHandler.
| Constructor Summary | |
|---|---|
XModelHandler(XHandler handler)
Create an XModelHandler that uses the specified XHandler. |
|
| Method Summary | |
|---|---|
abstract XNode |
execute(Object session,
XDataSelection selection,
XDataModel model,
VariableTable vars,
Principal user)
Executes a selection of attributes from the specified data model and returns the result set in the form of an XNode. |
XHandler |
getHandler()
Get the XHandler used to execute the generated query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XModelHandler(XHandler handler)
XHandler.
handler - the XHandler used to actually execute the
generated query.| Method Detail |
|---|
public abstract XNode execute(Object session,
XDataSelection selection,
XDataModel model,
VariableTable vars,
Principal user)
throws Exception
XNode. Subclasses
should translate the selection into a form usable by the
corresponding XHandler implementation and use that class to
get the result.
session - the session objectselection - a group of attributes and conditions defining a querymodel - the data model from which the attributes were takenvars - variable values for the query.user - the user executing the query.
XNode object
Exception - if an error is encountered while executing the
querypublic XHandler getHandler()
XHandler used to execute the generated query.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||