|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.connector.NT4UserMetaDataConnector.GroupInfo
public class GroupInfo
The GroupInfo class represents Windows Group's data structure and encapsulates methods that import and export that data to an Entry object.
| Field Summary | |
|---|---|
static String |
GROUP_ATTR_COMMENT
Group entry attribute name: Comment |
static String |
GROUP_ATTR_GROUP_NAME
Group entry attribute name: GroupName |
static String |
GROUP_ATTR_GROUPS
Group entry attribute name: Groups |
static String |
GROUP_ATTR_IS_GLOBAL
Group entry attribute name: IsGlobal |
static String |
GROUP_ATTR_USERS
Group entry attribute name: Users |
| Constructor Summary | |
|---|---|
|
GroupInfo()
Default constructor. |
protected |
GroupInfo(Entry aGroupEntry)
Constructs the GroupInfo object and populates its members with Group data from the given Entry parameter. |
| Method Summary | |
|---|---|
protected void |
completeGroupData(GroupInfo aGroupInfo)
All "null" data members are assigned the values of the corresponding aGroupInfo's data members. |
protected void |
copyDataFromGroupEntry(Entry aGroupEntry)
Copies data from a group entry. |
String |
getComment()
Retrieves comment. |
String |
getGroupName()
Retrieves the group name. |
Boolean |
getIsGlobal()
Checks if the group is global. |
protected static void |
populateGroupEntryAttributes(Entry aGroupEntry,
GroupInfo aGroupInfo,
Vector aUserNames,
Vector aGroupNames)
Given a group attributes' values creates and adds those attributes to the given entry. |
protected static Vector |
queryGroupSchema()
Retrieves connector group entry's structure. |
void |
setComment(String aComment)
Sets group comment. |
void |
setGroupName(String aGroupName)
Sets the group name. |
void |
setIsGlobal(Boolean aIsGlobal)
Sets parameter that indicates whether the group is global or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String GROUP_ATTR_GROUP_NAME
public static final String GROUP_ATTR_COMMENT
public static final String GROUP_ATTR_IS_GLOBAL
public static final String GROUP_ATTR_USERS
public static final String GROUP_ATTR_GROUPS
| Constructor Detail |
|---|
public GroupInfo()
protected GroupInfo(Entry aGroupEntry)
aGroupEntry - The Group Entry object containing data to initialize the new
GroupInfo object with.| Method Detail |
|---|
public String getGroupName()
public String getComment()
public Boolean getIsGlobal()
public void setGroupName(String aGroupName)
aGroupName - -
String , sets group namepublic void setComment(String aComment)
aComment - -
String , comment to setpublic void setIsGlobal(Boolean aIsGlobal)
aIsGlobal - -
Boolean , sets if the group is globalprotected void copyDataFromGroupEntry(Entry aGroupEntry)
aGroupEntry - The group entry to copy from.protected void completeGroupData(GroupInfo aGroupInfo)
aGroupInfo - The GroupInfo instance which data members' data will be
copied.
protected static void populateGroupEntryAttributes(Entry aGroupEntry,
GroupInfo aGroupInfo,
Vector aUserNames,
Vector aGroupNames)
aGroupEntry - The group entry object where attributes will be added.aGroupInfo - The GroupInfo structure containing the base group attributes.aUserNames - Vector of Strings containing the names of the group's users.aGroupNames - Vector of Strings containing the names of the group's groups.
When populating a global group entry this parameter is null.protected static Vector queryGroupSchema()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||