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:
- 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
oldParentNode
protected final IUserLayoutNodeDescription oldParentNode
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 eventnode - an UserLayoutNodeDescription of the node that was involvedoldParentNodeId - a String value of an old parent id
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.