uPortal 2.4.1
API Documentation

org.jasig.portal.layout
Class LayoutMoveEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.jasig.portal.layout.LayoutEvent
          extended byorg.jasig.portal.layout.LayoutMoveEvent
All Implemented Interfaces:
java.io.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
See Also:
Serialized Form

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

Constructor Detail

LayoutMoveEvent

public LayoutMoveEvent(java.lang.Object source,
                       IUserLayoutNodeDescription node,
                       java.lang.String oldParentNodeId)
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

getOldParentNodeId

public java.lang.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

uPortal 2.4.1
API Documentation