Class MultitenancyPlugin

  • All Implemented Interfaces:
    step.core.plugins.ControllerPlugin, step.core.plugins.OptionalPlugin, step.framework.server.ServerPlugin<step.core.GlobalContext>

    public class MultitenancyPlugin
    extends step.core.plugins.AbstractControllerPlugin
    • Constructor Detail

      • MultitenancyPlugin

        public MultitenancyPlugin()
    • Method Detail

      • canBeDisabled

        public boolean canBeDisabled()
        Specified by:
        canBeDisabled in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        canBeDisabled in class step.core.plugins.AbstractControllerPlugin
      • serverStart

        public void serverStart​(step.core.GlobalContext context)
                         throws Exception
        Specified by:
        serverStart in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        serverStart in class step.core.plugins.AbstractControllerPlugin
        Throws:
        Exception
      • migrateData

        public void migrateData​(step.core.GlobalContext context)
                         throws Exception
        Specified by:
        migrateData in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        migrateData in class step.core.plugins.AbstractControllerPlugin
        Throws:
        Exception
      • initializeData

        public void initializeData​(step.core.GlobalContext context)
                            throws Exception
        Specified by:
        initializeData in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        initializeData in class step.core.plugins.AbstractControllerPlugin
        Throws:
        Exception
      • afterInitializeData

        public void afterInitializeData​(step.core.GlobalContext context)
                                 throws Exception
        Specified by:
        afterInitializeData in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        afterInitializeData in class step.core.plugins.AbstractControllerPlugin
        Throws:
        Exception
      • serverStop

        public void serverStop​(step.core.GlobalContext context)
        Specified by:
        serverStop in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        serverStop in class step.core.plugins.AbstractControllerPlugin
      • assignScreenInputsToCommonProject

        protected void assignScreenInputsToCommonProject​(step.core.GlobalContext context)
      • createProject

        protected void createProject​(String name,
                                     String owner,
                                     boolean global)
      • getWebPlugin

        public step.core.plugins.WebPlugin getWebPlugin()
        Specified by:
        getWebPlugin in interface step.core.plugins.ControllerPlugin
        Overrides:
        getWebPlugin in class step.core.plugins.AbstractControllerPlugin