public class AclReadAllowAnyConnectedUserQuery extends Object implements Query
Query
testing if a document is restricted to any connected user.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private boolean |
_allowAnyConnectedUser |
Constructor and Description |
---|
AclReadAllowAnyConnectedUserQuery()
Create a query getting all documents restricted to any connected user.
|
AclReadAllowAnyConnectedUserQuery(boolean allowAnyConnectedUser)
Create a AllowAnyConnectedUserQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
private boolean _allowAnyConnectedUser
public AclReadAllowAnyConnectedUserQuery()
public AclReadAllowAnyConnectedUserQuery(boolean allowAnyConnectedUser)
allowAnyConnectedUser
- true
to get only documents
which are restricted to any connected user, false
otherwise.public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.