Class CategoryLinkServiceImpl

java.lang.Object
io.meeds.social.category.service.CategoryLinkServiceImpl
All Implemented Interfaces:
io.meeds.social.category.service.CategoryLinkService

@Service public class CategoryLinkServiceImpl extends Object implements io.meeds.social.category.service.CategoryLinkService
  • Constructor Details

    • CategoryLinkServiceImpl

      public CategoryLinkServiceImpl()
  • Method Details

    • getLinkedIds

      public List<Long> getLinkedIds(io.meeds.social.category.model.CategoryObject object)
      Specified by:
      getLinkedIds in interface io.meeds.social.category.service.CategoryLinkService
    • getLinkedIds

      public Map<String, List<Long>> getLinkedIds(String objectType, List<String> objectIds)
      Specified by:
      getLinkedIds in interface io.meeds.social.category.service.CategoryLinkService
    • getLinkedIds

      public List<Long> getLinkedIds(String objectType)
      Specified by:
      getLinkedIds in interface io.meeds.social.category.service.CategoryLinkService
    • getLinkedObjects

      public List<io.meeds.social.category.model.CategoryObject> getLinkedObjects(long categoryId, List<String> objectTypes, int offset, int limit)
      Specified by:
      getLinkedObjects in interface io.meeds.social.category.service.CategoryLinkService
    • isLinked

      public boolean isLinked(long categoryId, io.meeds.social.category.model.CategoryObject object)
      Specified by:
      isLinked in interface io.meeds.social.category.service.CategoryLinkService
    • link

      public void link(long categoryId, io.meeds.social.category.model.CategoryObject object, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, org.exoplatform.commons.ObjectAlreadyExistsException, IllegalAccessException
      Specified by:
      link in interface io.meeds.social.category.service.CategoryLinkService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      org.exoplatform.commons.ObjectAlreadyExistsException
      IllegalAccessException
    • link

      public void link(long categoryId, io.meeds.social.category.model.CategoryObject object)
      Specified by:
      link in interface io.meeds.social.category.service.CategoryLinkService
    • unlink

      public void unlink(long categoryId, io.meeds.social.category.model.CategoryObject object, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      unlink in interface io.meeds.social.category.service.CategoryLinkService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • unlink

      public void unlink(long categoryId, io.meeds.social.category.model.CategoryObject object)
      Specified by:
      unlink in interface io.meeds.social.category.service.CategoryLinkService