Package io.meeds.social.observe.plugin
Class ActivityOberverPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.social.observe.plugin.ObserverPlugin
io.meeds.social.observe.plugin.ActivityOberverPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class ActivityOberverPlugin
extends io.meeds.social.observe.plugin.ObserverPlugin
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionActivityOberverPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.services.security.IdentityRegistry identityRegistry) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanObserve(long identityId, String objectId) longgetAudienceId(String objectId) io.meeds.social.observe.model.ObserverObjectgetExtendedObserverObject(String objectId) longgetSpaceId(String objectId) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
OBJECT_TYPE
- See Also:
-
-
Constructor Details
-
ActivityOberverPlugin
public ActivityOberverPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.services.security.IdentityRegistry identityRegistry)
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein classio.meeds.social.observe.plugin.ObserverPlugin
-
canObserve
public boolean canObserve(long identityId, String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
canObservein classio.meeds.social.observe.plugin.ObserverPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getAudienceId
public long getAudienceId(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
getAudienceIdin classio.meeds.social.observe.plugin.ObserverPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getSpaceId
public long getSpaceId(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
getSpaceIdin classio.meeds.social.observe.plugin.ObserverPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getExtendedObserverObject
public io.meeds.social.observe.model.ObserverObject getExtendedObserverObject(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Overrides:
getExtendedObserverObjectin classio.meeds.social.observe.plugin.ObserverPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-