Class SpaceCategoryServiceImpl
java.lang.Object
io.meeds.social.space.category.service.SpaceCategoryServiceImpl
- All Implemented Interfaces:
SpaceCategoryService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSpaceCategoryIds(long spaceId) voidupdateSpaceCategories(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 categoriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.meeds.social.space.category.service.SpaceCategoryService
updateSpaceCategories
-
Constructor Details
-
SpaceCategoryServiceImpl
public SpaceCategoryServiceImpl()
-
-
Method Details
-
getSpaceCategoryIds
- Specified by:
getSpaceCategoryIdsin interfaceSpaceCategoryService- Parameters:
spaceId-Spaceidentifier- Returns:
Listof linked category identifiers
-
getSpaceCategoryIds
- Specified by:
getSpaceCategoryIdsin interfaceSpaceCategoryService- Returns:
Listof linked category identifiers to spaces
-
updateSpaceCategories
Description copied from interface:SpaceCategoryServiceUpdates the list of Space Categories with the possibility to add new ones only without dropping existing linked categories- Specified by:
updateSpaceCategoriesin interfaceSpaceCategoryService- Parameters:
spaceId-SpaceidentifiercategoryIds-Listof category identifiers to linkremoveExisting- whether to remove existing or just add new ones
-