Package com.jalios.jcms.member.csvimport
Class MemberImportVisibleWorkspaceSelector
- java.lang.Object
-
- com.jalios.jcms.member.csvimport.MemberImportVisibleWorkspaceSelector
-
- All Implemented Interfaces:
DataSelector
,java.util.function.Predicate<Data>
public class MemberImportVisibleWorkspaceSelector extends java.lang.Object implements DataSelector
Keep the workspace object if :- it is not a collaborative space
- or, the member is not null, and belongs to the collaborative space
- or, the collaborative space has public or private but not secret access (see CSP-120).
- Since:
- jcms-10.0.8 / JCMS-10510
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
PRIVATE_ACCESS
protected static java.lang.String
PUBLIC_ACCESS
protected static java.lang.String
SECRET_ACCESS
-
Constructor Summary
Constructors Constructor Description MemberImportVisibleWorkspaceSelector(Member mbr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<Publication>
getCollaborativeSpaceClazz()
boolean
isSelected(Data data)
Evaluates if a data must be selected or not.void
setCollaborativeSpaceClazz(java.lang.Class<Publication> collaborativeSpaceClazz)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jalios.jcms.DataSelector
test
-
-
-
-
Field Detail
-
PUBLIC_ACCESS
protected static final java.lang.String PUBLIC_ACCESS
- See Also:
- Constant Field Values
-
PRIVATE_ACCESS
protected static final java.lang.String PRIVATE_ACCESS
- See Also:
- Constant Field Values
-
SECRET_ACCESS
protected static final java.lang.String SECRET_ACCESS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MemberImportVisibleWorkspaceSelector
public MemberImportVisibleWorkspaceSelector(Member mbr)
-
-
Method Detail
-
getCollaborativeSpaceClazz
public java.lang.Class<Publication> getCollaborativeSpaceClazz()
-
setCollaborativeSpaceClazz
public void setCollaborativeSpaceClazz(java.lang.Class<Publication> collaborativeSpaceClazz)
-
isSelected
public boolean isSelected(Data data)
Description copied from interface:DataSelector
Evaluates if a data must be selected or not.- Specified by:
isSelected
in interfaceDataSelector
- Parameters:
data
- the data to evaluate.- Returns:
- true if the data is selected. False otherwise.
-
-