|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.beans.admin.UserDetailsSearchCriteria
public class UserDetailsSearchCriteria
A conjonction of criteria in the search of user details.
Field Summary | |
---|---|
static String[] |
ANY_GROUPS
|
Fields inherited from interface com.stratelia.webactiv.beans.admin.SearchCriteria |
---|
ANY |
Constructor Summary | |
---|---|
UserDetailsSearchCriteria()
|
Method Summary | |
---|---|
UserDetailsSearchCriteria |
and()
Useless as by default the criteria forms a conjunction. |
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. |
String[] |
getCriterionOnGroupIds()
Gets the disjonction 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 in the component instance the user or the group must have priviledge to access. |
String[] |
getCriterionOnRoleNames()
Gets the disjonction on the role names. |
String[] |
getCriterionOnUserIds()
Gets the disjonction on the user identifiers. |
UserState[] |
getCriterionOnUserStatesToExclude()
Gets user states to exclude criterion. |
int |
hashCode()
|
boolean |
isCriterionOnAccessLevelsSet()
|
boolean |
isCriterionOnComponentInstanceIdSet()
|
boolean |
isCriterionOnDomainIdSet()
|
boolean |
isCriterionOnGroupIdsSet()
|
boolean |
isCriterionOnNameSet()
|
boolean |
isCriterionOnPaginationSet()
|
boolean |
isCriterionOnResourceIdSet()
|
boolean |
isCriterionOnRoleNamesSet()
|
boolean |
isCriterionOnUserIdsSet()
|
boolean |
isCriterionOnUserStatesToExcludeSet()
|
boolean |
isEmpty()
Is this criteria empty? |
UserDetailsSearchCriteria |
onAccessLevels(UserAccessLevel... accessLevels)
Appends a criterion on the user access level for which the search must be constrained to. |
UserDetailsSearchCriteria |
onComponentInstanceId(String instanceId)
Appends a criterion on the component instance for which the search must be constrained to. |
UserDetailsSearchCriteria |
onDomainId(String domainId)
Appends a criterion on the user domain for which the search must be constrained to. |
UserDetailsSearchCriteria |
onGroupIds(String... groupIds)
Appends a criterion on the user groups for which the search must be constrained to. |
UserDetailsSearchCriteria |
onName(String name)
Appends a criterion on the resources name for which the search must be constrained to. |
UserDetailsSearchCriteria |
onPagination(PaginationPage page)
Appends a criteria on a resources pagination. |
UserDetailsSearchCriteria |
onResourceId(String resourceId)
Appends a criterion on a given component instance's resource for which the search must be constrained to. |
UserDetailsSearchCriteria |
onRoleNames(String[] roleIds)
Appends a criterion on the user roles for which the search must be constrained to. |
UserDetailsSearchCriteria |
onUserIds(String[] userIds)
Appends a criteria on the user profiles for which the search must be constrained to. |
UserDetailsSearchCriteria |
onUserStatesToExclude(UserState... userStates)
Appends a criteria on the user states that must exclude users from the result. |
UserDetailsSearchCriteria |
or()
Not supported. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String[] ANY_GROUPS
Constructor Detail |
---|
public UserDetailsSearchCriteria()
Method Detail |
---|
public UserDetailsSearchCriteria onName(String name)
SearchCriteria
onName
in interface SearchCriteria
name
- a pattern on the name the resources to fetch must have.
public UserDetailsSearchCriteria onComponentInstanceId(String instanceId)
SearchCriteria
onComponentInstanceId
in interface SearchCriteria
instanceId
- the unique identifier of the component instance.
public UserDetailsSearchCriteria onRoleNames(String[] roleIds)
SearchCriteria
onRoleNames
in interface SearchCriteria
roleIds
- the name of the user roles on which the criterion has to be built.
public UserDetailsSearchCriteria onGroupIds(String... groupIds)
SearchCriteria
onGroupIds
in interface SearchCriteria
groupIds
- the unique identifiers of the groups.
public UserDetailsSearchCriteria onDomainId(String domainId)
SearchCriteria
onDomainId
in interface SearchCriteria
domainId
- the unique identifier of the user domain.
public UserDetailsSearchCriteria onAccessLevels(UserAccessLevel... accessLevels)
SearchCriteria
onAccessLevels
in interface SearchCriteria
accessLevels
- the access levels aimed.
public UserDetailsSearchCriteria onUserStatesToExclude(UserState... userStates)
SearchCriteria
onUserStatesToExclude
in interface SearchCriteria
userStates
- the user states that exclude users from the result.
public UserDetailsSearchCriteria 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 UserDetailsSearchCriteria onUserIds(String[] userIds)
SearchCriteria
onUserIds
in interface SearchCriteria
userIds
- the user identifiers.
public boolean isCriterionOnRoleNamesSet()
public boolean isCriterionOnResourceIdSet()
public boolean isCriterionOnComponentInstanceIdSet()
public boolean isCriterionOnUserIdsSet()
public boolean isCriterionOnGroupIdsSet()
public boolean isCriterionOnDomainIdSet()
public boolean isCriterionOnAccessLevelsSet()
public boolean isCriterionOnUserStatesToExcludeSet()
public boolean isCriterionOnNameSet()
public boolean isCriterionOnPaginationSet()
public String[] getCriterionOnRoleNames()
public String getCriterionOnResourceId()
public String getCriterionOnComponentInstanceId()
public String[] getCriterionOnUserIds()
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 UserDetailsSearchCriteria and()
and
in interface SearchCriteria
public UserDetailsSearchCriteria or()
or
in interface SearchCriteria
public boolean isEmpty()
SearchCriteria
isEmpty
in interface SearchCriteria
public UserDetailsSearchCriteria 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 |