org.apache.jackrabbit.spi.commons.batch
Class Operations.Remove
java.lang.Object
org.apache.jackrabbit.spi.commons.batch.Operations.Remove
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- ConsolidatingChangeLog.CancelableOperations.Remove
- Enclosing class:
- Operations
public static class Operations.Remove
- extends Object
- implements Operation
Representative of a remove Operation
which calls Batch.remove(ItemId)
when
applied to a Batch
.
itemId
protected final ItemId itemId
Operations.Remove
public Operations.Remove(ItemId itemId)
- Create a new remove
Operation
for the given arguments.
- Parameters:
itemId
- - See Also:
Batch.move(NodeId, NodeId, Name)
apply
public void apply(Batch batch)
throws RepositoryException
- Apply this operation to the given
Batch
- Specified by:
apply
in interface Operation
- Throws:
RepositoryException
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
equals
public boolean equals(Operations.Remove other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.