Package de.xima.fc.fs.server
Class FSSessionImpl
- java.lang.Object
-
- de.xima.fc.fs.server.FSSessionImpl
-
- All Implemented Interfaces:
de.root1.simon.SimonUnreferenced
,IFSSession
,Serializable
public class FSSessionImpl extends Object implements IFSSession, de.root1.simon.SimonUnreferenced
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSSessionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
callback(String callbackName, IFormDataAdapter saveFormData, Vorgang vorgang)
Deprecated.will be removedboolean
disconnect()
Method to perform a clean disconnectboolean
ping()
Method to ping the frontend serverFSConfigurableProperties
pullConfigurableProperties()
Pulls the configuration from the frontend server that can be edited via the backend UI.void
pushConfig(String name, byte[] data)
Method to push a configuration file to the frontend servervoid
pushConfigurableProperties(FSConfigurableProperties errorPagesConfig)
Pushes the given configuration to the frontend server.void
triggerPluginSync(PluginSyncData... syncData)
Method to trigger the sync of pluginsvoid
unreferenced()
-
-
-
Method Detail
-
pushConfig
public void pushConfig(String name, byte[] data) throws Exception
Description copied from interface:IFSSession
Method to push a configuration file to the frontend server- Specified by:
pushConfig
in interfaceIFSSession
- Parameters:
name
- The name of the configuration filedata
- Byte array with the data of the configuration file- Throws:
Exception
- on errors while pushing the configuration file
-
pullConfigurableProperties
public FSConfigurableProperties pullConfigurableProperties()
Description copied from interface:IFSSession
Pulls the configuration from the frontend server that can be edited via the backend UI.- Specified by:
pullConfigurableProperties
in interfaceIFSSession
- Returns:
- The frontend server configuration. Never null, but may be empty.
-
pushConfigurableProperties
public void pushConfigurableProperties(FSConfigurableProperties errorPagesConfig) throws org.apache.commons.configuration2.ex.ConfigurationException
Description copied from interface:IFSSession
Pushes the given configuration to the frontend server.- Specified by:
pushConfigurableProperties
in interfaceIFSSession
- Parameters:
errorPagesConfig
- The error pages config to push.- Throws:
org.apache.commons.configuration2.ex.ConfigurationException
-
callback
@Deprecated public void callback(String callbackName, IFormDataAdapter saveFormData, Vorgang vorgang) throws Exception
Deprecated.will be removedDescription copied from interface:IFSSession
Method to perform a callback on the frontend server- Specified by:
callback
in interfaceIFSSession
- Parameters:
callbackName
- Name of the callback handler to performsaveFormData
- The form data adapter with which the callback should be performedvorgang
- The form record to perform the callback with- Throws:
Exception
- on errors while performing the callback
-
disconnect
public boolean disconnect()
Description copied from interface:IFSSession
Method to perform a clean disconnect- Specified by:
disconnect
in interfaceIFSSession
- Returns:
true
if the disconnect was successful,false
otherwise
-
unreferenced
public void unreferenced()
- Specified by:
unreferenced
in interfacede.root1.simon.SimonUnreferenced
-
ping
public boolean ping()
Description copied from interface:IFSSession
Method to ping the frontend server- Specified by:
ping
in interfaceIFSSession
- Returns:
true
if successful,false
otherwise
-
triggerPluginSync
public void triggerPluginSync(PluginSyncData... syncData) throws Exception
Description copied from interface:IFSSession
Method to trigger the sync of plugins- Specified by:
triggerPluginSync
in interfaceIFSSession
- Parameters:
syncData
- PLugin sync data of the plugins to sync- Throws:
Exception
- on errors
-
-