Class ContextMembershipQuery
java.lang.Object
com.sas.lsaf.query.Query
com.sas.lsaf.query.security.membership.MembershipQuery
com.sas.lsaf.query.security.membership.ContextMembershipQuery
- All Implemented Interfaces:
Serializable
This class represents criteria to use to query membership information.
- Since:
- 2.3
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe scope in which to query the membership. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe value that represents all columns inContextMembershipQuery.static final ColumnThe column that represents the context path in which the group member is defined.static final ColumnThe column that represents the number of levels in which the member is nested as with groups of groups.static final ColumnThe column that represents the lineage of the location in which the member originated.static final ColumnThe column that represents the name of the parent group, if it exists.static final ColumnThe column that represents the context path of the parent group, if it exists.Fields inherited from class com.sas.lsaf.query.security.membership.MembershipQuery
CONTEXT_QUERIED, EXPLICIT, PRINCIPAL_NAME, PRINCIPAL_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionContextMembershipQuery(String contextPath) The constructor with all of the required fields.ContextMembershipQuery(String contextPath, ContextMembershipQuery.MembershipScope membershipScope) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets whether to include in the output the assigned members, defined groups, or all members at the specified context.voidsetMembershipScope(ContextMembershipQuery.MembershipScope membershipScope) Sets whether to include in the output the assigned members, defined groups, or all members at the specified context.Methods inherited from class com.sas.lsaf.query.security.membership.MembershipQuery
getContextPathMethods inherited from class com.sas.lsaf.query.Query
constrain, getColumns, getConstraint, getOrder, includeColumnNames, isIncludeColumnNames, order, order, select, select, setColumns, setConstraint, setIncludeColumnNames, setOrder, toString
-
Field Details
-
LEVEL
The column that represents the number of levels in which the member is nested as with groups of groups. -
LINEAGE
The column that represents the lineage of the location in which the member originated. -
GROUP_CONTEXT
The column that represents the context path in which the group member is defined. This column is blank for users. -
PARENT_GROUP
The column that represents the name of the parent group, if it exists. -
PARENT_GROUP_CONTEXT
The column that represents the context path of the parent group, if it exists. -
ALL
The value that represents all columns inContextMembershipQuery.
-
-
Constructor Details
-
ContextMembershipQuery
The constructor with all of the required fields.- Parameters:
contextPath- The path of the context in which to query membership information.
-
ContextMembershipQuery
public ContextMembershipQuery(String contextPath, ContextMembershipQuery.MembershipScope membershipScope) Constructor.- Parameters:
contextPath- The path of the context in which to query membership information.membershipScope- Indicates whether to include in the output the assigned members, defined groups, or all members at the specified context.
-
-
Method Details
-
getMembershipScope
Gets whether to include in the output the assigned members, defined groups, or all members at the specified context.- Returns:
- Indicates whether to include in the output the assigned members, defined groups, or all members at the specified context.
-
setMembershipScope
Sets whether to include in the output the assigned members, defined groups, or all members at the specified context.- Parameters:
membershipScope- Indicates whether to include in the output the assigned members, defined groups, or all members at the specified context.
-