@groovy.util.logging.Slf4j @groovy.transform.ToString(includePackage: false, includeNames: true) class InitialData extends java.lang.Object
A dummy domain class to add initial data load records to domains that are not in this class. This domain class has no persistence itself.
Type | Name and description |
---|---|
private static java.lang.Object |
initialDataLoadBefore Forces MES Roles to be loaded before User, so the admin user will have these roles by default. |
private static java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
initialDataRecords A list of the records created by the initial data load. |
Constructor and description |
---|
InitialData
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.Object |
createRoles() Creates the roles needed for this core module. |
|
static java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
initialDataLoad() Loads initial data for domains provided by plugins. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Forces MES Roles to be loaded before User, so the admin user will have these roles by default.
A list of the records created by the initial data load. Used only for test cleanup by org.simplemes.eframe.test.BaseSpecification.
Groovy Documentation