org.space4j.command
Class RemoveCmd

java.lang.Object
  extended by org.space4j.Command
      extended by org.space4j.command.RemoveCmd
All Implemented Interfaces:
java.io.Serializable

public class RemoveCmd
extends Command

See Also:
Serialized Form

Constructor Summary
RemoveCmd(java.lang.Object target, java.lang.Object keyOrValue)
           
 
Method Summary
 int execute(Space space)
          This method accesses the Space and its objects to do any modifications it wants.
 
Methods inherited from class org.space4j.Command
executeSQL, getLogNumber, getReplicaId, setLogNumber, setReplicaId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveCmd

public RemoveCmd(java.lang.Object target,
                 java.lang.Object keyOrValue)
Method Detail

execute

public int execute(Space space)
            throws CommandException
Description copied from class: Command
This method accesses the Space and its objects to do any modifications it wants.

Specified by:
execute in class Command
Parameters:
space - The Space where the objects are stored.
Returns:
An int with the number of objects altered by this operation.
Throws:
CommandException - If there was an error executing this command.


Copyright © 2005 Space4J Team. All Rights Reserved.