Interface ContextMembershipQueryService
public interface ContextMembershipQueryService
The service to extract context membership information to a file. The methods in the service require the current user
to be an Administrative mode user.
- Since:
- 2.3
-
Method Summary
Modifier and TypeMethodDescriptionExtracts the assigned membership of a context with the option to include defined groups.executeDistinctContextMembershipQuery(DistinctContextMembershipQuery query, ExtractFileCreateInfo file) Extracts the distinct members of a context.
-
Method Details
-
executeContextMembershipQuery
String executeContextMembershipQuery(ContextMembershipQuery query, ExtractFileCreateInfo file) throws QueryException Extracts the assigned membership of a context with the option to include defined groups. The context path is required on theContextMembershipQuery. No constraints are required for the query. If none are provided, it returns the membership information for the context. If the query results exceed the row limit (default is 10 million), aQueryLimitExceptionis thrown.- Parameters:
query- The membership criteria with which to query, which includes contextPath that is required.file- The method to add the query output file.- Returns:
- The path to the query output file.
- Throws:
QueryException- Thrown when there is an issue generating the query.
-
executeDistinctContextMembershipQuery
String executeDistinctContextMembershipQuery(DistinctContextMembershipQuery query, ExtractFileCreateInfo file) throws QueryException Extracts the distinct members of a context. The context path is required on theContextMembershipQuery. No constraints are required for the query. If none are provided, it returns the membership information for the context. If the query results exceed the row limit (default is 10 million), aQueryLimitExceptionis thrown.- Parameters:
query- The membership criteria with which to query, which includes contextPath that is required.file- The method to add the query output file.- Returns:
- The path to the query output file.
- Throws:
QueryException- Thrown when there is an issue generating the query.
-