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 voidcallback(String callbackName, IFormDataAdapter saveFormData, Vorgang vorgang)Deprecated.will be removedbooleandisconnect()Method to perform a clean disconnectbooleanping()Method to ping the frontend serverFSConfigurablePropertiespullConfigurableProperties()Pulls the configuration from the frontend server that can be edited via the backend UI.voidpushConfig(String name, byte[] data)Method to push a configuration file to the frontend servervoidpushConfigurableProperties(FSConfigurableProperties errorPagesConfig)Pushes the given configuration to the frontend server.voidtriggerPluginSync(PluginSyncData... syncData)Method to trigger the sync of pluginsvoidunreferenced()
-
-
-
Method Detail
-
pushConfig
public void pushConfig(String name, byte[] data) throws Exception
Description copied from interface:IFSSessionMethod to push a configuration file to the frontend server- Specified by:
pushConfigin 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:IFSSessionPulls the configuration from the frontend server that can be edited via the backend UI.- Specified by:
pullConfigurablePropertiesin 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:IFSSessionPushes the given configuration to the frontend server.- Specified by:
pushConfigurablePropertiesin 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:IFSSessionMethod to perform a callback on the frontend server- Specified by:
callbackin 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:IFSSessionMethod to perform a clean disconnect- Specified by:
disconnectin interfaceIFSSession- Returns:
trueif the disconnect was successful,falseotherwise
-
unreferenced
public void unreferenced()
- Specified by:
unreferencedin interfacede.root1.simon.SimonUnreferenced
-
ping
public boolean ping()
Description copied from interface:IFSSessionMethod to ping the frontend server- Specified by:
pingin interfaceIFSSession- Returns:
trueif successful,falseotherwise
-
triggerPluginSync
public void triggerPluginSync(PluginSyncData... syncData) throws Exception
Description copied from interface:IFSSessionMethod to trigger the sync of plugins- Specified by:
triggerPluginSyncin interfaceIFSSession- Parameters:
syncData- PLugin sync data of the plugins to sync- Throws:
Exception- on errors
-
-