java.lang.Object
com.genologics.ri.researcher.Role
The role element defines a researcher's level of access in the system. You
can repeat the element to provide a researcher with access to more than one
area of the system. When submitting a PUT request to update a researcher's
credentials (any child elements within the credentials element), your XML
must include the current roles for the researcher. If you do not include all
of the current roles, the system will remove the current data and the
researcher will no longer have access to the system.
When adding a new role you must provide at least one of: URI, name, or roleName.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the class of the true, full LIMS entity this object links to.getName()
The user-facing name of the security role assigned to the researcher.Deprecated.Deprecated from version 2.19.getUri()
Get the URI to the researcher.void
Set the role name.void
setRoleName
(String value) Deprecated.Deprecated from version 2.19.void
Set the URI to the researcher.toString()
-
Field Details
-
SYSTEM_ADMIN_ROLE
- See Also:
-
CLARITY_ROLE
- See Also:
-
ADMIN_ROLE
- See Also:
-
LABLINK_ROLE
- See Also:
-
roleName
Deprecated.Deprecated from version 2.19. -
name
- Since:
- 2.19
-
uri
- Since:
- 2.19
-
-
Constructor Details
-
Role
public Role() -
Role
-
Role
-
Role
-
Role
-
-
Method Details
-
getRoleName
Deprecated.Deprecated from version 2.19.The name of the security role assigned to the researcher. Only used by built-in roles. Acceptable values are: "systemadministrator", "administrator", "labtech", and "webclient".- Returns:
- The role name.
-
setRoleName
Deprecated.Deprecated from version 2.19.Set the role name.- Parameters:
value
- The role name.
-
getName
The user-facing name of the security role assigned to the researcher. Must be unique.- Returns:
- The role name.
- Since:
- 2.19
-
setName
Set the role name.- Parameters:
name
- The role name.- Since:
- 2.19
-
getUri
Get the URI to the researcher. -
setUri
Set the URI to the researcher. -
getEntityClass
Description copied from interface:LimsLink
Get the class of the true, full LIMS entity this object links to.- Specified by:
getEntityClass
in interfaceLimsLink<Role>
- Returns:
- The real object class.
-
toString
-