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 java.lang.StringUNASSIGNED_ENTITY_COUNT_CACHE
-
Constructor Summary
Constructors Constructor Description MultitenancyPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterInitializeData(step.core.GlobalContext context)protected voidassignScreenInputsToCommonProject(step.core.GlobalContext context)booleancanBeDisabled()protected voidcreateProject(java.lang.String name, java.lang.String owner, boolean global)step.core.plugins.WebPlugingetWebPlugin()voidinitializeData(step.core.GlobalContext context)voidmigrateData(step.core.GlobalContext context)voidserverStart(step.core.GlobalContext context)voidserverStop(step.core.GlobalContext context)
-
-
-
Field Detail
-
UNASSIGNED_ENTITY_COUNT_CACHE
public static final java.lang.String UNASSIGNED_ENTITY_COUNT_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
canBeDisabled
public boolean canBeDisabled()
- Specified by:
canBeDisabledin interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>- Overrides:
canBeDisabledin classstep.core.plugins.AbstractControllerPlugin
-
serverStart
public void serverStart(step.core.GlobalContext context) throws java.lang.Exception- Specified by:
serverStartin interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>- Overrides:
serverStartin classstep.core.plugins.AbstractControllerPlugin- Throws:
java.lang.Exception
-
migrateData
public void migrateData(step.core.GlobalContext context) throws java.lang.Exception- Specified by:
migrateDatain interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>- Overrides:
migrateDatain classstep.core.plugins.AbstractControllerPlugin- Throws:
java.lang.Exception
-
initializeData
public void initializeData(step.core.GlobalContext context) throws java.lang.Exception- Specified by:
initializeDatain interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>- Overrides:
initializeDatain classstep.core.plugins.AbstractControllerPlugin- Throws:
java.lang.Exception
-
afterInitializeData
public void afterInitializeData(step.core.GlobalContext context) throws java.lang.Exception- Specified by:
afterInitializeDatain interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>- Overrides:
afterInitializeDatain classstep.core.plugins.AbstractControllerPlugin- Throws:
java.lang.Exception
-
serverStop
public void serverStop(step.core.GlobalContext context)
- Specified by:
serverStopin interfacestep.framework.server.ServerPlugin<step.core.GlobalContext>- Overrides:
serverStopin classstep.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:
getWebPluginin interfacestep.core.plugins.ControllerPlugin- Overrides:
getWebPluginin classstep.core.plugins.AbstractControllerPlugin
-
-