Package com.portal.app.comp
Interface SharedDataManager
- All Known Implementing Classes:
PAccountCreationWizard
,PPurchaseOfferingWizard
,PValidatingWizard
public interface SharedDataManager
Specification for a manager of (subclasses of)
SharedData
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSharedDataListener
(String propertyName, PropertyChangeListener listener) Adds a shared data listener (a PropertyChangeListener) for a specific property.void
addSharedDataVetoableListener
(String propertyName, VetoableChangeListener listener) Allows a listener to register for vetoable notification of bound property changes.void
fireSharedDataChangedNotification
(String propertyName, Object oldValue, Object newValue) Reports a bound property update to any registered listeners.void
fireSharedDataVetoableNotification
(String propertyName, Object oldValue, Object newValue) Provides notification that a bound property is about to change, and gives the listeners an opportunity to reject the change.Returns the shared data.boolean
hasListeners
(String propertyName) Checks if there are any listeners for a specific property.boolean
hasVetoListeners
(String propertyName) Determines if there are veto listeners for the given propertyvoid
removeSharedDataListener
(String propertyName, PropertyChangeListener listener) Removes a shared data listener (a PropertyChangeListener) for a specific property.void
removeSharedDataVetoableListener
(String propertyName, VetoableChangeListener listener) Allows a listener to unregister for vetoable notification of bound property changes.
-
Method Details
-
hasVetoListeners
Determines if there are veto listeners for the given property- Parameters:
propertyName
- The property name- Returns:
- true if there are listeners; false otherwise
-
hasListeners
Checks if there are any listeners for a specific property.- Parameters:
propertyName
- the property name.- Returns:
- true if there are ore or more listeners for the given property