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 anApplicationInfolist with respect to a list of application GUIDs.appInfoIntersect(List<ApplicationInfo> p_appInfoList, List<String> p_appGuidList) Compose the intersection of anApplicationInfolist 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 anIUserlist 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 anDsUserItemlist and a list of User IDs.menuInfoComplement(List<IMenuItem> p_menuInfoList, Collection<String> p_menuGuidList) Compose the complement of anIMenuItemlist with respect to a list of menu GUIDs.menuInfoIntersect(List<IMenuItem> p_menuInfoList, List<String> p_menuGuidList) Compose the intersection of anApplicationInfolist 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 anApplicationInfolist and a list of application IDs.The resultant list contains element in the order induced by the
p_appIdList.- Parameters:
p_appInfoList- The list ofApplicationInfoobjects.p_appGuidList- The list of application GUIDs.- Returns:
- A list containing
ApplicationInfoobjects fromp_appInfoListwhose application IDs appear inp_appGuidList.
-
appInfoComplement
public List<ApplicationInfo> appInfoComplement(List<ApplicationInfo> p_appInfoList, Collection<String> p_appGuidList) Compose the complement of anApplicationInfolist with respect to a list of application GUIDs.- Parameters:
p_appInfoList- The list ofApplicationInfoobjects.p_appGuidList- The list of application GUIDs.- Returns:
- A list containing
ApplicationInfoobjects fromp_appInfoListwhose 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 anIUserlist with respect to a list of User IDs.- Parameters:
p_userList- The list ofIUserobjects.p_userIdList- The list of User IDs.- Returns:
- A list containing
IUserobjects fromp_userListwhose user IDs do not appear inp_userIdList.
-
userListIntersect
Deprecated.Compose the intersection of anIUserlist and a list of User IDs.The resultant list contains element in the order induced by the
p_userIdList.- Parameters:
p_userList- The list ofIUserobjects.p_userIdList- The list of application IDs.- Returns:
- A list containing
IUserobjects fromp_userListwhose 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 anDsUserItemlist and a list of User IDs.The resultant list contains element in the order included by the
p_userIdList.- Parameters:
p_userList- The list ofDsUserItemobjects.p_userIdList- The list of User IDs.- Returns:
- A list containing
DsUserItemobjects fromp_userListwhose 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 anIUserlist with respect to a list of User IDs.- Parameters:
p_userList- The list ofIUserobjects.p_userIdList- The list of User IDs.- Returns:
- A list containing
IUserobjects fromp_userListwhose user IDs do not appear inp_userIdList.
-