Package io.meeds.social.category.service
Interface CategoryPluginService
public interface CategoryPluginService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(CategoryPlugin categoryPlugin) booleangetCategoryIds(String objectType, long spaceId) getCategoryPlugin(String objectType) getObject(CategoryObject object) In some cases such as Activities, the Metadata Object is different, thus this method is used to switch the associatedCategoryObject
-
Method Details
-
getCategoryPlugin
- Parameters:
objectType-CategoryObjecttype- Returns:
- associated
CategoryPluginmanaging this type of objects
-
addPlugin
- Parameters:
categoryPlugin- add newCategoryPlugin
-
canEdit
- Parameters:
objectType-CategoryObjecttypeobjectId-CategoryObjectidusername- User technical name (login identifier)- Returns:
- true if user can edit the object identified by its id and type, else false
-
getCategoryIds
- Parameters:
objectType-CategoryObjecttypespaceId-Spaceidentifier- Returns:
ListofCategoryIds associated to an object type
-
getObject
In some cases such as Activities, the Metadata Object is different, thus this method is used to switch the associatedCategoryObject- Parameters:
object-CategoryObject- Returns:
CategoryObject
-