Class PostgreSqlInitializer
java.lang.Object
li.strolch.privilege.handler.SystemAction
li.strolch.persistence.postgresql.PostgreSqlInitializer
- All Implemented Interfaces:
li.strolch.privilege.model.Restrictable
- Direct Known Subclasses:
PostgreSqlSchemaInitializer
public abstract class PostgreSqlInitializer
extends li.strolch.privilege.handler.SystemAction
- Author:
- Robert von Burg <eitch@eitchnet.ch>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StrolchAgentprotected static final org.slf4j.Loggerprotected PostgreSqlPersistenceHandlerprotected ComponentConfigurationprotected RuntimeConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionPostgreSqlInitializer(StrolchAgent agent, PostgreSqlPersistenceHandler persistenceHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckNeedsDbInit(li.strolch.db.DbMigrationState migrationType) protected abstract li.strolch.privilege.model.Certificateprotected FilegetDataStoreFile(RuntimeConfiguration runtimeConfiguration, ComponentConfiguration realmConfiguration, String realmName) protected voidinitSchemaFromDataStore(li.strolch.db.DbMigrationState migrationType, String realmName) Methods inherited from class li.strolch.privilege.handler.SystemAction
execute, getPrivilegeName, getPrivilegeValue
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
agent
-
persistenceHandler
-
runtimeConfig
-
realmConfig
-
-
Constructor Details
-
PostgreSqlInitializer
-
-
Method Details
-
getCertificate
protected abstract li.strolch.privilege.model.Certificate getCertificate() -
initSchemaFromDataStore
protected void initSchemaFromDataStore(li.strolch.db.DbMigrationState migrationType, String realmName) -
checkNeedsDbInit
protected boolean checkNeedsDbInit(li.strolch.db.DbMigrationState migrationType) -
getDataStoreFile
protected File getDataStoreFile(RuntimeConfiguration runtimeConfiguration, ComponentConfiguration realmConfiguration, String realmName)
-