|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.query.internal.SecureQueryExecutorManager
@Component(value="secure",
roles=QueryExecutorManager.class)
public class SecureQueryExecutorManager
QueryExecutorManager with access rights checking.
| Constructor Summary | |
|---|---|
SecureQueryExecutorManager()
|
|
| Method Summary | ||
|---|---|---|
|
execute(Query query)
|
|
protected DocumentAccessBridge |
getBridge()
|
|
java.util.Set<java.lang.String> |
getLanguages()
|
|
protected QueryExecutorManager |
getNestedQueryExecutorManager()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecureQueryExecutorManager()
| Method Detail |
|---|
public <T> java.util.List<T> execute(Query query)
throws QueryException
execute in interface QueryExecutorT - expected type of elements in the result listquery - query to execute
QueryException - if something goes wrongQuery.execute()public java.util.Set<java.lang.String> getLanguages()
getLanguages in interface QueryExecutorManagerprotected DocumentAccessBridge getBridge()
DocumentAccessBridgeprotected QueryExecutorManager getNestedQueryExecutorManager()
QueryExecutorManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||