Class Filter
java.lang.Object
de.uplanet.lucy.server.auxiliaries.collections.Filter
This class provides a collection of various filters for collections that are
used in the Velocity context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappInfoComplement
(List<ApplicationInfo> p_appInfoList, Collection<String> p_appGuidList) Compose the complement of anApplicationInfo
list with respect to a list of application GUIDs.appInfoIntersect
(List<ApplicationInfo> p_appInfoList, List<String> p_appGuidList) Compose the intersection of anApplicationInfo
list and a list of application IDs.List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem>
dsUserItemListComplement
(List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem> p_userList, List<Object> p_userIdList) Compose the complement of anIUser
list with respect to a list of User IDs.List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem>
dsUserItemListIntersect
(List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem> p_userList, List<Object> p_userIdList) Compose the intersection of anDsUserItem
list and a list of User IDs.menuInfoComplement
(List<IMenuItem> p_menuInfoList, Collection<String> p_menuGuidList) Compose the complement of anIMenuItem
list with respect to a list of menu GUIDs.menuInfoIntersect
(List<IMenuItem> p_menuInfoList, List<String> p_menuGuidList) Compose the intersection of anApplicationInfo
list and a list of application IDs.userListComplement
(List<IUser> p_userList, List<Object> p_userIdList) Deprecated.userListIntersect
(List<IUser> p_userList, List<Object> p_userIdList) Deprecated.
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
appInfoIntersect
public List<ApplicationInfo> appInfoIntersect(List<ApplicationInfo> p_appInfoList, List<String> p_appGuidList) Compose the intersection of anApplicationInfo
list and a list of application IDs.The resultant list contains element in the order induced by the
p_appIdList
.- Parameters:
p_appInfoList
- The list ofApplicationInfo
objects.p_appGuidList
- The list of application GUIDs.- Returns:
- A list containing
ApplicationInfo
objects fromp_appInfoList
whose application IDs appear inp_appGuidList
.
-
appInfoComplement
public List<ApplicationInfo> appInfoComplement(List<ApplicationInfo> p_appInfoList, Collection<String> p_appGuidList) Compose the complement of anApplicationInfo
list with respect to a list of application GUIDs.- Parameters:
p_appInfoList
- The list ofApplicationInfo
objects.p_appGuidList
- The list of application GUIDs.- Returns:
- A list containing
ApplicationInfo
objects fromp_appInfoList
whose application IDs do not appear inp_appGuidList
.
-
userListComplement
@Deprecated public List<IUser> userListComplement(List<IUser> p_userList, List<Object> p_userIdList) Deprecated.Compose the complement of anIUser
list with respect to a list of User IDs.- Parameters:
p_userList
- The list ofIUser
objects.p_userIdList
- The list of User IDs.- Returns:
- A list containing
IUser
objects fromp_userList
whose user IDs do not appear inp_userIdList
.
-
userListIntersect
Deprecated.Compose the intersection of anIUser
list and a list of User IDs.The resultant list contains element in the order induced by the
p_userIdList
.- Parameters:
p_userList
- The list ofIUser
objects.p_userIdList
- The list of application IDs.- Returns:
- A list containing
IUser
objects fromp_userList
whose user IDs appear inp_userIdList
.
-
dsUserItemListIntersect
public List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem> dsUserItemListIntersect(List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem> p_userList, List<Object> p_userIdList) Compose the intersection of anDsUserItem
list and a list of User IDs.The resultant list contains element in the order included by the
p_userIdList
.- Parameters:
p_userList
- The list ofDsUserItem
objects.p_userIdList
- The list of User IDs.- Returns:
- A list containing
DsUserItem
objects fromp_userList
whose user IDs appear inp_userIdList
.
-
dsUserItemListComplement
public List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem> dsUserItemListComplement(List<de.uplanet.lucy.server.auxiliaries.ds.IDsUserItem> p_userList, List<Object> p_userIdList) Compose the complement of anIUser
list with respect to a list of User IDs.- Parameters:
p_userList
- The list ofIUser
objects.p_userIdList
- The list of User IDs.- Returns:
- A list containing
IUser
objects fromp_userList
whose user IDs do not appear inp_userIdList
.
-