Class DojoComponentTypeImpl

    • Constructor Detail

      • DojoComponentTypeImpl

        public DojoComponentTypeImpl()
    • Method Detail

      • installComponent

        public boolean installComponent​(ComponentDefinition componentDefinition)
        Description copied from interface: ComponentType
        Invoked when a component of this component type is installed. The component type implements installation logic that is applicable for all components of this type and then invokes onInstall to allow inherited component types to implement additional logic. The onInstall callback method is only invoked if the generic component installation logic was successful.
        Specified by:
        installComponent in interface ComponentType
        Overrides:
        installComponent in class ComponentTypeBase
        Parameters:
        componentDefinition - Definition of the component that is to be installed
        Returns:
        true if the component was successfully installed
      • purgeComponent

        public boolean purgeComponent​(ComponentDefinition componentDefinition)
        Description copied from interface: ComponentType
        Deletes the content created by instances of the component type.
        Specified by:
        purgeComponent in interface ComponentType
        Overrides:
        purgeComponent in class ComponentTypeBase
        Parameters:
        componentDefinition - Definition of the component that is to be purged
        Returns:
        true if the component was successfully purged
      • getComponentInterface

        public String getComponentInterface()
        Description copied from interface: ComponentType
        Return the component interface this componentType provides.
        Specified by:
        getComponentInterface in interface ComponentType
        Returns:
        identifier for provided type
      • getComponentTypeInterface

        public String getComponentTypeInterface()
        Description copied from interface: ComponentType
        Returns the componentType interface this componentType publishes.
        Specified by:
        getComponentTypeInterface in interface ComponentType
        Returns:
        identifier for provided type