Interface SpaceCategoryService

All Known Implementing Classes:
SpaceCategoryServiceImpl

public interface SpaceCategoryService
  • Method Details

    • updateSpaceCategories

      default void updateSpaceCategories(long spaceId, List<Long> categoryIds)
      Updates the list of Space Categories
      Parameters:
      spaceId - Space identifier
      categoryIds - List of category identifiers to link
    • updateSpaceCategories

      void updateSpaceCategories(long spaceId, List<Long> categoryIds, boolean removeExisting)
      Updates the list of Space Categories with the possibility to add new ones only without dropping existing linked categories
      Parameters:
      spaceId - Space identifier
      categoryIds - List of category identifiers to link
      removeExisting - whether to remove existing or just add new ones
    • getSpaceCategoryIds

      List<Long> getSpaceCategoryIds(long spaceId)
      Parameters:
      spaceId - Space identifier
      Returns:
      List of linked category identifiers
    • getSpaceCategoryIds

      List<Long> getSpaceCategoryIds()
      Returns:
      List of linked category identifiers to spaces