Package de.xima.fc.api.system
Class FSConnectionAPI
API class for manipulation of
FrontendServer entities and API-Klassse zur Manipulation von
FrontendServer-Entitäten und to invoke the appropriate connect / disconnect and connection testing operations- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod for disconnecting allFrontendServerconnections.connect(UserContext uc, FrontendServer frontendServer) Method for establishing the connection to aFrontendServer.disconnect(UserContext uc, FrontendServer frontendServer) Method for disconnecting the connection to aFrontendServer.getStatus(UserContext uc, long frontendserverId) Method for determining the status of aFrontendServers by his ID.Method for initializing all existingFrontendServerconnections.testConnection(UserContext uc, FrontendServer frontendServer) Method to test a connection to aFrontendServer.Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updateMethods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
FSConnectionAPI
public FSConnectionAPI()
-
-
Method Details
-
testConnection
Method to test a connection to aFrontendServer.- Parameters:
uc-UserContextthe user context in which the action is to be performed.frontendServer-FrontendServerwhose connection is to be tested.- Returns:
Booleanwhether the connection could be established successfully or not.- Since:
- 2.4.3
-
connect
Method for establishing the connection to aFrontendServer.- Parameters:
uc-UserContextthe user context in which the action is to be performed.frontendServer-FrontendServerto be connected.- Returns:
Booleanwhether the connection could be established successfully.- Since:
- 2.4.3
-
disconnect
Method for disconnecting the connection to aFrontendServer.- Parameters:
uc-UserContextthe user context in which the action is to be performed.frontendServer-FrontendServerto be separated.- Returns:
Booleanwhether the connection could be successfully disconnected.- Since:
- 2.4.3
-
getStatus
Method for determining the status of aFrontendServers by his ID.- Parameters:
uc-UserContextthe user context in which the action is to be performed.frontendserverId-Integerthe id ofFrontendServers.- Returns:
EConnectionStatusthe connection status ofFrontendServers.- Since:
- 2.4.3
-
initConnections
Method for initializing all existingFrontendServerconnections.- Parameters:
uc-UserContextthe user context in which the action is to be performed.- Returns:
Booleanwhether the initialization was successful.- Since:
- 2.4.3
-
closeAllConnections
Method for disconnecting allFrontendServerconnections.- Parameters:
uc-UserContextthe user context in which the action is to be performed.- Returns:
Booleanwhether the disconnecting was successful.- Since:
- 2.4.3
-