|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentType
Interface for any component that wishes to register a new componenttype in the GX WebManager framework.
| Method Summary | |
|---|---|
boolean |
checkComponentDefinition(ComponentDefinition componentDefinition)
Check whether a componentDefinition is valid for this componentType. |
Component |
getComponent(java.lang.String id)
Get a registered component by id. |
int |
getComponentCount()
Get the number of registered components for this componentType. |
java.lang.String |
getComponentInterface()
Return the componentinterface this componenttype provides. |
Component[] |
getComponents()
Get an array of registered component for this componentType. |
java.lang.String |
getComponentTypeInterface()
Returns the componenttypeinterface this componenttype publishes. |
boolean |
installComponent(ComponentDefinition componentDefinition)
Invoked when a component of this component type is installed. |
boolean |
purgeComponent(ComponentDefinition componentDefinition)
Deletes the content created by instances of the component type. |
boolean |
startComponent(Component component)
Starts an installed component. |
boolean |
stopComponent(Component component)
Stops an installed component. |
boolean |
uninstallComponent(ComponentDefinition componentDefinition)
Uninstalls a component. |
boolean |
updateComponent(ComponentDefinition componentDefinition)
Updates a component. |
| Method Detail |
|---|
java.lang.String getComponentTypeInterface()
java.lang.String getComponentInterface()
boolean checkComponentDefinition(ComponentDefinition componentDefinition)
componentDefinition - definition of a component that is validated
Component getComponent(java.lang.String id)
id - Unique identifier representing the component
Component[] getComponents()
int getComponentCount()
boolean installComponent(ComponentDefinition componentDefinition)
componentDefinition - Definition of the component that is to be installed
boolean updateComponent(ComponentDefinition componentDefinition)
componentDefinition - Definition of the component that is to be installed
boolean purgeComponent(ComponentDefinition componentDefinition)
componentDefinition - Definition of the component that is to be purged
boolean uninstallComponent(ComponentDefinition componentDefinition)
componentDefinition - Definition of the component that is to be uninstalled
boolean startComponent(Component component)
component - Component that should be started
boolean stopComponent(Component component)
component - Component that should be started
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||