Class SpaceSearchFilter

java.lang.Object
io.meeds.social.search.model.SpaceSearchFilter

public class SpaceSearchFilter extends Object
  • Constructor Details

    • SpaceSearchFilter

      public SpaceSearchFilter(String username, long userIdentityId, List<Long> templateIds, List<Long> managingTemplateIds, List<Long> categoryIds, List<Long> excludedCategoryIds, String term, boolean favorites, List<String> tagNames, io.meeds.social.space.constant.SpaceMembershipStatus status, io.meeds.social.space.constant.SpaceRegistration registration, io.meeds.social.space.constant.SpaceVisibility visibility, String sortField, String sortDirection)
      A filter with no contributed ids.
      Parameters:
      username - the viewer's username
      userIdentityId - the viewer's identity id
      templateIds - the space templates kept, null for all
      managingTemplateIds - the space templates the viewer manages
      categoryIds - the categories kept, null for all
      excludedCategoryIds - the categories left out
      term - the name condition
      favorites - whether only the viewer's favorite spaces are kept
      tagNames - the tags, any of which a space must carry
      status - the viewer's membership status kept, null for any
      registration - the registration kept, null for any
      visibility - the visibility kept, null for any
      sortField - the sort field
      sortDirection - the sort direction