Package io.meeds.social.permlink.plugin
Class ActivityPermanentLinkPlugin
java.lang.Object
io.meeds.social.permlink.plugin.ActivityPermanentLinkPlugin
- All Implemented Interfaces:
io.meeds.portal.permlink.plugin.PermanentLinkPlugin
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionActivityPermanentLinkPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.portal.config.UserPortalConfigService portalConfigService) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAccess(io.meeds.portal.permlink.model.PermanentLinkObject object, org.exoplatform.services.security.Identity identity) getDirectAccessUrl(io.meeds.portal.permlink.model.PermanentLinkObject object)
-
Field Details
-
OBJECT_TYPE
- See Also:
-
URL_FORMAT
- See Also:
-
-
Constructor Details
-
ActivityPermanentLinkPlugin
public ActivityPermanentLinkPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.portal.config.UserPortalConfigService portalConfigService)
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceio.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:
canAccessin interfaceio.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:
getDirectAccessUrlin interfaceio.meeds.portal.permlink.plugin.PermanentLinkPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-