Interface WebConnectionsInterface
-
- All Known Implementing Classes:
WebConnectionService
public interface WebConnectionsInterface
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createWebConnection(ConnectionDetail connection)
create a new connectionvoid
deleteWebConnection(String connectionId, String userId)
delete the connection corresponding to connectionIdstatic WebConnectionsInterface
get()
ConnectionDetail
getWebConnection(String componentId, String userId)
get the connection corresponding to componentId and userIdConnectionDetail
getWebConnectionById(String connectionId, String userId)
get the connection corresponding to connectionIdList<ConnectionDetail>
listWebConnectionsOfUser(String userId)
get all connections for the user corresponding to userIdvoid
updateWebConnection(String connectionId, String login, String password, String userId)
update the connection corresponding to connectionId, with login and password
-
-
-
Method Detail
-
get
static WebConnectionsInterface get()
-
getWebConnection
ConnectionDetail getWebConnection(String componentId, String userId)
get the connection corresponding to componentId and userId- Parameters:
componentId
- : StringuserId
- : String- Returns:
- connection : ConnectionDetail
-
getWebConnectionById
ConnectionDetail getWebConnectionById(String connectionId, String userId)
get the connection corresponding to connectionId- Parameters:
connectionId
- : StringuserId
- : String- Returns:
- connection : ConnectionDetail
-
createWebConnection
void createWebConnection(ConnectionDetail connection)
create a new connection- Parameters:
connection
- : ConnectionDetail
-
deleteWebConnection
void deleteWebConnection(String connectionId, String userId)
delete the connection corresponding to connectionId- Parameters:
connectionId
- : StringuserId
- : String
-
updateWebConnection
void updateWebConnection(String connectionId, String login, String password, String userId)
update the connection corresponding to connectionId, with login and password- Parameters:
connectionId
- : Stringlogin
- : Stringpassword
- : StringuserId
- : String
-
listWebConnectionsOfUser
List<ConnectionDetail> listWebConnectionsOfUser(String userId) throws RemoteException
get all connections for the user corresponding to userId- Parameters:
userId
- : String- Returns:
- a list of ConnectionDetail
- Throws:
RemoteException
-
-