Class SmsAggregatingAgentsQueryHandler
- java.lang.Object
-
- org.forgerock.openam.core.rest.sms.SmsAggregatingAgentsQueryHandler
-
public class SmsAggregatingAgentsQueryHandler extends Object
A handler for handling queries on the realm-config/agents resource.- Since:
- 14.0.0
-
-
Constructor Summary
Constructors Constructor Description SmsAggregatingAgentsQueryHandler(ServiceSchema schema, Debug debug)Create an instance of the SmsAggregatingAgentsQueryHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.util.promise.Promise<org.forgerock.json.resource.QueryResponse,org.forgerock.json.resource.ResourceException>handleQuery(org.forgerock.services.context.Context context, org.forgerock.json.resource.QueryRequest request, org.forgerock.json.resource.QueryResourceHandler handler)Search and filters the agents to match the filtering criteria
-
-
-
Constructor Detail
-
SmsAggregatingAgentsQueryHandler
public SmsAggregatingAgentsQueryHandler(ServiceSchema schema, Debug debug) throws SMSException
Create an instance of the SmsAggregatingAgentsQueryHandler- Parameters:
schema- The Agents Service Schemadebug- The debugger- Throws:
SMSException- Thrown if sub schema cannot be accessed
-
-
Method Detail
-
handleQuery
public org.forgerock.util.promise.Promise<org.forgerock.json.resource.QueryResponse,org.forgerock.json.resource.ResourceException> handleQuery(org.forgerock.services.context.Context context, org.forgerock.json.resource.QueryRequest request, org.forgerock.json.resource.QueryResourceHandler handler) throws org.forgerock.json.resource.InternalServerErrorExceptionSearch and filters the agents to match the filtering criteria- Parameters:
context- The request contextrequest- The query requesthandler- The query resource handler- Returns:
- The query result
- Throws:
org.forgerock.json.resource.InternalServerErrorException- Thrown when query fails
-
-