public static class Operations.SetPrimaryType extends Object implements Operation
Operation which calls
Batch.setMixins(NodeId, Name[]) when applied to a Batch.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jackrabbit.spi.NodeId |
nodeId |
protected org.apache.jackrabbit.spi.Name |
primaryTypeName |
| Constructor and Description |
|---|
Operations.SetPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryTypeName)
Create a new set-mixin
Operation for the given arguments. |
protected final org.apache.jackrabbit.spi.NodeId nodeId
protected final org.apache.jackrabbit.spi.Name primaryTypeName
public Operations.SetPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryTypeName)
Operation for the given arguments.nodeId - primaryTypeName - Batch.setMixins(NodeId, Name[])public void apply(org.apache.jackrabbit.spi.Batch batch)
throws RepositoryException
Batchapply in interface OperationRepositoryExceptionpublic boolean equals(Operations.SetPrimaryType other)
Copyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.