|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryEntry
com.ibm.itim.dataservices.model.DirectoryObject
com.ibm.itim.dataservices.model.system.SystemRole
public class SystemRole
Value Object class that holds the attribute information of a system role (group) in the data model.
SystemRoleEntity,
Serialized Form| Field Summary | |
|---|---|
static int |
AUDITOR_CATEGORY
Deprecated. |
static java.lang.String |
AUDITOR_GROUP
|
static int |
ENDUSER_CATEGORY
Deprecated. |
static int |
HELPDESK_CATEGORY
Deprecated. |
static java.lang.String |
HELPDESK_GROUP
|
static int |
SERVICEOWNER_CATEGORY
Deprecated. |
static java.lang.String |
SERVICEOWNER_GROUP
|
static int |
SUPERVISOR_CATEGORY
Deprecated. |
static java.lang.String |
SUPERVISOR_GROUP
|
static java.lang.String |
SYSTEM_ROLE_ATTR_CAT
String constant for the category attribute name. |
static java.lang.String |
SYSTEM_ROLE_ATTR_DESCRIPTION
String constant for the description attribute name. |
static java.lang.String |
SYSTEM_ROLE_ATTR_NAME
String constant for the naming attribute name. |
static int |
SYSTEMADMIN_CATEGORY
Deprecated. |
static java.lang.String |
SYSTEMADMIN_GROUP
Constants for the system role DNs defined in tenant.tmpl file |
| Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
|---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME |
| Fields inherited from interface com.ibm.itim.util.Sortable |
|---|
ATTR_NAME |
| Constructor Summary | |
|---|---|
SystemRole()
Default empty constructor |
|
SystemRole(AttributeValues attributes)
Constructs object with attribute information. |
|
| Method Summary | |
|---|---|
int |
getCategory()
Deprecated. |
java.lang.String |
getDescription()
Returns the description of the system role. |
java.lang.String |
getName()
Returns the name of the system role. |
void |
setCategory(int category)
Deprecated. |
void |
setDescription(java.lang.String description)
Changes the description of the system role. |
void |
setName(java.lang.String name)
Changes the name of the system role. |
| Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
|---|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
| Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
|---|
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SYSTEM_ROLE_ATTR_NAME
public static final java.lang.String SYSTEM_ROLE_ATTR_DESCRIPTION
public static final java.lang.String SYSTEM_ROLE_ATTR_CAT
@Deprecated public static final int ENDUSER_CATEGORY
@Deprecated public static final int SUPERVISOR_CATEGORY
@Deprecated public static final int SYSTEMADMIN_CATEGORY
@Deprecated public static final int HELPDESK_CATEGORY
@Deprecated public static final int SERVICEOWNER_CATEGORY
@Deprecated public static final int AUDITOR_CATEGORY
public static final java.lang.String SYSTEMADMIN_GROUP
public static final java.lang.String SUPERVISOR_GROUP
public static final java.lang.String HELPDESK_GROUP
public static final java.lang.String SERVICEOWNER_GROUP
public static final java.lang.String AUDITOR_GROUP
| Constructor Detail |
|---|
public SystemRole()
public SystemRole(AttributeValues attributes)
attributes - AttributeValues holding the attributes of the system role.| Method Detail |
|---|
public java.lang.String getName()
getName in class DirectoryObjectpublic void setName(java.lang.String name)
name - New name of the system role.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - New String description of the system role.@Deprecated public int getCategory()
@Deprecated public void setCategory(int category)
category - Enumeration of the category, ENDUSER_CATEGORY,
SUPERVISOR_CATEGORY, SYSTEMADMIN_CATEGORY, HELPDESK_CATEGORY,
SERVICEOWNER_CATEGORY, AUDITOR_CATEGORY etc. or an integer
value representing a custom-defined View in ITIM 5.0. platform and subject variables used below.
SystemRoleManager manager = new SystemRoleManager(platform, subject);
Collection<SystemRoleManager.ViewCategory> categories = manager
.getSystemRoleCategories();
// Will print out a lines that looks like:
// 1:End User View:Default view for users needing self-care capabilities
for (ViewCategory cat : categories) {
System.out.println(cat.getCategory() + ":" + cat.getName() + ":"
+ cat.getDescription());
}
Deprecate this method as the feature is antiquated. ANY SystemRole created from
the UI today gets created without a category, i.e. it defaults to end user.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||