public class GroupData extends UserData
GroupData represents Group Type @see UserAdminMBean.GROUP_TYPE
.It is a codec
for the CompositeData
representing a Group.
Constructor and Description |
---|
GroupData(Group group)
Constructs new GroupData from Group object.
|
GroupData(java.lang.String name,
java.util.Dictionary properties,
java.util.Dictionary credentials,
java.lang.String[] members,
java.lang.String[] requiredMembers)
Constructs new GroupData.
|
GroupData(java.lang.String name,
java.lang.String[] members,
java.lang.String[] requiredMembers)
Constructs new GroupData.
|
Modifier and Type | Method and Description |
---|---|
static GroupData |
from(javax.management.openmbean.CompositeData data)
Static factory method to create GroupData from CompositeData object.
|
java.lang.String[] |
getMembers() |
java.lang.String[] |
getRequiredMembers() |
javax.management.openmbean.CompositeData |
toCompositeData()
Translates GroupData to CompositeData represented by compositeType
UserAdminMBean.GROUP_TYPE . |
public GroupData(Group group)
group
- Group
instance.public GroupData(java.lang.String name, java.lang.String[] members, java.lang.String[] requiredMembers)
name
- group name.members
- basic members.requiredMembers
- required members.public GroupData(java.lang.String name, java.util.Dictionary properties, java.util.Dictionary credentials, java.lang.String[] members, java.lang.String[] requiredMembers)
name
- group name.properties
- group properties.credentials
- group credentials.members
- basic members.requiredMembers
- required members.public javax.management.openmbean.CompositeData toCompositeData()
UserAdminMBean.GROUP_TYPE
.toCompositeData
in class UserData
public static GroupData from(javax.management.openmbean.CompositeData data)
data
- CompositeData
instance.public java.lang.String[] getMembers()
public java.lang.String[] getRequiredMembers()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"