org.jasig.portal.layout
Class LayoutMoveEvent
java.lang.Object
java.util.EventObject
org.jasig.portal.layout.LayoutEvent
org.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. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 eventnode
- an UserLayoutNodeDescription
of the node that was involvedoldParentNodeId
- a String
value of an old parent id
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