|
||||||||||
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 FormField Summary | |
---|---|
static int |
AUDITOR_CATEGORY
Constant for the auditor category. |
static java.lang.String |
AUDITOR_GROUP
|
static int |
ENDUSER_CATEGORY
Constant for the end user category. |
static int |
HELPDESK_CATEGORY
Constant for the help desk category. |
static java.lang.String |
HELPDESK_GROUP
|
static int |
SERVICEOWNER_CATEGORY
Constant for the service owner category. |
static java.lang.String |
SERVICEOWNER_GROUP
|
static int |
SUPERVISOR_CATEGORY
Constant for the supervisor category. |
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
Constant for the system administrator category. |
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, 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()
Returns the system role category. |
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)
Changes the system role category. |
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, 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
public static final int ENDUSER_CATEGORY
public static final int SUPERVISOR_CATEGORY
public static final int SYSTEMADMIN_CATEGORY
public static final int HELPDESK_CATEGORY
public static final int SERVICEOWNER_CATEGORY
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 DirectoryObject
public 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.public int getCategory()
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());
}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |