|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.services.impl.DefaultDialogDefinitionService
A default implementation of DialogDefinitionService
| Field Summary |
| Fields inherited from interface com.sdm.quasar.client.core.dialog.services.DialogDefinitionService |
ROOT_DIALOG |
| Constructor Summary | |
DefaultDialogDefinitionService()
Creates a new DefaultDialogDefinitionService. |
|
DefaultDialogDefinitionService(DialogDefinitionReader dialogDefinitionReader)
Creates a new DefaultDialogDefinitionService. |
|
DefaultDialogDefinitionService(java.lang.String rootDialogId)
Creates a new DefaultDialogDefinitionService. |
|
DefaultDialogDefinitionService(java.lang.String rootDialogId,
DialogDefinitionReader dialogDefinitionReader)
Creates a new DefaultDialogDefinitionService. |
|
| Method Summary | |
void |
addDialogDefinition(java.lang.String dialogId,
DialogConfiguration dialogConfiguration,
DialogProperties dialogProperties)
Adds a dialog defintion to this manager. |
void |
addDialogDefinitionsWithReader(DialogDefinitionReader dialogDefinitionReader)
Adds dialog definitions using the DialogDefinitionReader to this DialogHierarchyService.
|
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. |
DialogConfiguration |
getDialogConfiguration(java.lang.String dialogId)
Returns the dialog configuration for the given dialog id |
DialogProperties |
getDialogProperties(java.lang.String dialogId)
Returns the dialog properties for the given dialog id |
java.lang.String |
getRootDialogId()
Returns the dialog id for the root dialog. |
boolean |
hasDialogDefinition(java.lang.String dialogId)
Returns true if a dialog was defined for the given dialog id. |
protected void |
removeDialogDefinition(java.lang.String dialogId)
Removes a previously added dialog definition. |
void |
setRootDialogId(java.lang.String dialogId)
Sets the dialog id for the root dialog. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultDialogDefinitionService()
DefaultDialogDefinitionService.
public DefaultDialogDefinitionService(java.lang.String rootDialogId)
DefaultDialogDefinitionService.
rootDialogId - the root dialog id
public DefaultDialogDefinitionService(DialogDefinitionReader dialogDefinitionReader)
throws java.io.IOException
DefaultDialogDefinitionService.
dialogDefinitionReader - a DialogDefinitionReader used to initially read
dialog definitions
public DefaultDialogDefinitionService(java.lang.String rootDialogId,
DialogDefinitionReader dialogDefinitionReader)
throws java.io.IOException
DefaultDialogDefinitionService.
rootDialogId - the root dialog iddialogDefinitionReader - a DialogDefinitionReader used to initially read
dialog definitions| Method Detail |
public java.lang.String getRootDialogId()
DialogDefinitionServiceDialogDefinitionService.ROOT_DIALOG.
getRootDialogId in interface DialogDefinitionServiceDialogDefinitionService.getRootDialogId()public void setRootDialogId(java.lang.String dialogId)
DialogDefinitionService
setRootDialogId in interface DialogDefinitionServicedialogId - the dialog id for the root dialog to setDialogDefinitionService.setRootDialogId(java.lang.String)
public void addDialogDefinition(java.lang.String dialogId,
DialogConfiguration dialogConfiguration,
DialogProperties dialogProperties)
DialogDefinitionService
addDialogDefinition in interface DialogDefinitionServicedialogId - the dialog id for the dialog to define; must be not null
and unique under the dialog definitions already madedialogConfiguration - a DialogConfiguration, that configures a newly
created dialog instance (not null)dialogProperties - a DialogProperties, that delivers static properties
for the dialog defined (not null)DialogDefinitionService.addDialogDefinition(java.lang.String, com.sdm.quasar.client.core.dialog.services.DialogConfiguration, com.sdm.quasar.client.core.dialog.services.DialogProperties)
public void addDialogDefinitionsWithReader(DialogDefinitionReader dialogDefinitionReader)
throws java.io.IOException
DialogDefinitionServiceDialogDefinitionReader to this DialogHierarchyService.
addDialogDefinitionsWithReader in interface DialogDefinitionServicedialogDefinitionReader - the DialogDefinitionReader to be used for reading the dialog
definitions
java.io.IOException - if an exception occurs while reading the definitions.DialogDefinitionService.addDialogDefinitionsWithReader(com.sdm.quasar.client.core.dialog.services.DialogDefinitionReader)protected void removeDialogDefinition(java.lang.String dialogId)
dialogId - the dialog id to remove definition ofpublic DialogConfiguration getDialogConfiguration(java.lang.String dialogId)
DialogDefinitionService
getDialogConfiguration in interface DialogDefinitionServicedialogId - the dialog id
DialogDefinitionService.getDialogConfiguration(java.lang.String)public DialogProperties getDialogProperties(java.lang.String dialogId)
DialogDefinitionService
getDialogProperties in interface DialogDefinitionServicedialogId - the dialog id
DialogDefinitionService.getDialogProperties(java.lang.String)public boolean hasDialogDefinition(java.lang.String dialogId)
DialogDefinitionServicetrue if a dialog was defined for the given dialog id.
hasDialogDefinition in interface DialogDefinitionServicedialogId - the dialog id
true iff a dialog definition is availableDialogDefinitionService.hasDialogDefinition(java.lang.String)
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
SystemInfoProviderSystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
collectSystemInfo in interface SystemInfoProviderroot - the SystemInfoNode to add information to (guaranteed to be not null)options - contains additional options, that might influence the amount of
information added to the tree (guaranteed to be not null)SystemInfoProvider.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||