Package step.controller.multitenancy
Class MultitenancyPlugin
- java.lang.Object
-
- step.core.plugins.AbstractPlugin
-
- step.core.plugins.AbstractControllerPlugin
-
- step.controller.multitenancy.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNASSIGNED_ENTITY_COUNT_CACHE
-
Constructor Summary
Constructors Constructor Description MultitenancyPlugin()
-
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(String name, 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)
-
-
-
Field Detail
-
UNASSIGNED_ENTITY_COUNT_CACHE
public static final String UNASSIGNED_ENTITY_COUNT_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
canBeDisabled
public boolean canBeDisabled()
- Specified by:
canBeDisabled
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
canBeDisabled
in classstep.core.plugins.AbstractControllerPlugin
-
serverStart
public void serverStart(step.core.GlobalContext context) throws Exception
- Specified by:
serverStart
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
serverStart
in classstep.core.plugins.AbstractControllerPlugin
- Throws:
Exception
-
migrateData
public void migrateData(step.core.GlobalContext context) throws Exception
- Specified by:
migrateData
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
migrateData
in classstep.core.plugins.AbstractControllerPlugin
- Throws:
Exception
-
initializeData
public void initializeData(step.core.GlobalContext context) throws Exception
- Specified by:
initializeData
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
initializeData
in classstep.core.plugins.AbstractControllerPlugin
- Throws:
Exception
-
afterInitializeData
public void afterInitializeData(step.core.GlobalContext context) throws Exception
- Specified by:
afterInitializeData
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
afterInitializeData
in classstep.core.plugins.AbstractControllerPlugin
- Throws:
Exception
-
serverStop
public void serverStop(step.core.GlobalContext context)
- Specified by:
serverStop
in interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>
- Overrides:
serverStop
in classstep.core.plugins.AbstractControllerPlugin
-
assignScreenInputsToCommonProject
protected void assignScreenInputsToCommonProject(step.core.GlobalContext context)
-
getWebPlugin
public step.core.plugins.WebPlugin getWebPlugin()
- Specified by:
getWebPlugin
in interfacestep.core.plugins.ControllerPlugin
- Overrides:
getWebPlugin
in classstep.core.plugins.AbstractControllerPlugin
-
-