public class AdministrationService
extends java.lang.Object
| Constructor and Description |
|---|
AdministrationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateExecServer(java.lang.String sessionId,
int execServerId,
int locationId)
Activates an existing execution server if it is not already active.
|
void |
activateProjects(java.lang.String sessionId,
int[] projectIds)
Activates the projects with the given IDs.
|
boolean |
addBuild(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String build,
java.lang.String descr,
boolean isActive)
Adds a new build for the given product and version.
|
boolean |
addLocationToProject(java.lang.String sessionId,
int projectId,
int locationId)
Adds an association from a location to a project.
|
boolean |
addVersion(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String descr,
boolean isActive)
Adds a new version for the given product.
|
int |
copyProject(java.lang.String sessionId,
int projectId,
java.lang.String newProjectName,
java.lang.String[] copyProjectProperties)
Copies a project including the data selected in copyProjectProperties.
|
int |
createExecServer(java.lang.String sessionId,
ExecServer execServer)
Creates a new execution sever with the given properties.
|
int |
createLocation(java.lang.String sessionId,
LocationDetails locationDetails)
Creates a new location with the data provided by the location details.
|
int |
createProject(java.lang.String sessionId,
Project project)
Creates a new project with the given properties.
|
int |
createUser(java.lang.String sessionId,
UserDetails userDetails)
Creates a new user with the data of the given userDetails - the login has to be unique.
|
int |
createUsergroup(java.lang.String sessionId,
UserGroup userGroup)
Creates a new
UserGroup. |
void |
deactivateExecServer(java.lang.String sessionId,
int execServerId)
Deactivates an existing execution server if it is active.
|
void |
deactivateProjects(java.lang.String sessionId,
int[] projectIds)
Deactivates the projects with the given IDs.
|
void |
deleteExecServer(java.lang.String sessionId,
int execServerId)
Deletes the execution server identified by the ID.
|
void |
deleteLocations(java.lang.String sessionId,
int[] locationIds)
Deletes the location identified by the locationId (only if no execution servers exist for the location).
|
void |
deleteProjects(java.lang.String sessionId,
int[] projectIds)
Deletes projects with the given IDs (if the logged in user has the right to do so).
|
void |
deleteRoleByName(java.lang.String sessionId,
java.lang.String deletedRoleName)
Deletes a role by the specified name.
|
void |
deleteUserGroup(java.lang.String sessionId,
int groupId)
Deletes the user group identified by ID.
|
void |
deleteUsers(java.lang.String sessionId,
int[] userIdsToDelete)
Deletes existing users (identified by the IDs).
|
int |
duplicateRole(java.lang.String sessionId,
int roleId,
java.lang.String newRoleName,
java.lang.String newRoleDesc)
Duplicates a role and returns the new role ID.
|
Project[] |
findProjects(java.lang.String sessionId,
java.lang.String projectName)
Returns all projects assigned to the logged in user (or all projects if the user is an administrator) with the given name (wildcards * and ? are allowed).
|
java.lang.String[] |
getActiveVersions(java.lang.String sessionId,
java.lang.String product)
Returns names of active versions associated with the given product.
|
UserGroupMembership[] |
getAllMemberships(java.lang.String sessionId)
Returns all memberships.
|
Role[] |
getAllRoles(java.lang.String sessionId)
Returns all roles.
|
UserGroup[] |
getAllUserGroups(java.lang.String sessionId)
Returns all user groups.
|
java.lang.String[] |
getBuilds(java.lang.String sessionId,
java.lang.String product,
java.lang.String version)
Returns all build names associated with the given product and version.
|
java.lang.String[] |
getComponents(java.lang.String sessionId,
java.lang.String product)
Returns all component names associated with a given project.
|
ExecServer |
getExecServerById(java.lang.String sessionId,
int execServerId)
Returns the execution server identified by the given ID.
|
java.lang.String[] |
getExecServerKeywords(java.lang.String sessionId,
int execServerId)
Returns the keywords set for the specified execution server (includes
#-prefixed predefined keywords). |
ExecServer[] |
getExecServersOfLocation(java.lang.String sessionId,
int locationId)
Returns the execution servers of a location.
|
UserGroup |
getGroupById(java.lang.String sessionId,
int groupId)
Returns a user group with the given ID.
|
UserGroup |
getGroupByName(java.lang.String sessionId,
java.lang.String groupName)
Returns a user group with the given name.
|
LocationDetails |
getLocationDetails(java.lang.String sessionId,
int locationId)
Returns detailed information about the location identified by the ID.
|
Location[] |
getLocations(java.lang.String sessionId)
Returns all defined locations.
|
Location[] |
getLocationsForProject(java.lang.String sessionId,
int projectId)
Returns all locations associated with the given project.
|
UserGroupMembership[] |
getMembershipsOfGroup(java.lang.String sessionId,
int groupId)
Returns all memberships of the user group identified by ID.
|
UserGroupMembership[] |
getMembershipsOfUser(java.lang.String sessionId,
int userId)
Returns all memberships of the user identified by ID.
|
java.lang.String[] |
getPlatforms(java.lang.String sessionId)
Returns all platform names associated with the Silk Central installation.
|
java.lang.String |
getProductNameById(java.lang.String sessionId,
int productId)
Returns the product name for the given product ID.
|
java.lang.String[] |
getProducts(java.lang.String sessionId)
Returns all product names for a given Silk Central installation.
|
Project |
getProjectById(java.lang.String sessionId,
int projectId)
Returns the project with the given ID.
|
java.lang.String[] |
getProjectNames(java.lang.String sessionId)
Returns all project names associated with the Silk Central installation.
|
Project[] |
getProjects(java.lang.String sessionId)
Returns all projects visible to this user.
|
Project[] |
getProjectsForUser(java.lang.String sessionId,
int userId)
Returns all projects that meet the filter specified criteria.
|
Role |
getRoleById(java.lang.String sessionId,
int roleId)
Returns a role identified by ID.
|
int |
getRoleIdByName(java.lang.String sessionId,
java.lang.String roleName)
Returns the role ID.
|
UserDetails |
getUserDetails(java.lang.String sessionId,
int userId)
Returns details of a user (identified by ID).
|
User[] |
getUsers(java.lang.String sessionId,
java.lang.String login)
Returns all users matching the given login name.
|
java.lang.String[] |
getVersions(java.lang.String sessionId,
java.lang.String product)
Returns all version names associated with the given product.
|
boolean |
isBuildActive(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String build)
Checks if a build is active.
|
boolean |
isMixedModeAuthentication(java.lang.String sessionId,
int userId)
Returns the information if mixed mode authentication is active for a user.
|
java.lang.String |
logonUser(java.lang.String username,
java.lang.String plainPwd)
Logs on with a given username and password.
|
boolean |
removeLocationFromProject(java.lang.String sessionId,
int projectId,
int locationId)
Removes an association from a location to a project.
|
void |
setBuildActive(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String build,
boolean active)
Activates/deactivates a build.
|
void |
setMixedModeAuthentication(java.lang.String sessionId,
int userId,
boolean useMixedMode)
Sets the authentication mode for a user.
|
void |
setProxyUsernameAndPasswordForLocation(java.lang.String sessionId,
int locationId,
java.lang.String proxyUsername,
java.lang.String proxyPassword)
Sets proxy username and password for a location (identified by locationId).
|
void |
updateExecServer(java.lang.String sessionId,
ExecServer execServer)
Updates the properties of an existing execution server.
|
void |
updateExecServerKeywords(java.lang.String sessionId,
int execServerId,
java.lang.String[] keywords)
Sets the custom keywords for an execution server.
|
void |
updateLocation(java.lang.String sessionId,
LocationDetails locationDetails)
Updates an existing location (identified by the ID) with the data provided by the location details.
|
void |
updateMembershipsOfGroup(java.lang.String sessionId,
int groupId,
UserGroupMembership[] memberships)
Updates the memberships of a group.
|
void |
updateMembershipsOfUser(java.lang.String sessionId,
int userId,
UserGroupMembership[] memberships)
Updates the memberships of a user.
|
void |
updateProject(java.lang.String sessionId,
Project project)
Updates an existing project with the given properties.
|
void |
updateUser(java.lang.String sessionId,
UserDetails userDetails)
Updates the properties of an existing user.
|
void |
updateUserGroup(java.lang.String sessionId,
UserGroup usergroup)
Updates an existing user group.
|
public java.lang.String logonUser(java.lang.String username,
java.lang.String plainPwd)
throws WSFaultException
username - the login usernameplainPwd - the password of the specified usernameWSFaultException - if logon failspublic Project[] getProjects(java.lang.String sessionId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic Project[] findProjects(java.lang.String sessionId, java.lang.String projectName) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectName - name of the project to return (wildcards ? and * are allowed)WSFaultExceptionpublic Project[] getProjectsForUser(java.lang.String sessionId, int userId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userId - the unique ID of the user to return projects for or -1 if projects for all users should be returnedWSFaultExceptionpublic Project getProjectById(java.lang.String sessionId, int projectId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the project to returnWSFaultExceptionpublic int createProject(java.lang.String sessionId,
Project project)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)project - properties of the project to create (ID will be ignored)WSFaultExceptionpublic void updateProject(java.lang.String sessionId,
Project project)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)project - properties of the project to update (identified by the ID)WSFaultException - if the project does not exist or if the update fails or if the project is active (only inactive projects can be updated)public void deleteProjects(java.lang.String sessionId,
int[] projectIds)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectIds - the IDs of the projects to deleteWSFaultExceptionpublic int copyProject(java.lang.String sessionId,
int projectId,
java.lang.String newProjectName,
java.lang.String[] copyProjectProperties)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the project to be copied.newProjectName - specifies the name of the new project to which the existing project is copied to.copyProjectProperties - The following values can be combined:WSFaultExceptionpublic void activateProjects(java.lang.String sessionId,
int[] projectIds)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectIds - the IDs of the projects to activateWSFaultExceptionpublic void deactivateProjects(java.lang.String sessionId,
int[] projectIds)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectIds - the IDs of the projects to deactivateWSFaultExceptionpublic Location[] getLocations(java.lang.String sessionId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic Location[] getLocationsForProject(java.lang.String sessionId, int projectId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the project to search locations forWSFaultExceptionpublic LocationDetails getLocationDetails(java.lang.String sessionId, int locationId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)locationId - the identifier of the locationWSFaultExceptionpublic int createLocation(java.lang.String sessionId,
LocationDetails locationDetails)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)locationDetails - properties of the location to create (ID is ignored and set by the system)WSFaultExceptionpublic void updateLocation(java.lang.String sessionId,
LocationDetails locationDetails)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)locationDetails - properties of the location to create (ID identifies the location to update on the system)WSFaultExceptionpublic void setProxyUsernameAndPasswordForLocation(java.lang.String sessionId,
int locationId,
java.lang.String proxyUsername,
java.lang.String proxyPassword)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)locationId - the identifier of the locationproxyUsername - new proxy usernameproxyPassword - new proxy passwordWSFaultExceptionpublic void deleteLocations(java.lang.String sessionId,
int[] locationIds)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)locationIds - the location IDsWSFaultExceptionpublic User[] getUsers(java.lang.String sessionId, java.lang.String login) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)login - login name of user(s) to return - allows wildcards (? and *)User matching the login patternWSFaultExceptionpublic void deleteUsers(java.lang.String sessionId,
int[] userIdsToDelete)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userIdsToDelete - IDs of the users to deleteWSFaultExceptionpublic UserDetails getUserDetails(java.lang.String sessionId, int userId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userId - the ID of an existing userWSFaultExceptionpublic int getRoleIdByName(java.lang.String sessionId,
java.lang.String roleName)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)roleName - the name of the role for which ID needs to be retrievedWSFaultExceptionpublic void deleteRoleByName(java.lang.String sessionId,
java.lang.String deletedRoleName)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)deletedRoleName - the name of the role being deletedWSFaultExceptionpublic int duplicateRole(java.lang.String sessionId,
int roleId,
java.lang.String newRoleName,
java.lang.String newRoleDesc)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)roleId - the ID of the role being duplicatednewRoleName - the name of the new role being addednewRoleDesc - the description of the new role being addedWSFaultExceptionpublic int createUser(java.lang.String sessionId,
UserDetails userDetails)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userDetails - object containing the user detailsWSFaultExceptionpublic void updateUser(java.lang.String sessionId,
UserDetails userDetails)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userDetails - user details - the values to set to the user identified by the userId field in the userDetailsWSFaultExceptionpublic int createExecServer(java.lang.String sessionId,
ExecServer execServer)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServer - properties of the exec server to create (ID is ignored)WSFaultExceptionpublic ExecServer getExecServerById(java.lang.String sessionId, int execServerId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServerId - the ID of the execution server to retrieveWSFaultExceptionpublic ExecServer[] getExecServersOfLocation(java.lang.String sessionId, int locationId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)locationId - ID of the locationWSFaultExceptionpublic void updateExecServer(java.lang.String sessionId,
ExecServer execServer)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServer - ExecServer - the values to set to the execution server identified by the ID fieldWSFaultExceptionpublic void activateExecServer(java.lang.String sessionId,
int execServerId,
int locationId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServerId - ID of the execution server to activatelocationId - ID of the location of the execution serverWSFaultExceptionpublic void deactivateExecServer(java.lang.String sessionId,
int execServerId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServerId - ID of the execution server to deactivateWSFaultExceptionpublic void deleteExecServer(java.lang.String sessionId,
int execServerId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServerId - the ID of the execution server to deleteWSFaultExceptionpublic boolean addLocationToProject(java.lang.String sessionId,
int projectId,
int locationId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the project to which the location is associatedlocationId - The location's ID which should be associated to the projecttrue if adding the new association was successful. Otherwise or if projectId and locationId are not valid false.WSFaultExceptionpublic boolean removeLocationFromProject(java.lang.String sessionId,
int projectId,
int locationId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectlocationId - the location's ID which should be removed from the projecttrue if removing the association was successful. Otherwise or if projectId and locationId are not valid false.WSFaultExceptionpublic int createUsergroup(java.lang.String sessionId,
UserGroup userGroup)
throws WSFaultException
UserGroup.sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userGroup - properties of the new user groupWSFaultExceptionpublic UserGroup getGroupByName(java.lang.String sessionId, java.lang.String groupName) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)groupName - name of the user groupWSFaultExceptionpublic UserGroup getGroupById(java.lang.String sessionId, int groupId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)groupId - ID of the user groupWSFaultExceptionpublic UserGroup[] getAllUserGroups(java.lang.String sessionId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic void updateUserGroup(java.lang.String sessionId,
UserGroup usergroup)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)usergroup - properties of the user group to updateWSFaultExceptionpublic void deleteUserGroup(java.lang.String sessionId,
int groupId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)groupId - ID of the group to deleteWSFaultExceptionpublic UserGroupMembership[] getMembershipsOfGroup(java.lang.String sessionId, int groupId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)groupId - ID of the groupWSFaultExceptionpublic UserGroupMembership[] getMembershipsOfUser(java.lang.String sessionId, int userId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userId - ID of the userWSFaultExceptionpublic UserGroupMembership[] getAllMemberships(java.lang.String sessionId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic void updateMembershipsOfGroup(java.lang.String sessionId,
int groupId,
UserGroupMembership[] memberships)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)memberships - all memberships for the group to set. All memberships have to be of the same group. Old memberships are deleted.WSFaultExceptionpublic void updateMembershipsOfUser(java.lang.String sessionId,
int userId,
UserGroupMembership[] memberships)
throws WSFaultException
sessionId - the unique ID of the session created with {link logonUser(String, String)userId - memberships - WSFaultExceptionpublic Role[] getAllRoles(java.lang.String sessionId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic Role getRoleById(java.lang.String sessionId, int roleId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)roleId - ID of the roleWSFaultExceptionpublic java.lang.String[] getComponents(java.lang.String sessionId,
java.lang.String product)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - name of product containing componentsWSFaultExceptionpublic java.lang.String[] getProducts(java.lang.String sessionId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic java.lang.String getProductNameById(java.lang.String sessionId,
int productId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)productId - the product IDWSFaultExceptionpublic java.lang.String[] getVersions(java.lang.String sessionId,
java.lang.String product)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - product nameWSFaultExceptionpublic java.lang.String[] getActiveVersions(java.lang.String sessionId,
java.lang.String product)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - product nameWSFaultExceptionpublic java.lang.String[] getBuilds(java.lang.String sessionId,
java.lang.String product,
java.lang.String version)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - product nameversion - version nameWSFaultExceptionpublic java.lang.String[] getPlatforms(java.lang.String sessionId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic java.lang.String[] getProjectNames(java.lang.String sessionId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic boolean addVersion(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String descr,
boolean isActive)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - name of productversion - name of versiondescr - human-readable description of version to be addedisActive - true if version is active and availabletrue if version was createdWSFaultExceptionpublic boolean addBuild(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String build,
java.lang.String descr,
boolean isActive)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - name of productversion - name of versionbuild - name of builddescr - human-readable description of build to be addedisActive - true if build is active and availableWSFaultExceptionpublic boolean isMixedModeAuthentication(java.lang.String sessionId,
int userId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userId - ID of the user to retrieve the authentication mode oftrue when mixed mode is set for the userWSFaultExceptionpublic void setMixedModeAuthentication(java.lang.String sessionId,
int userId,
boolean useMixedMode)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)userId - ID of the user to change the authentication mode ofuseMixedMode - true when mixed mode shall be set for the userWSFaultExceptionpublic boolean isBuildActive(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String build)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - name of productversion - name of versionbuild - name of buildWSFaultExceptionpublic void setBuildActive(java.lang.String sessionId,
java.lang.String product,
java.lang.String version,
java.lang.String build,
boolean active)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)product - name of productversion - name of versionbuild - name of buildWSFaultExceptionpublic java.lang.String[] getExecServerKeywords(java.lang.String sessionId,
int execServerId)
throws WSFaultException
#-prefixed predefined keywords).sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServerId - the ID of the execution serverWSFaultExceptionpublic void updateExecServerKeywords(java.lang.String sessionId,
int execServerId,
java.lang.String[] keywords)
throws WSFaultException
#-prefixed) cannot be removed.sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)execServerId - the ID of the execution server for which the keywords are updatedkeywords - the keyword strings to be updated; null or empty if all custom keywords should be removed.WSFaultExceptionCopyright © Micro Focus 2004-2019. All rights reserved.