info.magnolia.security.app.container
Class SecurityDropHandler

java.lang.Object
  extended by info.magnolia.ui.workbench.tree.drop.TreeViewDropHandler
      extended by info.magnolia.security.app.container.SecurityDropHandler
All Implemented Interfaces:
com.vaadin.event.dd.DropHandler, info.magnolia.ui.workbench.tree.MoveHandler, Serializable

public class SecurityDropHandler
extends info.magnolia.ui.workbench.tree.drop.TreeViewDropHandler

Custom drop hander ensuring update of acls for security principals upon moving their location.

See Also:
Serialized Form

Constructor Summary
SecurityDropHandler()
           
SecurityDropHandler(com.vaadin.ui.TreeTable tree, info.magnolia.ui.workbench.tree.drop.DropConstraint constraint)
           
 
Method Summary
 boolean moveItem(com.vaadin.data.Item source, com.vaadin.data.Item target, info.magnolia.ui.workbench.tree.MoveLocation location)
           
 
Methods inherited from class info.magnolia.ui.workbench.tree.drop.TreeViewDropHandler
asDropHandler, basicMoveCheck, drop, getAcceptCriterion, moveNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityDropHandler

public SecurityDropHandler()

SecurityDropHandler

public SecurityDropHandler(com.vaadin.ui.TreeTable tree,
                           info.magnolia.ui.workbench.tree.drop.DropConstraint constraint)
Method Detail

moveItem

public boolean moveItem(com.vaadin.data.Item source,
                        com.vaadin.data.Item target,
                        info.magnolia.ui.workbench.tree.MoveLocation location)
Specified by:
moveItem in interface info.magnolia.ui.workbench.tree.MoveHandler
Overrides:
moveItem in class info.magnolia.ui.workbench.tree.drop.TreeViewDropHandler


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.