Package de.elo.ix.client
Class FindUserInfo
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.FindUserInfo
- All Implemented Interfaces:
Serializable
This class describes the search criteria for
IXServicePortIF.findFirstUsers(de.elo.ix.client.ClientInfo, de.elo.ix.client.FindUserInfo, int)
.
The wildcards defined by SessionOptionsC.DB_WILDCARDS
can be used for name
,
desc
, property
, and ldapProperty
.
Members name
, desc
, property
, and ldapProperty
are combined
by OR. Other members are combinded by AND.- Since:
- 9.00.050.001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CheckoutUsersZ
Filter users as inIXServicePortIF.checkoutUsers(ClientInfo, String[], CheckoutUsersZ, LockZ)
.protected String
Find by user description.protected FindResultAccessMode
Describes how the client application will access the results.protected int
Select only users that have all of thisUserInfo.flags
set.protected int
Select only users that have all of thisUserInfo.flags2
set.protected int
Select only users that have non thisUserInfo.flags
set.protected int
Select only users that have none thisUserInfo.flags2
set.protected KeyValue
Find by a LDAP property.protected String
Find by user name.protected boolean
Search for groups only.protected boolean
Search for users only.protected KeyValue
Find by an user property.protected boolean
Return entire information about each user.protected int
Specify how the results should be ordered.protected String[]
User IDs related tocheckoutUsersZ
.protected String
Workspace related data.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDesc()
int
int
int
int
getName()
int
String[]
boolean
boolean
boolean
void
setCheckoutUsersZ
(CheckoutUsersZ checkoutUsersZ) void
void
setFindResultAccessMode
(FindResultAccessMode findResultAccessMode) void
setHasFlags
(int hasFlags) void
setHasFlags2
(int hasFlags2) void
setHasNotFlags
(int hasNotFlags) void
setHasNotFlags2
(int hasNotFlags2) void
setLdapProperty
(KeyValue ldapProperty) void
void
setOnlyGroups
(boolean onlyGroups) void
setOnlyUsers
(boolean onlyUsers) void
setProperty
(KeyValue property) void
setReturnUserInfoMap
(boolean returnUserInfoMap) void
setSortOrder
(int sortOrder) void
setUserIds
(String[] userIds) void
setWorkspaceInfo
(String workspaceInfo) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
name
Find by user name. Search overUserInfo.name
. -
desc
Find by user description. Search overUserInfo.desc
. -
property
Find by an user property. Search over allUserInfo.userProps
. The key element in property is the index in the arrayUserInfo.userProps
.Example: FindUserInfo findInfo = new FindUserInfo(); KeyValue property = new KeyValue(); property.setKey(Integer.toString(UserInfoC.PROP_NAME_EMAIL)); property.setValue("maria.fritz@alpha.com");
-
ldapProperty
Find by a LDAP property. Search over allUserInfo.ldapProperties
. The key element in property is the key in the mapUserInfo.ldapProperties
. -
onlyUsers
protected boolean onlyUsersSearch for users only.
If this member is set to
true
, flags provided bycheckoutUsersZ
are ignored. -
onlyGroups
protected boolean onlyGroupsSearch for groups only.
If this member is set to
true
, flags provided bycheckoutUsersZ
are ignored. -
returnUserInfoMap
protected boolean returnUserInfoMapReturn entire information about each user. If true,UserInfo
objects are returned inFindResult.userInfos
. If false,UserName
objects are returned inFindResult.userNames
. Additionally, FindResult#sortedResult returns a sorted list of either UserInfo or UserName objects.- See Also:
-
userIds
User IDs related tocheckoutUsersZ
.- Since:
- 10.17.010.004
-
checkoutUsersZ
Filter users as inIXServicePortIF.checkoutUsers(ClientInfo, String[], CheckoutUsersZ, LockZ)
.- Since:
- 10.17.010.004
-
hasFlags
protected int hasFlagsSelect only users that have all of thisUserInfo.flags
set. A value of 0 is ignored. The selected users are found by testing (UserInfo#flags & hasFlags) == hasFlags.- Since:
- 10.17.010.005
-
hasNotFlags
protected int hasNotFlagsSelect only users that have non thisUserInfo.flags
set. The selected users are found by testing (UserInfo#flags & hasNotFlags) == 0.- Since:
- 10.17.010.005
-
hasFlags2
protected int hasFlags2Select only users that have all of thisUserInfo.flags2
set. A value of 0 is ignored. The selected users are found by testing (UserInfo#flags2 & hasFlags2) == hasFlags2.- Since:
- 10.17.010.005
-
hasNotFlags2
protected int hasNotFlags2Select only users that have none thisUserInfo.flags2
set. The selected users are found by testing (UserInfo#flags2 & hasNotFlags2) == 0.- Since:
- 10.17.010.005
-
sortOrder
protected int sortOrderSpecify how the results should be ordered. Valid values areSortOrderC.USERNAME
andSortOrderC.IUSERNAME
. Sorted results are returned in FindResult#sortedResult.- Since:
- 11.00.000.028
- See Also:
-
findResultAccessMode
Describes how the client application will access the results.- Since:
- 11.00.000.033
-
workspaceInfo
Workspace related data.- Since:
- 21.02.000.017
-
-
Constructor Details
-
FindUserInfo
public FindUserInfo()
-
-
Method Details
-
getName
-
setName
-
getDesc
-
setDesc
-
getProperty
-
setProperty
-
getLdapProperty
-
setLdapProperty
-
isOnlyUsers
public boolean isOnlyUsers() -
setOnlyUsers
public void setOnlyUsers(boolean onlyUsers) -
isOnlyGroups
public boolean isOnlyGroups() -
setOnlyGroups
public void setOnlyGroups(boolean onlyGroups) -
isReturnUserInfoMap
public boolean isReturnUserInfoMap() -
setReturnUserInfoMap
public void setReturnUserInfoMap(boolean returnUserInfoMap) -
getCheckoutUsersZ
-
setCheckoutUsersZ
-
getUserIds
-
setUserIds
-
getHasFlags
public int getHasFlags() -
getHasNotFlags
public int getHasNotFlags() -
getHasFlags2
public int getHasFlags2() -
getHasNotFlags2
public int getHasNotFlags2() -
setHasFlags
public void setHasFlags(int hasFlags) -
setHasNotFlags
public void setHasNotFlags(int hasNotFlags) -
setHasFlags2
public void setHasFlags2(int hasFlags2) -
setHasNotFlags2
public void setHasNotFlags2(int hasNotFlags2) -
toString
-
getSortOrder
public int getSortOrder() -
setSortOrder
public void setSortOrder(int sortOrder) -
getFindResultAccessMode
-
setFindResultAccessMode
-
getWorkspaceInfo
-
setWorkspaceInfo
-