|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.external.webConnections.control.WebConnectionsSessionController
public class WebConnectionsSessionController
| Field Summary |
|---|
| Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
|---|
CHARACTER_ENCODING, context |
| Constructor Summary | |
|---|---|
WebConnectionsSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
Standard Session Controller Constructeur |
|
| Method Summary | |
|---|---|
void |
createConnection(ConnectionDetail connection)
create a new connection |
void |
deleteConnection(String connectionId)
delete the connection corresponding to connectionId |
ConnectionDetail |
getConnection(String componentId)
get the connection for the componentId |
ConnectionDetail |
getConnectionById(String connectionId)
get the connection corresponding to connectionId |
List<ConnectionDetail> |
getConnectionsByUser()
get all the connections for the current user |
void |
updateConnection(String connectionId,
String login,
String password)
update the connection (corresponding to connectionId) with the login and the password |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebConnectionsSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
mainSessionCtrl - The user's profilecomponentContext - The component's profile| Method Detail |
|---|
public ConnectionDetail getConnection(String componentId)
componentId - : String
public ConnectionDetail getConnectionById(String connectionId)
connectionId - : String
public void updateConnection(String connectionId,
String login,
String password)
connectionId - : Stringlogin - : Stringpassword - : Stringpublic void deleteConnection(String connectionId)
connectionId - : Stringpublic void createConnection(ConnectionDetail connection)
connection - : ConnectionDetail
public List<ConnectionDetail> getConnectionsByUser()
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||