|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XQueryRepository
Query repository contains query objects.
| Field Summary | |
|---|---|
static int |
GLOBAL_SCOPE
Global scope. |
static int |
LOCAL_QUERY
Local query repository. |
static int |
LOCAL_SCOPE
Local scope |
static int |
NORMAL_QUERY
Normal query repository. |
| Method Summary | |
|---|---|
Enumeration |
getQueries()
Get all the queries. |
XQuery |
getQuery(String name)
Get a query matches a query name. |
int |
getQueryType()
Get query type in the query repository. |
void |
removeQuery(String qname)
Remove a query from the repository. |
void |
updateQuery(XQuery dx,
String oname)
Add or replace a query in the query repository. |
| Field Detail |
|---|
static final int NORMAL_QUERY
static final int LOCAL_QUERY
static final int GLOBAL_SCOPE
static final int LOCAL_SCOPE
| Method Detail |
|---|
int getQueryType()
XQuery getQuery(String name)
throws Exception
name - the specified query name.
Exception
Enumeration getQueries()
throws Exception
Exception
void updateQuery(XQuery dx,
String oname)
throws Exception
dx - new query.oname - old name of the query, if the name has been changed.
Otherwise it should be null.
Exception
void removeQuery(String qname)
throws Exception
Exception
|
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 | ||||||||