com.sdm.quasar.client.core.dialog.services.impl
Class DefaultDialogPropertyService

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.services.impl.DefaultDialogPropertyService
All Implemented Interfaces:
DialogPropertyService, Service

public class DefaultDialogPropertyService
extends java.lang.Object
implements DialogPropertyService

Version:
1.$Revision$
Author:
Thomas Wolf

Constructor Summary
DefaultDialogPropertyService(ServiceProvider serviceProvider)
          Creates a new DefaultDialogPropertyService.
 
Method Summary
 java.lang.Object getProperty(java.lang.String dialogId, java.lang.Class propertyKeyClass)
          Returns the Object implementing a given interface.
 java.lang.Object getProperty(java.lang.String dialogId, java.lang.String propertyKey)
          Returns the information that was put into the configuration for the dialog with the given dialogId identified by the key with the name propertyKey.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDialogPropertyService

public DefaultDialogPropertyService(ServiceProvider serviceProvider)
Creates a new DefaultDialogPropertyService.

Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String dialogId,
                                    java.lang.String propertyKey)
Description copied from interface: DialogPropertyService
Returns the information that was put into the configuration for the dialog with the given dialogId identified by the key with the name propertyKey.

Specified by:
getProperty in interface DialogPropertyService
Parameters:
dialogId - the dialog's id
propertyKey - the name of the property entry
Returns:
returns the property value or null if none was found
See Also:
DialogPropertyService.getProperty(java.lang.String, java.lang.String)

getProperty

public java.lang.Object getProperty(java.lang.String dialogId,
                                    java.lang.Class propertyKeyClass)
Description copied from interface: DialogPropertyService
Returns the Object implementing a given interface. This can be used as a global registry for implementations that are not Services.

Specified by:
getProperty in interface DialogPropertyService
Returns:
the registered implementation corresponding to the interface or null if there is no implementation registered for that interface
See Also:
DialogPropertyService.getProperty(java.lang.String, java.lang.Class)