Class PermanentLinkServiceImpl

java.lang.Object
io.meeds.portal.permlink.service.PermanentLinkServiceImpl
All Implemented Interfaces:
io.meeds.portal.permlink.service.PermanentLinkService, org.picocontainer.Startable

public class PermanentLinkServiceImpl extends Object implements io.meeds.portal.permlink.service.PermanentLinkService, org.picocontainer.Startable
  • Field Details

  • Constructor Details

    • PermanentLinkServiceImpl

      public PermanentLinkServiceImpl(org.exoplatform.container.PortalContainer container, org.exoplatform.commons.api.settings.SettingService settingService)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.picocontainer.Startable
    • getPermanentLink

      public String getPermanentLink(io.meeds.portal.permlink.model.PermanentLinkObject object)
      Specified by:
      getPermanentLink in interface io.meeds.portal.permlink.service.PermanentLinkService
    • getLink

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

      public String getDirectAccessUrl(String permanentLinkId, org.exoplatform.services.security.Identity identity) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getDirectAccessUrl in interface io.meeds.portal.permlink.service.PermanentLinkService
      Throws:
      IllegalAccessException
      org.exoplatform.commons.exception.ObjectNotFoundException
    • initPlugins

      protected void initPlugins()
    • addPlugin

      public void addPlugin(io.meeds.portal.permlink.plugin.PermanentLinkPlugin plugin)
      Specified by:
      addPlugin in interface io.meeds.portal.permlink.service.PermanentLinkService
    • initSalt

      protected void initSalt()