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 NodeId |
nodeId |
protected Name |
primaryTypeName |
| Constructor and Description |
|---|
Operations.SetPrimaryType(NodeId nodeId,
Name primaryTypeName)
Create a new set-mixin
Operation for the given arguments. |
protected final NodeId nodeId
protected final Name primaryTypeName
public Operations.SetPrimaryType(NodeId nodeId, Name primaryTypeName)
Operation for the given arguments.nodeId - primaryTypeName - Batch.setMixins(NodeId, Name[])public void apply(Batch batch) throws javax.jcr.RepositoryException
Batchpublic boolean equals(Operations.SetPrimaryType other)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.