org.jasig.portal.layout
Class LayoutMoveEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jasig.portal.layout.LayoutEvent
          extended by org.jasig.portal.layout.LayoutMoveEvent
All Implemented Interfaces:
Serializable

public class LayoutMoveEvent
extends LayoutEvent

A layout event involving old parent reference. Used to related "move" and "delete" node events.

Version:
1.0
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com"
See Also:
Serialized Form

Field Summary
protected  IUserLayoutNodeDescription oldParentNode
           
 
Fields inherited from class org.jasig.portal.layout.LayoutEvent
node, parentNode
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LayoutMoveEvent(Object source, IUserLayoutNodeDescription parentNode, IUserLayoutNodeDescription node, IUserLayoutNodeDescription oldParentNode)
          Construct a LayoutMoveEvent from a given source, node, and node's old parent.
 
Method Summary
 IUserLayoutNodeDescription getOldParentNode()
          Obtain the OLD parent node.
 String getOldParentNodeId()
          Obtain an id of an OLD parent node.
 
Methods inherited from class org.jasig.portal.layout.LayoutEvent
getNodeDescription, getParentNode
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

oldParentNode

protected final IUserLayoutNodeDescription oldParentNode
Constructor Detail

LayoutMoveEvent

public LayoutMoveEvent(Object source,
                       IUserLayoutNodeDescription parentNode,
                       IUserLayoutNodeDescription node,
                       IUserLayoutNodeDescription oldParentNode)
Construct a LayoutMoveEvent from a given source, node, and node's old parent.

Parameters:
source - an Object that generated the event
node - an UserLayoutNodeDescription of the node that was involved
oldParentNodeId - a String value of an old parent id
Method Detail

getOldParentNode

public IUserLayoutNodeDescription getOldParentNode()
Obtain the OLD parent node. This is the node to which a given node used to be attached.

Returns:
the old parent node

getOldParentNodeId

public String getOldParentNodeId()
Obtain an id of an OLD parent node. This is the node to which a given node used to be attached.

Returns:
a String node id


Copyright © 2010 Jasig. All Rights Reserved.