Package com.jalios.jcms
Interface DataSelector
-
- All Superinterfaces:
java.util.function.Predicate<Data>
- All Known Implementing Classes:
AbstractCalendarEvent.CalendarEventAttendeeSelector
,AbstractCalendarEvent.CalendarEventDateSelector
,AccessControlList.NameSelector
,AccessControlList.WorkspaceAclSelector
,AndDataSelector
,AttachementsMailListener.FileDocumentSelector
,Category.AuthorizedSelector
,Category.CategoryUsageSelector
,Category.LeafSelector
,Category.NameSelector
,Category.NodeSelector
,Category.SelectableCategorySelector
,ClassDataSelector
,Data.AuthorizedSelector
,Data.AuthorSelector
,Data.CdateSelector
,Data.DeletableSelector
,Data.ImportSelector
,Data.MdateSelector
,Data.StrongLockSelector
,FileDocument.ContentTypeSelector
,FileDocument.HiddenSelector
,FileDocument.MediaTypeSelector
,FileDocument.SizeSelector
,Form.SubmitMemberSelector
,Group.LeafSelector
,Group.MemberSelector
,Group.NameSelector
,Group.NotificationPeriodSelector
,Group.ParentSelector
,Group.WorkspaceSelector
,LessThanOneDayCalendarEventSelector
,Member.AccountSelector
,Member.AdministratorSelector
,Member.AllAuthenticationSelector
,Member.BelongsToWorkspaceOrChildSelector
,Member.ContactSelector
,Member.DisabledSelector
,Member.EnabledSelector
,Member.ExternalAuthenticationSelector
,Member.GroupSelector
,Member.GuestSelector
,Member.NotificationPeriodSelector
,Member.TextSelector
,Member.UsageSelector
,Member.ValidEmailSelector
,Member.WorkerSelector
,MembersCsvImportHandler.WorkspaceUnderRootCatSelector
,MentionManager.EmailSelector
,MoreThanOneDayCalendarEventSelector
,OrDataSelector
,PortalElement.AbilitySelector
,Publication.AdateSelector
,Publication.AudienceRightSelector
,Publication.AuthorizedSelector
,Publication.CanWorkOnSelector
,Publication.EdateSelector
,Publication.PdateSelector
,Publication.PstatusSelector
,Publication.ReadRightSelector
,Publication.SdateSelector
,Publication.TrackedSelector
,Publication.UdateSelector
,Publication.UserContentSelector
,Publication.VisibleStateSelector
,Publication.WorkspaceAuthorSelector
,Publication.WorkspaceSelector
,QueryManager.QueryPublicationSelector
,ReverseDataSelector
,TopbarHandler.ApplicationSelector
,TopbarSearchAutocompleteHandler.AccessSelector
,TopbarUtil.CanWorkOnModelWorkspaceSelector
,TopbarUtil.HasPortalWorkspaceSelector
,Workspace.CanWorkOnModelWorkspaceSelector
,Workspace.CollaborativeSpaceSelector
,Workspace.HasPortalWorkspaceSelector
,Workspace.ModelWorkspaceSelector
,Workspace.OpenWorkspaceSelector
,Workspace.ParentWorkspaceSelector
,Workspace.TextSelector
,Workspace.TitleSelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DataSelector extends java.util.function.Predicate<Data>
DataSelector
instance can be passed to the methodJcmsUtil.applyDataSelector(java.util.Collection, DataSelector)
to allow precise control over the selection ofData
in aCollection
.
A (@link #isSelected(Data) selection method), which receives aData
object and chooses to select it or not.- Version:
- $Revision: 98099 $
- Author:
- Olivier Dedieu
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
isSelected(Data data)
Evaluates if a data must be selected or not.default boolean
test(Data data)
-
-
-
Field Detail
-
REVISION
static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSelected
boolean isSelected(Data data)
Evaluates if a data must be selected or not.- Parameters:
data
- the data to evaluate.- Returns:
- true if the data is selected. False otherwise.
-
-