|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.beans.admin.GroupsSearchCriteria
public class GroupsSearchCriteria
A conjonction of criteria in the search of user groups.
Field Summary |
---|
Fields inherited from interface com.stratelia.webactiv.beans.admin.SearchCriteria |
---|
ANY |
Constructor Summary | |
---|---|
GroupsSearchCriteria()
|
Method Summary | |
---|---|
SearchCriteria |
and()
Useless as by default the criteria forms a conjonction. |
boolean |
equals(Object obj)
|
UserAccessLevel[] |
getCriterionOnAccessLevels()
Gets access level criterion. |
String |
getCriterionOnComponentInstanceId()
Gets the component instance the user or the group must belongs to. |
String |
getCriterionOnDomainId()
Gets the domain identifier, other than the mixed domain, onto which the groups must belong. |
String[] |
getCriterionOnGroupIds()
Gets the conjonction on the group identifiers. |
String |
getCriterionOnName()
Gets the pattern on the name the group or the user name must satisfy. |
PaginationPage |
getCriterionOnPagination()
Gets the pagination page into which the groups to return has to be part. |
String |
getCriterionOnResourceId()
Gets the resource for which the user or the group must have access rights. |
String[] |
getCriterionOnRoleNames()
Gets the conjonction on the role names. |
String |
getCriterionOnSuperGroupId()
Gets the conjonction on the user identifiers. |
UserState[] |
getCriterionOnUserStatesToExclude()
Gets user states to exclude criterion. |
int |
hashCode()
|
boolean |
isCriterionOnAccessLevelsSet()
|
boolean |
isCriterionOnComponentInstanceIdSet()
|
boolean |
isCriterionOnDomainIdSet()
|
boolean |
isCriterionOnGroupIdsSet()
|
boolean |
isCriterionOnMixedDomainIdSet()
|
boolean |
isCriterionOnNameSet()
|
boolean |
isCriterionOnPaginationSet()
|
boolean |
isCriterionOnResourceIdSet()
|
boolean |
isCriterionOnRoleNamesSet()
|
boolean |
isCriterionOnSuperGroupIdSet()
|
boolean |
isCriterionOnUserStatesToExcludeSet()
|
boolean |
isEmpty()
Is this criteria empty? |
boolean |
mustBeRoot()
|
GroupsSearchCriteria |
onAccessLevels(UserAccessLevel... accessLevels)
Appends a criterion on the user access level for which the search must be constrained to. |
GroupsSearchCriteria |
onAsRootGroup()
The groups must be root ones. |
GroupsSearchCriteria |
onComponentInstanceId(String instanceId)
Appends a criterion on the component instance for which the search must be constrained to. |
GroupsSearchCriteria |
onDomainId(String domainId)
Appends a criterion on the user domain for which the search must be constrained to. |
GroupsSearchCriteria |
onGroupIds(String... groupIds)
Appends a criterion on the user groups for which the search must be constrained to. |
GroupsSearchCriteria |
onMixedDomainOrOnDomainId(String domainId)
The groups must belong to either the mixed domain or the specified one. |
GroupsSearchCriteria |
onName(String name)
Appends a criterion on the resources name for which the search must be constrained to. |
SearchCriteria |
onPagination(PaginationPage page)
Appends a criteria on a resources pagination. |
SearchCriteria |
onResourceId(String resourceId)
Appends a criterion on a given component instance's resource for which the search must be constrained to. |
GroupsSearchCriteria |
onRoleNames(String[] roleIds)
Appends a criterion on the user roles for which the search must be constrained to. |
GroupsSearchCriteria |
onSuperGroupId(String superGroupId)
The groups must have as parent the specified super group. |
SearchCriteria |
onUserIds(String... userIds)
Not relevent here. |
SearchCriteria |
onUserStatesToExclude(UserState... userStates)
Appends a criteria on the user states that must exclude users from the result. |
SearchCriteria |
or()
Not supported. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupsSearchCriteria()
Method Detail |
---|
public GroupsSearchCriteria onName(String name)
SearchCriteria
onName
in interface SearchCriteria
name
- a pattern on the name the resources to fetch must have.
public GroupsSearchCriteria onComponentInstanceId(String instanceId)
SearchCriteria
onComponentInstanceId
in interface SearchCriteria
instanceId
- the unique identifier of the component instance.
public GroupsSearchCriteria onRoleNames(String[] roleIds)
SearchCriteria
onRoleNames
in interface SearchCriteria
roleIds
- the name of the user roles on which the criterion has to be built.
public GroupsSearchCriteria onGroupIds(String... groupIds)
SearchCriteria
onGroupIds
in interface SearchCriteria
groupIds
- the unique identifiers of the groups.
public GroupsSearchCriteria onAsRootGroup()
public GroupsSearchCriteria onSuperGroupId(String superGroupId)
superGroupId
- the unique identifier of the super group.
public GroupsSearchCriteria onDomainId(String domainId)
SearchCriteria
onDomainId
in interface SearchCriteria
domainId
- the unique identifier of the user domain.
public GroupsSearchCriteria onAccessLevels(UserAccessLevel... accessLevels)
SearchCriteria
onAccessLevels
in interface SearchCriteria
accessLevels
- the access levels aimed.
public SearchCriteria onUserStatesToExclude(UserState... userStates)
SearchCriteria
onUserStatesToExclude
in interface SearchCriteria
userStates
- the user states that exclude users from the result.
public GroupsSearchCriteria onMixedDomainOrOnDomainId(String domainId)
domainId
- the unique identifier of a domain.
public boolean isCriterionOnRoleNamesSet()
public boolean isCriterionOnResourceIdSet()
public boolean isCriterionOnComponentInstanceIdSet()
public boolean isCriterionOnSuperGroupIdSet()
public boolean isCriterionOnGroupIdsSet()
public boolean isCriterionOnDomainIdSet()
public boolean isCriterionOnAccessLevelsSet()
public boolean isCriterionOnUserStatesToExcludeSet()
public boolean isCriterionOnMixedDomainIdSet()
public boolean isCriterionOnNameSet()
public boolean isCriterionOnPaginationSet()
public boolean mustBeRoot()
public String[] getCriterionOnRoleNames()
public String getCriterionOnResourceId()
public String getCriterionOnComponentInstanceId()
public String getCriterionOnSuperGroupId()
public String[] getCriterionOnGroupIds()
public String getCriterionOnDomainId()
public UserAccessLevel[] getCriterionOnAccessLevels()
public UserState[] getCriterionOnUserStatesToExclude()
public String getCriterionOnName()
public PaginationPage getCriterionOnPagination()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public SearchCriteria and()
and
in interface SearchCriteria
public SearchCriteria or()
or
in interface SearchCriteria
public boolean isEmpty()
SearchCriteria
isEmpty
in interface SearchCriteria
public SearchCriteria onUserIds(String... userIds)
onUserIds
in interface SearchCriteria
userIds
- the user identifiers.
public SearchCriteria onResourceId(String resourceId)
SearchCriteria
onResourceId
in interface SearchCriteria
resourceId
- the unique identifier of the resource managed in the component instance. As
each resource is particular to a given Silverpeas component, the unique identifier is made up
of the resource type and of the resource identifier.
public SearchCriteria onPagination(PaginationPage page)
SearchCriteria
onPagination
in interface SearchCriteria
page
- the page of resources to fetch.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |