|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.proxy.QueryManagerProxy
public class QueryManagerProxy
A protection proxy for the QueryManager. A proxy has a set of permissions that are specified at creation time of the proxy. Subsequently, those permissions are use to restrict access to protected methods. If a user does not have the right to execute a particular method, an UnauthorizedException is thrown.
QueryManager
,
Permissions
,
UnauthorizedException
Constructor Summary | |
---|---|
QueryManagerProxy(QueryManager queryManager,
AuthToken auth,
Permissions permissions)
Creates a new QueryManagerProxy object. |
Method Summary | |
---|---|
Query |
createQuery()
Creates a query object to search through all forums. |
Query |
createQuery(Forum[] forums)
Creates a query object to search through the specified array of forums. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryManagerProxy(QueryManager queryManager, AuthToken auth, Permissions permissions)
queryManager
- the queryManager to protect by proxyauth
- the user's authorization tokenpermissions
- the permissions to use with this proxyMethod Detail |
---|
public Query createQuery()
QueryManager
createQuery
in interface QueryManager
public Query createQuery(Forum[] forums)
QueryManager
createQuery
in interface QueryManager
forums
- the forums to search.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |