Class ActivityPermanentLinkPlugin

java.lang.Object
io.meeds.social.activity.plugin.ActivityPermanentLinkPlugin
All Implemented Interfaces:
io.meeds.portal.permlink.plugin.PermanentLinkPlugin

@Component public class ActivityPermanentLinkPlugin extends Object implements io.meeds.portal.permlink.plugin.PermanentLinkPlugin
A plugin to generate a permanent link to a given activity/comment/reply
  • Field Details

  • Constructor Details

    • ActivityPermanentLinkPlugin

      public ActivityPermanentLinkPlugin()
  • Method Details

    • init

      @PostConstruct public void init()
    • getObjectType

      public String getObjectType()
      Specified by:
      getObjectType in interface io.meeds.portal.permlink.plugin.PermanentLinkPlugin
    • canAccess

      public boolean canAccess(io.meeds.portal.permlink.model.PermanentLinkObject object, org.exoplatform.services.security.Identity identity) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      canAccess in interface io.meeds.portal.permlink.plugin.PermanentLinkPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getDirectAccessUrl

      public String getDirectAccessUrl(io.meeds.portal.permlink.model.PermanentLinkObject object) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getDirectAccessUrl in interface io.meeds.portal.permlink.plugin.PermanentLinkPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException