Class CommandServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.CommandServiceImpl
- All Implemented Interfaces:
CommandService
,JAXRSService
-
Field Summary
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the command for the given key, if found.Runs the given command with the given arguments and returns the resulting output.search
(CommandQuery query) Returns a paged list of all commands.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
-
Field Details
-
logic
-
-
Constructor Details
-
CommandServiceImpl
-
-
Method Details
-
search
Description copied from interface:CommandService
Returns a paged list of all commands.- Specified by:
search
in interfaceCommandService
- Parameters:
query
- query conditions- Returns:
- list of all commands.
-
read
Description copied from interface:CommandService
Returns the command for the given key, if found.- Specified by:
read
in interfaceCommandService
- Parameters:
key
- command key- Returns:
- the command for the given key, if found
-
run
Description copied from interface:CommandService
Runs the given command with the given arguments and returns the resulting output.- Specified by:
run
in interfaceCommandService
- Parameters:
command
- command to run, with arguments- Returns:
- command output
-