JcrClipboard
instead.@Deprecated public class JcrContentClipboard extends Object implements ContentClipboard<JcrItemId>
ContentClipboard
.Constructor and Description |
---|
JcrContentClipboard()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canCopy(List<JcrItemId> source)
Deprecated.
Check whether given objects can be copied into the clipboard.
|
boolean |
canPasteInto(JcrItemId destination)
Deprecated.
Check whether objects in the clipboard can be pasted under given object.
|
protected boolean |
canPasteInto(JcrItemId source,
JcrItemId destination)
Deprecated.
|
void |
copy(List<JcrItemId> source)
Deprecated.
Save the information about provided objects to be saved to the clipboard.
|
protected String |
getUniqueNewItemName(javax.jcr.Item referenceItem,
javax.jcr.Node destination)
Deprecated.
|
List<JcrItemId> |
paste(JcrItemId destination)
Deprecated.
Paste clipboard contents under the provided object.
|
protected JcrItemId |
pasteSingleItem(JcrItemId source,
JcrItemId destination)
Deprecated.
|
protected JcrItemId |
pasteSingleNode(javax.jcr.Node sourceNode,
javax.jcr.Node destinationNode)
Deprecated.
|
protected JcrItemId |
pasteSingleProperty(javax.jcr.Property property,
javax.jcr.Node destinationNode)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canPasteInto, cut, getContents, isEmpty, pasteToRoot
public void copy(List<JcrItemId> source)
ContentClipboard
copy
in interface ContentClipboard<JcrItemId>
public List<JcrItemId> paste(JcrItemId destination)
ContentClipboard
paste
in interface ContentClipboard<JcrItemId>
protected JcrItemId pasteSingleItem(JcrItemId source, JcrItemId destination) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected JcrItemId pasteSingleNode(javax.jcr.Node sourceNode, javax.jcr.Node destinationNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected JcrItemId pasteSingleProperty(javax.jcr.Property property, javax.jcr.Node destinationNode) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public boolean canCopy(List<JcrItemId> source)
ContentClipboard
canCopy
in interface ContentClipboard<JcrItemId>
public boolean canPasteInto(JcrItemId destination)
ContentClipboard
canPasteInto
in interface ContentClipboard<JcrItemId>
protected String getUniqueNewItemName(javax.jcr.Item referenceItem, javax.jcr.Node destination) throws javax.jcr.RepositoryException
referenceItem
- the JCR item whose name must be unique at the given destinationdestination
- the destination targeted for uniqueness checkjavax.jcr.RepositoryException
Copyright © 2020 Magnolia International Ltd.. All rights reserved.