JcrDropConstraint
instead.@Deprecated public class JcrDropConstraint extends AlwaysTrueDropConstraint implements DropConstraint
Constructor and Description |
---|
JcrDropConstraint()
Deprecated.
since 5.5.5, use
JcrDropConstraint(ContentConnector) instead. |
JcrDropConstraint(ContentConnector contentConnector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowedAfter(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem)
Deprecated.
|
boolean |
allowedAsChild(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem)
Deprecated.
|
protected boolean |
allowedAsChild(javax.jcr.Item source,
javax.jcr.Item target)
Deprecated.
|
boolean |
allowedBefore(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem)
Deprecated.
|
protected boolean |
allowedSibling(javax.jcr.Item source,
javax.jcr.Item target)
Deprecated.
|
boolean |
allowedToMove(com.vaadin.v7.data.Item sourceItem)
Deprecated.
|
protected boolean |
basicCheck(javax.jcr.Item source,
javax.jcr.Item target)
Deprecated.
|
protected boolean |
isAncestorOf(javax.jcr.Item ancestor,
javax.jcr.Item node)
Deprecated.
|
protected boolean |
isRoot(javax.jcr.Item item)
Deprecated.
|
isAllowedAt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAllowedAt
@Inject public JcrDropConstraint(ContentConnector contentConnector)
@Deprecated public JcrDropConstraint()
JcrDropConstraint(ContentConnector)
instead.public boolean allowedAsChild(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem)
allowedAsChild
in interface DropConstraint
allowedAsChild
in class AlwaysTrueDropConstraint
sourceItem
- Moved Item.targetItem
- Target Item .protected boolean allowedAsChild(javax.jcr.Item source, javax.jcr.Item target)
protected boolean basicCheck(javax.jcr.Item source, javax.jcr.Item target)
protected boolean isAncestorOf(javax.jcr.Item ancestor, javax.jcr.Item node)
protected boolean isRoot(javax.jcr.Item item)
public boolean allowedBefore(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem)
allowedBefore
in interface DropConstraint
allowedBefore
in class AlwaysTrueDropConstraint
sourceItem
- Moved Item.targetItem
- Target Item .protected boolean allowedSibling(javax.jcr.Item source, javax.jcr.Item target)
public boolean allowedAfter(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem)
allowedAfter
in interface DropConstraint
allowedAfter
in class AlwaysTrueDropConstraint
sourceItem
- Moved Item.targetItem
- Target Item .public boolean allowedToMove(com.vaadin.v7.data.Item sourceItem)
allowedToMove
in interface DropConstraint
allowedToMove
in class AlwaysTrueDropConstraint
Copyright © 2019 Magnolia International Ltd.. All rights reserved.