|
BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This inteface is used to query ALES group related information. Group names are specified in a qualified format, which includes the identity directory they belong to. The format is //sgrp/dirName/groupName/. Directory name, as parameter of methods should also be specified in a qualified format with prefix //dir/. Example: //dir/myDir . Use EntitlementQueryFactory to obtain an instance of a GroupQuery.
EntitlementQueryFactory| Field Summary | |
static int |
ATTRIBUTE_QUERY_TYPE_DIRECT
Attribute query type specifiying the attribute value assigned directly to the group. |
static int |
ATTRIBUTE_QUERY_TYPE_ENFORCED
Attribute query type specifiying the attribute value based on the attribute inheritance logic. |
static int |
ATTRIBUTE_QUERY_TYPE_INHERITED
Attribute query type specifiying the attribute value inherited by the group, from a group membership. |
| Method Summary | |
java.util.List |
filter(java.lang.String findPattern)
Finds all groups matching the specified filter pattern. |
java.util.List |
getAllChildrenGroups(java.lang.String groupName)
Get all groups that are members of the specified group. |
java.util.List |
getAllParentGroups(java.lang.String groupName)
Get all groups that the specified group is a member of. |
java.util.List |
getDirectChildrenGroups(java.lang.String groupName)
Get all groups that are direct members of the specified group. |
java.util.List |
getDirectParentGroups(java.lang.String groupName)
Get all groups that the specified group is a direct member of. |
java.util.List |
getDirectUsers(java.lang.String groupName,
java.lang.String pattern)
Returns all direct users in the specified group matching the specified pattern |
AttributeElement |
getGroupAttribute(java.lang.String groupName,
java.lang.String attrName,
int attrQueryType)
Gets the value of the attribute associated with the group. |
java.util.List |
getGroupAttributes(java.lang.String groupName,
int attrQueryType)
Gets all attributes associated with the specified group. |
java.util.List |
getGroupsWithAttribute(java.lang.String dirName,
AttributeElement attrElem)
Finds all groups in specified directory with the specified attribute value. |
java.util.List |
getUserClosure(java.lang.String groupName,
java.lang.String pattern)
Returns all direct and indirect (inherited) users in the specified group matching the specified pattern |
| Field Detail |
public static final int ATTRIBUTE_QUERY_TYPE_DIRECT
public static final int ATTRIBUTE_QUERY_TYPE_INHERITED
public static final int ATTRIBUTE_QUERY_TYPE_ENFORCED
| Method Detail |
public java.util.List filter(java.lang.String findPattern)
throws QueryException
findPattern - pattern for the filter
public java.util.List getGroupsWithAttribute(java.lang.String dirName,
AttributeElement attrElem)
throws QueryException
dirName - directory nameattrElem - the attribute name and value @see AttributeElement
public AttributeElement getGroupAttribute(java.lang.String groupName,
java.lang.String attrName,
int attrQueryType)
throws QueryException
groupName - the group nameattrName - the attribute nameattrQueryType - ATTRIBUTE_QUERY_TYPE_DIRECT, ATTRIBUTE_QUERY_TYPE_INHERITED, ATTRIBUTE_QUERY_TYPE_ENFORCEDAttributeElement containing the value of the group attribute,
or null if this attribute is not defined for the specified group.ATTRIBUTE_QUERY_TYPE_DIRECT,
ATTRIBUTE_QUERY_TYPE_INHERITED,
ATTRIBUTE_QUERY_TYPE_ENFORCED
public java.util.List getGroupAttributes(java.lang.String groupName,
int attrQueryType)
throws QueryException
groupName - group nameattrQueryType - ATTRIBUTE_QUERY_TYPE_DIRECT, ATTRIBUTE_QUERY_TYPE_INHERITED, ATTRIBUTE_QUERY_TYPE_ENFORCEDATTRIBUTE_QUERY_TYPE_DIRECT,
ATTRIBUTE_QUERY_TYPE_INHERITED,
ATTRIBUTE_QUERY_TYPE_ENFORCED
public java.util.List getDirectUsers(java.lang.String groupName,
java.lang.String pattern)
throws QueryException
groupName - name of the group in the form //sgrp/identityname/groupname/pattern - pattern to match the users on, for example * or //users/*
public java.util.List getUserClosure(java.lang.String groupName,
java.lang.String pattern)
throws QueryException
groupName - name of the group in the form //sgrp/identityname/groupname/pattern - pattern to match the users on, for example * or //users/*
public java.util.List getAllParentGroups(java.lang.String groupName)
throws QueryException
groupName - name of the group in the form //sgrp/identityname/groupname/
public java.util.List getAllChildrenGroups(java.lang.String groupName)
throws QueryException
groupName - name of the group in the form //sgrp/identityname/groupname/
public java.util.List getDirectParentGroups(java.lang.String groupName)
throws QueryException
groupName - name of the group in the form //sgrp/identityname/groupname/
public java.util.List getDirectChildrenGroups(java.lang.String groupName)
throws QueryException
groupName - name of the group in the form //sgrp/identityname/groupname/
|
Documentation is available at http://edocs.bea.com/ales/docs26 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||