|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface wtalk.WTalkProtocol uses to manipulate a user list in the shell.
Method Summary | |
void |
addConnection(java.lang.String connectionName)
Adds a connection named connectionName. |
void |
addGroup(java.lang.String groupName,
java.lang.String connectionName)
Adds a group named groupName to connectionName. |
void |
addUser(java.lang.String userName,
java.lang.String groupName,
java.lang.String connectionName)
Adds userName to the specified group. |
void |
delConnection(java.lang.String connectionName)
Removes the named connection, and everything under it. |
void |
delGroup(java.lang.String groupName,
java.lang.String connectionName)
Removes the named group, and all users under it. |
void |
delUser(java.lang.String userName,
java.lang.String groupName,
java.lang.String connectionName)
Removes the named user, assuming user exists under the named group and connection. |
Method Detail |
public void addConnection(java.lang.String connectionName)
If there is already a connection by this name, there is no change made.
connectionName
- The name of connection to be added.public void addGroup(java.lang.String groupName, java.lang.String connectionName)
If the specified group already exists, no change is made.
groupName
- The group to be added.connectionName
- An existing connection to which group
is to be added.public void addUser(java.lang.String userName, java.lang.String groupName, java.lang.String connectionName)
If the specified user already exists, no change is made.
userName
- The name of the user to add.groupName
- The name of the group to add userName to.connectionName
- The connection in which to search for
groupName.public void delConnection(java.lang.String connectionName)
connectionName
- Name of connection to remove.public void delGroup(java.lang.String groupName, java.lang.String connectionName)
groupName
- Name of group to be removed.connectionName
- Name of connection under which group exists.public void delUser(java.lang.String userName, java.lang.String groupName, java.lang.String connectionName)
userName
- User to be removed from the user list.groupName
- Group name to which User belongs.connectionName
- Connection under which to search
for groupName.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |