org.apache.jackrabbit.spi.commons.batch
Class Operations.SetPrimaryType
java.lang.Object
org.apache.jackrabbit.spi.commons.batch.Operations.SetPrimaryType
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- ConsolidatingChangeLog.CancelableOperations.SetPrimaryType
- Enclosing class:
- Operations
public static class Operations.SetPrimaryType
- extends java.lang.Object
- implements Operation
Representative of a set-mixin Operation which calls
Batch.setMixins(NodeId, Name[]) when applied to a Batch.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
nodeId
protected final NodeId nodeId
primaryTypeName
protected final Name primaryTypeName
Operations.SetPrimaryType
public Operations.SetPrimaryType(NodeId nodeId,
Name primaryTypeName)
- Create a new set-mixin
Operation for the given arguments.
- Parameters:
nodeId - primaryTypeName - - See Also:
Batch.setMixins(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 java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(Operations.SetPrimaryType other)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.