Examples of DeleteCommand


Examples of com.aerospike.client.command.DeleteCommand

   * @param key          unique record identifier
   * @return            whether record existed on server before deletion
   * @throws AerospikeException  if delete fails
   */
  public final boolean delete(WritePolicy policy, Key key) throws AerospikeException {
    DeleteCommand command = new DeleteCommand(cluster, key);
    command.setDelete(policy, key);   
    command.execute(policy);
    return command.getResultCode() == ResultCode.OK;
  }
View Full Code Here

Examples of com.onarandombox.MultiverseCore.commands.DeleteCommand

        this.commandHandler.registerCommand(new SpawnCommand(this));
        // Dangerous Commands
        this.commandHandler.registerCommand(new UnloadCommand(this));
        this.commandHandler.registerCommand(new LoadCommand(this));
        this.commandHandler.registerCommand(new RemoveCommand(this));
        this.commandHandler.registerCommand(new DeleteCommand(this));
        this.commandHandler.registerCommand(new RegenCommand(this));
        this.commandHandler.registerCommand(new ConfirmCommand(this));
        // Modification commands
        this.commandHandler.registerCommand(new ModifyCommand(this));
        this.commandHandler.registerCommand(new PurgeCommand(this));
View Full Code Here

Examples of easyJ.database.dao.command.DeleteCommand

                .getPrimaryKeyName(oclass)));
        ExecuteSQL.executeUpdate(sql, paramValueList, conn);
    }

    public void deleteBatch(Object o, Connection conn) throws EasyJException {
        DeleteCommand dcmd = DAOFactory.getDeleteCommand(o);
        Filter filter = DAOFactory.getFilter();
        filter.setAccurateProperties(accurateProperties);
        filter = filter.buildFilter(o,false);
        dcmd.setFilter(filter);
        dcmd.execute(conn);
        accurateProperties = null;
    }
View Full Code Here

Examples of gui.commands.DeleteCommand

   
    executeCommand(comm);
  }
 
  public void executeDelete() {
    Command comm = new DeleteCommand();
   
    executeCommand(comm);
  }
View Full Code Here

Examples of info.textgrid.lab.noteeditor.commands.DeleteCommand

    if (model instanceof ScoreDefForm) {
      // undeletable
//      LogService.warning(MusicMessages.BasicElementEditPolicy_0 + model.toString() + MusicMessages.BasicElementEditPolicy_1);
      return UnexecutableCommand.INSTANCE;
    } else {
      DeleteCommand deleteCmd = new DeleteCommand();
      deleteCmd.setParent((MusicContainerForm) parent);
      deleteCmd.setChild((BasicElement) getHost().getModel());
      return deleteCmd;
    }
  }
View Full Code Here

Examples of me.taylorkelly.bigbrother.commands.DeleteCommand

        bbc.registerExecutor("watched", new WatchedCommand(this));
        bbc.registerExecutor("unwatched", new UnwatchedCommand(this));
        bbc.registerExecutor("cleanse", new CleanseCommand(this));
        bbc.registerExecutor("rollback", new RollbackCommand(this));
        bbc.registerExecutor("confirm", new ConfirmCommand(this));
        bbc.registerExecutor("delete", new DeleteCommand(this));
        bbc.registerExecutor("undo", new UndoCommand(this));
        bbc.registerExecutor("stick", new StickCommand(this));
        bbc.registerExecutor("log", new LogCommand(this));
        bbc.registerExecutor("done", new DoneCommand(this));
        bbc.registerExecutor("here", new HereCommand(this));
View Full Code Here

Examples of net.sf.graphiti.ui.commands.DeleteCommand

*/
public class DependencyEditPolicy extends ConnectionEditPolicy {

  @Override
  protected Command getDeleteCommand(GroupRequest request) {
    DeleteCommand command = new DeleteCommand(getHost().getModel());
    return command;
  }
View Full Code Here

Examples of org.apache.accumulo.core.util.shell.commands.DeleteCommand

      verbose = false;
    }
   
    rootToken = new Token();
   
    Command[] dataCommands = {new DeleteCommand(), new DeleteManyCommand(), new DeleteRowsCommand(), new EGrepCommand(), new FormatterCommand(),
        new InterpreterCommand(), new GrepCommand(), new ImportDirectoryCommand(), new InsertCommand(), new MaxRowCommand(), new ScanCommand()};
    Command[] debuggingCommands = {new ClasspathCommand(), new DebugCommand(), new ListScansCommand(), new ListCompactionsCommand(), new TraceCommand(),
        new PingCommand()};
    Command[] execCommands = {new ExecfileCommand(), new HistoryCommand()};
    Command[] exitCommands = {new ByeCommand(), new ExitCommand(), new QuitCommand()};
View Full Code Here

Examples of org.apache.accumulo.core.util.shell.commands.DeleteCommand

    }

    rootToken = new Token();
    Command external[] = {new AboutCommand(), new AddSplitsCommand(), new AuthenticateCommand(), new ByeCommand(), new ClasspathCommand(), new ClearCommand(),
        new CloneTableCommand(), new ClsCommand(), new CompactCommand(), new ConfigCommand(), new CreateTableCommand(), new CreateUserCommand(),
        new DebugCommand(), new DeleteCommand(), new DeleteIterCommand(), new DeleteManyCommand(), new DeleteRowsCommand(), new DeleteScanIterCommand(),
        new DeleteTableCommand(), new DeleteUserCommand(), new DropTableCommand(), new DropUserCommand(), new DUCommand(), new EGrepCommand(),
        new ExecfileCommand(), new ExitCommand(), new FlushCommand(), new FormatterCommand(), new GetAuthsCommand(), new GetGroupsCommand(),
        new GetSplitsCommand(), new GrantCommand(), new GrepCommand(), new HelpCommand(), new HiddenCommand(), new HistoryCommand(),
        new ImportDirectoryCommand(), new InfoCommand(), new InsertCommand(), new ListIterCommand(), new ListScansCommand(), new MasterStateCommand(),
        new MaxRowCommand(), new MergeCommand(), new NoTableCommand(), new OfflineCommand(), new OnlineCommand(), new PasswdCommand(), new QuestionCommand(),
View Full Code Here

Examples of org.apache.accumulo.core.util.shell.commands.DeleteCommand

      verbose = false;
    }

    rootToken = new Token();

    Command[] dataCommands = {new DeleteCommand(), new DeleteManyCommand(), new DeleteRowsCommand(), new EGrepCommand(), new FormatterCommand(),
        new InterpreterCommand(), new GrepCommand(), new ImportDirectoryCommand(), new InsertCommand(), new MaxRowCommand(), new ScanCommand()};
    Command[] debuggingCommands = {new ClasspathCommand(), new DebugCommand(), new ListScansCommand(), new ListCompactionsCommand(), new TraceCommand(),
        new PingCommand()};
    Command[] execCommands = {new ExecfileCommand(), new HistoryCommand(), new ExtensionCommand(), new ScriptCommand()};
    Command[] exitCommands = {new ByeCommand(), new ExitCommand(), new QuitCommand()};
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.