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

@Service public class CommandServiceImpl extends AbstractService implements CommandService
  • Field Details

  • Constructor Details

    • CommandServiceImpl

      public CommandServiceImpl(CommandLogic logic)
  • Method Details

    • search

      public PagedResult<CommandTO> search(CommandQuery query)
      Description copied from interface: CommandService
      Returns a paged list of all commands.
      Specified by:
      search in interface CommandService
      Parameters:
      query - query conditions
      Returns:
      list of all commands.
    • read

      public CommandTO read(String key)
      Description copied from interface: CommandService
      Returns the command for the given key, if found.
      Specified by:
      read in interface CommandService
      Parameters:
      key - command key
      Returns:
      the command for the given key, if found
    • run

      public CommandOutput run(CommandTO command)
      Description copied from interface: CommandService
      Runs the given command with the given arguments and returns the resulting output.
      Specified by:
      run in interface CommandService
      Parameters:
      command - command to run, with arguments
      Returns:
      command output