org.apache.jackrabbit.spi.commons.batch
Class Operations.SetMixins

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.batch.Operations.SetMixins
All Implemented Interfaces:
Operation
Direct Known Subclasses:
ConsolidatingChangeLog.CancelableOperations.SetMixins
Enclosing class:
Operations

public static class Operations.SetMixins
extends Object
implements Operation

Representative of a set-mixin Operation which calls Batch.setMixins(NodeId, Name[]) when applied to a Batch.


Field Summary
protected  Name[] mixinNodeTypeNames
           
protected  NodeId nodeId
           
 
Constructor Summary
Operations.SetMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
          Create a new set-mixin Operation for the given arguments.
 
Method Summary
 void apply(Batch batch)
          Apply this operation to the given Batch
 boolean equals(Object other)
           
 boolean equals(Operations.SetMixins other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeId

protected final NodeId nodeId

mixinNodeTypeNames

protected final Name[] mixinNodeTypeNames
Constructor Detail

Operations.SetMixins

public Operations.SetMixins(NodeId nodeId,
                            Name[] mixinNodeTypeNames)
Create a new set-mixin Operation for the given arguments.

Parameters:
nodeId -
mixinNodeTypeNames -
See Also:
Batch.setMixins(NodeId, Name[])
Method Detail

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.SetMixins other)

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.