public class Group extends DirectoryObject implements com.ibm.itim.util.xml.objectstream.Importable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GROUP_ATTR_DESC
Constant for the group attribute description.
|
static java.lang.String |
GROUP_ATTR_ID
Constant for the group attribute id.
|
static java.lang.String |
GROUP_ATTR_NAME
Constant for the group attribute name.
|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
Group() |
Group(Group group)
Copy Constructor
Reference copy is used for Java object except for String and other primary types
|
Group(java.lang.String profileName,
AttributeValues attributes)
Constructs object with profile and attribute information.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the description of the group.
|
java.lang.String |
getId()
Returns the unique identification of the group.
|
java.lang.String |
getName()
Returns the name of the group.
|
DistinguishedName |
getService()
Returns the distinguished name of the service.
|
void |
setDescription(java.lang.String desc)
Sets the group description
The value is stored on the attribute that ergroupdescription is mapped to.
|
void |
setId(java.lang.String id)
Set the unique identification of the group.
|
void |
setName(java.lang.String name)
Set the name of the group.
|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic static final java.lang.String GROUP_ATTR_ID
public static final java.lang.String GROUP_ATTR_NAME
public static final java.lang.String GROUP_ATTR_DESC
public Group(java.lang.String profileName,
AttributeValues attributes)
Warning: the purpose of this constructor is to provide clients with the ability to
create value objects for creation in the data store. Do not use this
constructor to create value objects that represent existing entities. See
the GroupSearch object for achieving that.
profileName - name of the profile for the group.
Use ObjectProfileSearch.getProfilesInCategory to get a list of
profile names for the group category in the system.
Profile name cannot be NULL or empty.
For example, use "PosAixGroupProfile" as profileName to construct a Posix AIX group object.
attributes - list of AttributeValues that hold group information. It cannot be NULL or empty.ObjectProfileSearch.getProfilesInCategory,
ObjectProfileCategoryConstantpublic Group(Group group)
public Group()
public java.lang.String getId()
public void setId(java.lang.String id)
id - A value that is uniquely identified the group.public java.lang.String getName()
getName in class DirectoryObjectpublic void setName(java.lang.String name)
name - the name of the group.public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
desc - the group descriptionpublic DistinguishedName getService()