public static class Operations.SetPrimaryType extends java.lang.Object implements Operation
Operation which calls
Batch.setMixins(NodeId, Name[]) when applied to a Batch.| Constructor and Description |
|---|
SetPrimaryType(NodeId nodeId,
Name primaryTypeName)
Create a new set-mixin
Operation for the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(java.lang.Object other) |
boolean |
equals(Operations.SetPrimaryType other) |
int |
hashCode() |
java.lang.String |
toString() |
public SetPrimaryType(NodeId nodeId, Name primaryTypeName)
Operation for the given arguments.nodeId - primaryTypeName - Batch.setMixins(NodeId, Name[])public void apply(Batch batch) throws RepositoryException
Batchpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean equals(Operations.SetPrimaryType other)
public int hashCode()
hashCode in class java.lang.Object"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"