|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.external.webConnections.dao.WebConnectionService
public class WebConnectionService
Constructor Summary | |
---|---|
WebConnectionService()
|
Method Summary | |
---|---|
void |
createWebConnection(ConnectionDetail connection)
create a new connection |
void |
deleteWebConnection(String connectionId,
String userId)
delete the connection corresponding to connectionId |
ConnectionDetail |
getWebConnection(String componentId,
String userId)
get the connection corresponding to componentId and userId |
ConnectionDetail |
getWebConnectionById(String connectionId,
String userId)
get the connection corresponding to connectionId |
List<ConnectionDetail> |
listWebConnectionsOfUser(String userId)
get all connections for the user corresponding to userId |
void |
updateWebConnection(String connectionId,
String login,
String password,
String userId)
update the connection corresponding to connectionId, with login and password |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebConnectionService()
Method Detail |
---|
public ConnectionDetail getWebConnection(String componentId, String userId)
WebConnectionsInterface
getWebConnection
in interface WebConnectionsInterface
componentId
- : StringuserId
- : String
public ConnectionDetail getWebConnectionById(String connectionId, String userId)
WebConnectionsInterface
getWebConnectionById
in interface WebConnectionsInterface
connectionId
- : StringuserId
- : String
public void createWebConnection(ConnectionDetail connection)
WebConnectionsInterface
createWebConnection
in interface WebConnectionsInterface
connection
- : ConnectionDetailpublic void deleteWebConnection(String connectionId, String userId)
WebConnectionsInterface
deleteWebConnection
in interface WebConnectionsInterface
connectionId
- : StringuserId
- : Stringpublic void updateWebConnection(String connectionId, String login, String password, String userId)
WebConnectionsInterface
updateWebConnection
in interface WebConnectionsInterface
connectionId
- : Stringlogin
- : Stringpassword
- : StringuserId
- : Stringpublic List<ConnectionDetail> listWebConnectionsOfUser(String userId) throws RemoteException
WebConnectionsInterface
listWebConnectionsOfUser
in interface WebConnectionsInterface
userId
- : String
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |