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 Object implements Operation
Representative of a set-mixinOperationwhich callsBatch.setMixins(NodeId, Name[])when applied to aBatch.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.jackrabbit.spi.NodeIdnodeIdprotected org.apache.jackrabbit.spi.NameprimaryTypeName
-
Constructor Summary
Constructors Constructor Description SetPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId, org.apache.jackrabbit.spi.Name primaryTypeName)Create a new set-mixinOperationfor the given arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.apache.jackrabbit.spi.Batch batch)Apply this operation to the givenBatchbooleanequals(Object other)booleanequals(Operations.SetPrimaryType other)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SetPrimaryType
public SetPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId, org.apache.jackrabbit.spi.Name primaryTypeName)Create a new set-mixinOperationfor the given arguments.- Parameters:
nodeId-primaryTypeName-- See Also:
Batch.setMixins(NodeId, Name[])
-
-
Method Detail
-
apply
public void apply(org.apache.jackrabbit.spi.Batch batch) throws RepositoryExceptionApply this operation to the givenBatch- Specified by:
applyin interfaceOperation- Throws:
RepositoryException
-
equals
public boolean equals(Operations.SetPrimaryType other)
-
-