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 allFrontendServer
connections.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 aFrontendServer
s by his ID.Method for initializing all existingFrontendServer
connections.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, update
Methods 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
-UserContext
the user context in which the action is to be performed.frontendServer
-FrontendServer
whose connection is to be tested.- Returns:
Boolean
whether the connection could be established successfully or not.- Since:
- 2.4.3
-
connect
Method for establishing the connection to aFrontendServer
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.frontendServer
-FrontendServer
to be connected.- Returns:
Boolean
whether the connection could be established successfully.- Since:
- 2.4.3
-
disconnect
Method for disconnecting the connection to aFrontendServer
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.frontendServer
-FrontendServer
to be separated.- Returns:
Boolean
whether the connection could be successfully disconnected.- Since:
- 2.4.3
-
getStatus
Method for determining the status of aFrontendServer
s by his ID.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.frontendserverId
-Integer
the id ofFrontendServer
s.- Returns:
EConnectionStatus
the connection status ofFrontendServer
s.- Since:
- 2.4.3
-
initConnections
Method for initializing all existingFrontendServer
connections.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.- Returns:
Boolean
whether the initialization was successful.- Since:
- 2.4.3
-
closeAllConnections
Method for disconnecting allFrontendServer
connections.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.- Returns:
Boolean
whether the disconnecting was successful.- Since:
- 2.4.3
-