Interface ConfigurationInterface
- 
- All Superinterfaces:
- DBInterface
 
 public interface ConfigurationInterface extends DBInterface 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.localdb.DBInterfaceDBInterface.Transaction
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateFile(java.lang.String filePath, byte[] fileData)Creates a file at ${HOME} + filePath.voidflushAuditCache(int projectId)Flushes the audit configuration cache.voidflushAuthCache()Flushes the authentication configuration cache.voidflushDefaultDatasourceCache(int projectId)Removes the given project from the default datasource cache.voidnotifyDatasourceAdded(int id)Notifies the cluster that a datasource has been addedvoidnotifyDatasourceRemoved(int id)Notifies the cluster that a datasource has been removedvoidnotifyDatasourceUpdated(int id)Notifies the cluster that a datasource has been updatedvoidremoveDirRecursive(java.lang.String dirPath)Removes an entire directory, recursively.booleanremoveFile(java.lang.String filePath)Attempts to remove file at ${HOME} + filePath.- 
Methods inherited from interface com.inductiveautomation.ignition.gateway.localdb.DBInterfacegetConnection, getSeq, getSeq, runPrepQuery, runPrepUpdate, runQuery, runScalarQuery, runTransaction, runUpdateQuery
 
- 
 
- 
- 
- 
Method Detail- 
createFilevoid createFile(java.lang.String filePath, byte[] fileData) throws java.io.IOExceptionCreates a file at ${HOME} + filePath. If the file already exists, it will be overwritten- Throws:
- java.io.IOException
 
 - 
removeFileboolean removeFile(java.lang.String filePath) Attempts to remove file at ${HOME} + filePath. Returns true of the delete succeeded.
 - 
removeDirRecursivevoid removeDirRecursive(java.lang.String dirPath) Removes an entire directory, recursively.
 - 
flushDefaultDatasourceCachevoid flushDefaultDatasourceCache(int projectId) Removes the given project from the default datasource cache. Use when the default datasource may have changed for a project.
 - 
notifyDatasourceAddedvoid notifyDatasourceAdded(int id) Notifies the cluster that a datasource has been added
 - 
notifyDatasourceUpdatedvoid notifyDatasourceUpdated(int id) Notifies the cluster that a datasource has been updated
 - 
notifyDatasourceRemovedvoid notifyDatasourceRemoved(int id) Notifies the cluster that a datasource has been removed
 - 
flushAuditCachevoid flushAuditCache(int projectId) Flushes the audit configuration cache. Use when audit configuraton may have changed.
 - 
flushAuthCachevoid flushAuthCache() Flushes the authentication configuration cache. Use when authentication configuration may have changed.
 
- 
 
-