|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibi.broker.api.ws.UserManagerClientSF
public class UserManagerClientSF
| Field Summary |
|---|
| Fields inherited from interface ibi.broker.api.cci.UserManager |
|---|
DELETE_USER_DELETE_SCHEDULE, DELETE_USER_ONLY, DELETE_USER_SET_SCHEDULE_INACTIVE |
| Constructor Summary | |
|---|---|
UserManagerClientSF(java.lang.String base,
java.lang.String userName,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
void |
addExecId(ExecId execId)
|
void |
addGroup(Group group)
Adds group information, as encapsulated in the specified Group object,
to the underlying repository. |
void |
addUser(User user)
Adds the properties of a specified ReportCaster user, as contained in the passed User object, to the underlying database or repository. |
void |
addUserInToGroup(java.lang.String groupName,
java.lang.String userName)
Adds a userName to an existing group in the
underlying repository, as identified by its group name. |
int |
deleteExecId(ExecId execId)
|
int |
deleteGroup(java.lang.String groupName)
Deletes group information, as encapsulated in the specified Group object,
from the underlying repository. |
int |
deleteUser(java.lang.String userName,
int deleteType)
Deletes the specified user, identified by the passed username, from the underlying database or repository using one of the three provided deletion methods. |
int |
deleteUserFromGroup(java.lang.String groupName,
java.lang.String userName)
Deletes a user as identified by its ReportCaster userName from the specified groupName. |
ExecId[] |
getExecIdInfoList(java.lang.String user)
|
ExecId[] |
getExecIdListByServerByOwner(java.lang.String serverName,
User owner,
java.lang.String type)
|
java.lang.String[] |
getExecIdOwnerList()
|
Group |
getGroup(java.lang.String groupName)
Retrieves a Group object as identified by its
groupName from the underlying database orrepository. |
Group[] |
getGroupList()
Retrieves an array of Group objects representing a list of all groups to which the current user belongs. |
Group[] |
getGroupListByUserName(java.lang.String userName)
|
java.lang.String[] |
getGroupNameListByUser(java.lang.String userName)
Retrieves a string array representing a list of all group names where a specific ReportCaster user belongs to or is a member of these group names. |
java.lang.String[] |
getServerListByExecId(java.lang.String owner,
java.lang.String type)
|
User |
getUserByName(java.lang.String userName)
Retrieves a User object based upon the specified
ReportCaster username. |
User[] |
getUserList()
Retrieves an array of User objects. |
User[] |
getUserList(java.lang.String capability)
|
java.lang.String[] |
getUserNameListByGroup(java.lang.String groupName)
Obtains a string array of usernames that belong to a specified Group as
identified by its groupName. |
java.lang.String[] |
getUserNameListByGroup(java.lang.String groupName,
java.lang.String capabilyty)
|
boolean |
isExecId(ExecId execId)
|
java.lang.String |
testExecIdCredential(ExecId execId)
|
void |
updateExecId(ExecId execId)
|
void |
updateGroup(Group group)
After modifying properties contained in the Group object (except for the group name), updates the corresponding group data in the underlying repository. |
void |
updateGroupWithUser(Group group,
java.lang.String[] userNameList)
Updates a given Group with a String Array of user names
representing the list of usernames belonging to the group. |
void |
updateUser(User user)
Updates a user's property information in the underlying repository. |
void |
updateUserInfoProperties(User user)
Allows an authenticated user to change limited properties belonging to him in the underlying repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserManagerClientSF(java.lang.String base,
java.lang.String userName,
java.lang.String password)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public User getUserByName(java.lang.String userName)
throws CasterException
UserManagerUser object based upon the specified
ReportCaster username.
getUserByName in interface UserManageruserName - ReportCaster username of User.
User
CasterException - If a database access error occurs or
userName doesn't exist or there is no permission to access this
method.
public User[] getUserList()
throws CasterException
UserManagerUser objects. This method is accessible only
by an administrator, and lists all the users in the system.
getUserList in interface UserManagerUser[]) of Users.
CasterException - If a database access error occurs or there is
no permission to access this method.
public User[] getUserList(java.lang.String capability)
throws CasterException
getUserList in interface UserManagerCasterException
public java.lang.String[] getUserNameListByGroup(java.lang.String groupName)
throws CasterException
UserManagerGroup as
identified by its groupName. This method is only accessible by the
Administrator.
getUserNameListByGroup in interface UserManagergroupName - name which uniquely identifies the group.
String[] ) of usernames. NULL if
groupName doesn't exist.
CasterException - If a database access error occurs or
groupName is invalid or there is no permission to access this
method.
public java.lang.String[] getUserNameListByGroup(java.lang.String groupName,
java.lang.String capabilyty)
throws CasterException
getUserNameListByGroup in interface UserManagerCasterException
public void addUser(User user)
throws CasterException
UserManager
addUser in interface UserManageruser - object representing the user that is being added.
CasterException - if a database access error occurs or there is
no permission to access this method.
public int deleteUser(java.lang.String userName,
int deleteType)
throws CasterException
UserManager
deleteUser in interface UserManageruserName - the unique ReportCaster user name.deleteType - one of three deletion methods as a integer.
CasterException - if a database access error occurs or
userName doesn't exist or there is no permission to access this
method.
public void updateUserInfoProperties(User user)
throws CasterException
UserManagerUser.getDescription()), Address (see
User.getAddress()), and Password.(see
User.getAddress().
This method is accessible by the Administrator and the calling user.
updateUserInfoProperties in interface UserManageruser - object representing the user that is being added.
CasterException - If a database access error occurs or
user is NULL or user object doesn't exist in the
underlying database or there is no permission to access this method.
public void updateUser(User user)
throws CasterException
UserManagerUser.getName()),
which uniquely identifies the user in the database.
This method is only accessible by the Administrator.
updateUser in interface UserManageruser - Accepts a user object containing properties
encapsulating the user that is being updated.
CasterException - If a database access error occurs or
user is NULL or
user doesn't exist in the underlying database or
there is no permission to access this method.
public Group getGroup(java.lang.String groupName)
throws CasterException
UserManagerGroup object as identified by its
groupName from the underlying database orrepository. The
specified groupName uniquely identifes a
Group in the database.
This method is only accessible by the Administrator.
getGroup in interface UserManagergroupName - Unique name string identifying the group.
Group object encapsulating the specified group name.
CasterException - if a database access error occurs or
groupName doesn't exist or
there is no permission to access this method.
public Group[] getGroupList()
throws CasterException
UserManager
getGroupList in interface UserManagerGroup[]).
CasterException - If a database access error occurs or
there is no permission to access this method.
public Group[] getGroupListByUserName(java.lang.String userName)
throws CasterException
getGroupListByUserName in interface UserManagerCasterException
public java.lang.String[] getGroupNameListByUser(java.lang.String userName)
throws CasterException
UserManager
getGroupNameListByUser in interface UserManageruserName - username as a String.
CasterException - If a database access error occurs or
there is no permission to access this method.
public void addGroup(Group group)
throws CasterException
UserManagerGroup object,
to the underlying repository.
This method is only accessible by the Administrator.
addGroup in interface UserManagergroup - object representing the group that is being added.
CasterException - If a database access error occurs or
there is no permission to access this method.
public int deleteGroup(java.lang.String groupName)
throws CasterException
UserManagerGroup object,
from the underlying repository.
This method is only accessible by the Administrator.
deleteGroup in interface UserManagergroupName - unique name of group.
CasterException - If a database access error occurs or
there is no permission to access this method.
public void updateGroupWithUser(Group group,
java.lang.String[] userNameList)
throws CasterException
UserManagerGroup with a String Array of user names
representing the list of usernames belonging to the group. This new list
of user names replaces the existing list of user names.
This method is only accessible by the Administrator.
updateGroupWithUser in interface UserManagergroup - object representing the group that is being added.userNameList - usernameList as a String name.
CasterException - If a database access error occurs or
group is NULL or
Group doesn't exist in the underlying database or
there is no permission to access this method.
public void updateGroup(Group group)
throws CasterException
UserManager
updateGroup in interface UserManagergroup - Group object representing the group that is being modified.
CasterException - If a database access error occurs or
group is NULL or
Group doesn't exist in the underlying database or
there is no permission to access this method.
public void addUserInToGroup(java.lang.String groupName,
java.lang.String userName)
throws CasterException
UserManageruserName to an existing group in the
underlying repository, as identified by its group name.
This method is only accessible by the Administrator.
addUserInToGroup in interface UserManagergroupName - unique name of the
group as a string.userName - as a String.
CasterException - If a database access error occurs or
groupName is invalid or
userName is invalid or there is no permission to access this
method.
public int deleteUserFromGroup(java.lang.String groupName,
java.lang.String userName)
throws CasterException
UserManager
deleteUserFromGroup in interface UserManagergroupName - unique name of group as
a String.userName - unique name of user as
String.
CasterException - If a database access error occurs or there is
no permission to access this method.
public ExecId[] getExecIdListByServerByOwner(java.lang.String serverName,
User owner,
java.lang.String type)
throws CasterException
getExecIdListByServerByOwner in interface UserManagerCasterException
public void addExecId(ExecId execId)
throws CasterException
addExecId in interface UserManagerCasterException
public java.lang.String testExecIdCredential(ExecId execId)
throws CasterException
testExecIdCredential in interface UserManagerCasterException
public void updateExecId(ExecId execId)
throws CasterException
updateExecId in interface UserManagerCasterException
public int deleteExecId(ExecId execId)
throws CasterException
deleteExecId in interface UserManagerCasterException
public boolean isExecId(ExecId execId)
throws CasterException
isExecId in interface UserManagerCasterException
public java.lang.String[] getServerListByExecId(java.lang.String owner,
java.lang.String type)
throws CasterException
CasterException
public java.lang.String[] getExecIdOwnerList()
throws CasterException
CasterException
public ExecId[] getExecIdInfoList(java.lang.String user)
throws CasterException
CasterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||