com.merkle.oss.magnolia.powernode.PowerNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magnolia-powernode Show documentation
Show all versions of magnolia-powernode Show documentation
compiles and bundles generated and base classes
package com.merkle.oss.magnolia.powernode;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.Calendar;
import javax.annotation.processing.Generated;
import javax.jcr.Binary;
import javax.jcr.Item;
import javax.jcr.ItemVisitor;
import javax.jcr.Node;
import javax.jcr.Property;
import javax.jcr.PropertyIterator;
import javax.jcr.Session;
import javax.jcr.Value;
import javax.jcr.lock.Lock;
import javax.jcr.nodetype.NodeDefinition;
import javax.jcr.nodetype.NodeType;
import javax.jcr.version.Version;
import javax.jcr.version.VersionHistory;
@Generated(
value = "com.merkle.oss.magnolia.powernode.generator.SourceGenerator",
date = "2024-09-09T12:06:44.753427209"
)
public final class PowerNode extends AbstractPowerNode {
public PowerNode(final NodeService nodeService, final Node node,
final PowerNodeDecorator decorator) {
super(nodeService, node, decorator);
}
@Override
public PowerNode addNode(final String arg0, final String arg1) {
return getContentDecorator().wrapNode(getOrThrow(wrappedNode -> wrappedNode.addNode(arg0, arg1)));
}
@Override
public PowerNode addNode(final String arg0) {
return getContentDecorator().wrapNode(getOrThrow(wrappedNode -> wrappedNode.addNode(arg0)));
}
@Override
public Version checkin() {
return getOrThrow(wrappedNode -> wrappedNode.checkin());
}
@Override
public VersionHistory getVersionHistory() {
return getOrThrow(wrappedNode -> wrappedNode.getVersionHistory());
}
@Override
public boolean hasNode(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.hasNode(arg0));
}
@Override
public PropertyIterator getWeakReferences() {
return getOrThrow(wrappedNode -> wrappedNode.getWeakReferences());
}
@Override
public PropertyIterator getWeakReferences(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getWeakReferences(arg0));
}
@Override
public PropertyIterator getReferences(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getReferences(arg0));
}
@Override
public PropertyIterator getReferences() {
return getOrThrow(wrappedNode -> wrappedNode.getReferences());
}
@Override
public boolean hasNodes() {
return getOrThrow(wrappedNode -> wrappedNode.hasNodes());
}
@Override
public Property getProperty(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getProperty(arg0));
}
@Override
public PowerNode getParent() {
return getContentDecorator().wrapNode(getOrThrow(wrappedNode -> wrappedNode.getParent()));
}
@Override
public Property setProperty(final String arg0, final String[] arg1, final int arg2) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1, arg2));
}
@Override
public Property setProperty(final String arg0, final String[] arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final String arg1, final int arg2) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1, arg2));
}
@Override
public Property setProperty(final String arg0, final String arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final Value[] arg1, final int arg2) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1, arg2));
}
@Override
public Property setProperty(final String arg0, final Value[] arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final Value arg1, final int arg2) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1, arg2));
}
@Override
public Property setProperty(final String arg0, final BigDecimal arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final Calendar arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final boolean arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final Binary arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final Value arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final Node arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final long arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final InputStream arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public Property setProperty(final String arg0, final double arg1) {
return getOrThrow(wrappedNode -> wrappedNode.setProperty(arg0, arg1));
}
@Override
public PropertyIterator getProperties(final String[] arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getProperties(arg0));
}
@Override
public PropertyIterator getProperties(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getProperties(arg0));
}
@Override
public PropertyIterator getProperties() {
return getOrThrow(wrappedNode -> wrappedNode.getProperties());
}
@Override
public PowerNode getNode(final String arg0) {
return getContentDecorator().wrapNode(getOrThrow(wrappedNode -> wrappedNode.getNode(arg0)));
}
@Override
public Item getAncestor(final int arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getAncestor(arg0));
}
@Override
public Session getSession() {
return getOrThrow(wrappedNode -> wrappedNode.getSession());
}
@Override
public Version getBaseVersion() {
return getOrThrow(wrappedNode -> wrappedNode.getBaseVersion());
}
@Override
public PowerNodeIterator getNodes(final String[] arg0) {
return getContentDecorator().wrapNodeIterator(getOrThrow(wrappedNode -> wrappedNode.getNodes(arg0)));
}
@Override
public PowerNodeIterator getNodes(final String arg0) {
return getContentDecorator().wrapNodeIterator(getOrThrow(wrappedNode -> wrappedNode.getNodes(arg0)));
}
@Override
public PowerNodeIterator getNodes() {
return getContentDecorator().wrapNodeIterator(getOrThrow(wrappedNode -> wrappedNode.getNodes()));
}
@Override
public void addMixin(final String arg0) {
run(wrappedNode -> wrappedNode.addMixin(arg0));
}
@Override
public boolean canAddMixin(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.canAddMixin(arg0));
}
@Override
public void cancelMerge(final Version arg0) {
run(wrappedNode -> wrappedNode.cancelMerge(arg0));
}
@Override
public void checkout() {
run(wrappedNode -> wrappedNode.checkout());
}
@Override
public void followLifecycleTransition(final String arg0) {
run(wrappedNode -> wrappedNode.followLifecycleTransition(arg0));
}
@Override
public String[] getAllowedLifecycleTransistions() {
return getOrThrow(wrappedNode -> wrappedNode.getAllowedLifecycleTransistions());
}
@Override
public String getCorrespondingNodePath(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.getCorrespondingNodePath(arg0));
}
@Override
public Lock getLock() {
return getOrThrow(wrappedNode -> wrappedNode.getLock());
}
@Override
public NodeType[] getMixinNodeTypes() {
return getOrThrow(wrappedNode -> wrappedNode.getMixinNodeTypes());
}
@Override
public Item getPrimaryItem() {
return getOrThrow(wrappedNode -> wrappedNode.getPrimaryItem());
}
@Override
public NodeType getPrimaryNodeType() {
return getOrThrow(wrappedNode -> wrappedNode.getPrimaryNodeType());
}
@Override
public PowerNodeIterator getSharedSet() {
return getContentDecorator().wrapNodeIterator(getOrThrow(wrappedNode -> wrappedNode.getSharedSet()));
}
@Override
public String getUUID() {
return getOrThrow(wrappedNode -> wrappedNode.getUUID());
}
@Override
public boolean isCheckedOut() {
return getOrThrow(wrappedNode -> wrappedNode.isCheckedOut());
}
@Override
public boolean isNodeType(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.isNodeType(arg0));
}
@Override
public void orderBefore(final String arg0, final String arg1) {
run(wrappedNode -> wrappedNode.orderBefore(arg0, arg1));
}
@Override
public void removeMixin(final String arg0) {
run(wrappedNode -> wrappedNode.removeMixin(arg0));
}
@Override
public void removeShare() {
run(wrappedNode -> wrappedNode.removeShare());
}
@Override
public void removeSharedSet() {
run(wrappedNode -> wrappedNode.removeSharedSet());
}
@Override
public void restoreByLabel(final String arg0, final boolean arg1) {
run(wrappedNode -> wrappedNode.restoreByLabel(arg0, arg1));
}
@Override
public void setPrimaryType(final String arg0) {
run(wrappedNode -> wrappedNode.setPrimaryType(arg0));
}
@Override
public void doneMerge(final Version arg0) {
run(wrappedNode -> wrappedNode.doneMerge(arg0));
}
@Override
public String getName() {
return getOrThrow(wrappedNode -> wrappedNode.getName());
}
@Override
public void remove() {
run(wrappedNode -> wrappedNode.remove());
}
@Override
public Lock lock(final boolean arg0, final boolean arg1) {
return getOrThrow(wrappedNode -> wrappedNode.lock(arg0, arg1));
}
@Override
public void update(final String arg0) {
run(wrappedNode -> wrappedNode.update(arg0));
}
@Override
public PowerNodeIterator merge(final String arg0, final boolean arg1) {
return getContentDecorator().wrapNodeIterator(getOrThrow(wrappedNode -> wrappedNode.merge(arg0, arg1)));
}
@Override
public boolean holdsLock() {
return getOrThrow(wrappedNode -> wrappedNode.holdsLock());
}
@Override
public void accept(final ItemVisitor arg0) {
run(wrappedNode -> wrappedNode.accept(arg0));
}
@Override
public void save() {
run(wrappedNode -> wrappedNode.save());
}
@Override
public NodeDefinition getDefinition() {
return getOrThrow(wrappedNode -> wrappedNode.getDefinition());
}
@Override
public String getPath() {
return getOrThrow(wrappedNode -> wrappedNode.getPath());
}
@Override
public int getIndex() {
return getOrThrow(wrappedNode -> wrappedNode.getIndex());
}
@Override
public boolean isLocked() {
return getOrThrow(wrappedNode -> wrappedNode.isLocked());
}
@Override
public void unlock() {
run(wrappedNode -> wrappedNode.unlock());
}
@Override
public int getDepth() {
return getOrThrow(wrappedNode -> wrappedNode.getDepth());
}
@Override
public void refresh(final boolean arg0) {
run(wrappedNode -> wrappedNode.refresh(arg0));
}
@Override
public boolean isSame(final Item arg0) {
return getOrThrow(wrappedNode -> wrappedNode.isSame(arg0));
}
@Override
public boolean hasProperty(final String arg0) {
return getOrThrow(wrappedNode -> wrappedNode.hasProperty(arg0));
}
@Override
public boolean hasProperties() {
return getOrThrow(wrappedNode -> wrappedNode.hasProperties());
}
@Override
public String getIdentifier() {
return getOrThrow(wrappedNode -> wrappedNode.getIdentifier());
}
@Override
public void restore(final Version arg0, final String arg1, final boolean arg2) {
run(wrappedNode -> wrappedNode.restore(arg0, arg1, arg2));
}
@Override
public void restore(final Version arg0, final boolean arg1) {
run(wrappedNode -> wrappedNode.restore(arg0, arg1));
}
@Override
public void restore(final String arg0, final boolean arg1) {
run(wrappedNode -> wrappedNode.restore(arg0, arg1));
}
}