com.flexive.shared.interfaces
Interface DivisionConfigurationEngine

All Superinterfaces:
GenericConfigurationEngine
All Known Subinterfaces:
DivisionConfigurationEngineLocal

public interface DivisionConfigurationEngine
extends GenericConfigurationEngine

Division configuration interface

Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Method Summary
 java.lang.String getDatabaseInfo()
          Get information about the used database (name and version)
 void installBinary(long binaryId, java.lang.String resourceName)
          Install a binary file contained in fxresources/binaries in the archive as a binary with the requested id.
 void patchDatabase()
          Perform a database patch if needed
 
Methods inherited from interface com.flexive.shared.interfaces.GenericConfigurationEngine
get, get, get, getAll, getKeys, put, put, remove, remove, removeAll
 

Method Detail

installBinary

void installBinary(long binaryId,
                   java.lang.String resourceName)
                   throws FxApplicationException
Install a binary file contained in fxresources/binaries in the archive as a binary with the requested id. If an entry with the given id already exists it will be overwritten. This functionality is intended to be used by runone or startup scripts!

Parameters:
binaryId - requested binary id
resourceName - name of the resource file relative to fxresources/binaries
Throws:
FxApplicationException - on errors

patchDatabase

void patchDatabase()
                   throws FxApplicationException
Perform a database patch if needed

Throws:
FxApplicationException - on errors

getDatabaseInfo

java.lang.String getDatabaseInfo()
Get information about the used database (name and version)

Returns:
information about the used database (name and version)