Package de.xima.fc.com.interfaces
Interface IFSSession
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
FSSessionImpl
public interface IFSSession extends Serializable
Interface of the client session on the frontend server after authentication- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
callback(String callbackHandlerName, IFormDataAdapter formData, Vorgang process)
Method to perform a callback on the frontend serverboolean
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 configurableProperties)
Pushes the given configuration to the frontend server.void
triggerPluginSync(PluginSyncData... syncData)
Method to trigger the sync of plugins
-
-
-
Method Detail
-
callback
void callback(String callbackHandlerName, IFormDataAdapter formData, Vorgang process) throws Exception
Method to perform a callback on the frontend server- Parameters:
callbackHandlerName
- Name of the callback handler to performformData
- The form data adapter with which the callback should be performedprocess
- The form record to perform the callback with- Throws:
Exception
- on errors while performing the callback
-
pushConfig
void pushConfig(String name, byte[] data) throws Exception
Method to push a configuration file to the frontend server- 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
FSConfigurableProperties pullConfigurableProperties() throws Exception
Pulls the configuration from the frontend server that can be edited via the backend UI.- Returns:
- The frontend server configuration. Never null, but may be empty.
- Throws:
Exception
- When the pull fails.
-
pushConfigurableProperties
void pushConfigurableProperties(FSConfigurableProperties configurableProperties) throws Exception
Pushes the given configuration to the frontend server.- Parameters:
configurableProperties
- The error pages config to push.- Throws:
Exception
- When the push fails.
-
triggerPluginSync
void triggerPluginSync(PluginSyncData... syncData) throws Exception
Method to trigger the sync of plugins- Parameters:
syncData
- PLugin sync data of the plugins to sync- Throws:
Exception
- on errors
-
disconnect
boolean disconnect()
Method to perform a clean disconnect- Returns:
true
if the disconnect was successful,false
otherwise
-
ping
boolean ping()
Method to ping the frontend server- Returns:
true
if successful,false
otherwise
-
-