|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tszadel.qctools4j.clients.AbstractClient
com.tszadel.qctools4j.clients.UserClient
public class UserClient
The client manages the users, groups and permissions.
| Field Summary | |
|---|---|
static int |
WITH_GROUPS
Groups have to be added. |
| Fields inherited from class com.tszadel.qctools4j.clients.AbstractClient |
|---|
connection, NONE, WITH_ATTACHMENTS, WITH_CHILDREN |
| Method Summary | |
|---|---|
Map<String,FieldDescription> |
getFieldDescriptions()
Overrides getFieldDescriptions. |
List<Group> |
getGroupsOfUser(String pUsername)
Returns the groups of the user. |
User |
getUser(String pUsername)
Returns a user. |
List<String> |
getUsernames()
Returns the available user names . |
List<User> |
getUsers(int pFlag)
Returns the available users . |
List<String> |
getUsersOfProject()
Returns the list of users of the current project. |
boolean |
isExistingUser(String pUsername)
Check if the given user name exists in QC. |
| Methods inherited from class com.tszadel.qctools4j.clients.AbstractClient |
|---|
canExecuteAction, checkConnection, checkLogin, checkPermission, containsFlag, getEncodedString, loadFields, retrieveAttachments, retrieveCustomFields, storeAttachments, storeFields, toAttachment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WITH_GROUPS
| Method Detail |
|---|
public Map<String,FieldDescription> getFieldDescriptions()
throws QcException
getFieldDescriptions in class AbstractClientQcException - Qc Error.AbstractClient.getFieldDescriptions()
public List<Group> getGroupsOfUser(String pUsername)
throws QcException
pUsername - The user.
QcException - Qc Error or user doesn't exist.
public User getUser(String pUsername)
throws QcException
pUsername - The user name.
QcException - QC Error.
public List<String> getUsernames()
throws QcException
QcException - QC Error.
public List<User> getUsers(int pFlag)
throws QcException
pFlag - Search option.
QcException - QC Error.
public List<String> getUsersOfProject()
throws QcException
QcException - Error.
public boolean isExistingUser(String pUsername)
throws QcException
pUsername - The user name.
QcException - Error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||