Class Operations.SetMixins
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.batch.Operations.SetMixins
-
- All Implemented Interfaces:
Operation
- Enclosing class:
- Operations
public static class Operations.SetMixins extends java.lang.Object implements Operation
Representative of a set-mixinOperationwhich callsBatch.setMixins(NodeId, Name[])when applied to aBatch.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Batch batch)Apply this operation to the givenBatchbooleanequals(java.lang.Object other)booleanequals(Operations.SetMixins other)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SetMixins
public SetMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
Create a new set-mixinOperationfor the given arguments.- Parameters:
nodeId-mixinNodeTypeNames-- See Also:
Batch.setMixins(NodeId, Name[])
-
-
Method Detail
-
apply
public void apply(Batch batch) throws javax.jcr.RepositoryException
Apply this operation to the givenBatch
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
equals
public boolean equals(Operations.SetMixins other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-