Class MemberImportVisibleWorkspaceSelector

java.lang.Object
com.jalios.jcms.member.csvimport.MemberImportVisibleWorkspaceSelector
All Implemented Interfaces:
DataSelector, Predicate<Data>

public class MemberImportVisibleWorkspaceSelector extends 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).
Else, does remove the workspace.
Since:
jcms-10.0.8 / JCMS-10510
  • Field Details

  • Constructor Details

    • MemberImportVisibleWorkspaceSelector

      public MemberImportVisibleWorkspaceSelector(Member mbr)
  • Method Details

    • getCollaborativeSpaceClazz

      public Class<Publication> getCollaborativeSpaceClazz()
    • setCollaborativeSpaceClazz

      public void setCollaborativeSpaceClazz(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 interface DataSelector
      Parameters:
      data - the data to evaluate.
      Returns:
      true if the data is selected. False otherwise.