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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterInitializeData​(step.core.GlobalContext context)  
      protected void assignScreenInputsToCommonProject​(step.core.GlobalContext context)  
      boolean canBeDisabled()  
      protected void createProject​(java.lang.String name, java.lang.String owner, boolean global)  
      step.core.plugins.WebPlugin getWebPlugin()  
      void initializeData​(step.core.GlobalContext context)  
      void migrateData​(step.core.GlobalContext context)  
      void serverStart​(step.core.GlobalContext context)  
      void serverStop​(step.core.GlobalContext context)  
      • Methods inherited from class step.core.plugins.AbstractControllerPlugin

        getExecutionEnginePlugin
      • Methods inherited from class step.core.plugins.AbstractPlugin

        toString, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • UNASSIGNED_ENTITY_COUNT_CACHE

        public static final java.lang.String UNASSIGNED_ENTITY_COUNT_CACHE
        See Also:
        Constant Field Values
    • 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 java.lang.Exception
        Specified by:
        serverStart in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        serverStart in class step.core.plugins.AbstractControllerPlugin
        Throws:
        java.lang.Exception
      • migrateData

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

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

        public void afterInitializeData​(step.core.GlobalContext context)
                                 throws java.lang.Exception
        Specified by:
        afterInitializeData in interface step.framework.server.ServerPlugin<step.core.GlobalContext>
        Overrides:
        afterInitializeData in class step.core.plugins.AbstractControllerPlugin
        Throws:
        java.lang.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​(java.lang.String name,
                                     java.lang.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