Class SocialActivityCounterLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,CTService<SocialActivityCounter>,PersistedModelLocalService,ServiceWrapper<SocialActivityCounterLocalService>,SocialActivityCounterLocalService
SocialActivityCounterLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionSocialActivityCounterLocalServiceWrapper(SocialActivityCounterLocalService socialActivityCounterLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddActivityCounter(long groupId, long classNameId, long classPK, String name, int ownerType, int totalValue, long previousActivityCounterId, int periodLength) Adds an activity counter specifying a previous activity and period length.voidaddActivityCounters(SocialActivity activity) Adds or increments activity counters related to an activity.addSocialActivityCounter(SocialActivityCounter socialActivityCounter) Adds the social activity counter to the database.createPersistedModel(Serializable primaryKeyObj) createSocialActivityCounter(long activityCounterId) Creates a new social activity counter with the primary key.voiddeleteActivityCounters(long classNameId, long classPK) Deletes all activity counters, limits, and settings related to the entity identified by the class name ID and class primary key.voiddeleteActivityCounters(AssetEntry assetEntry) Deletes all activity counters, limits, and settings related to the asset.voiddeleteActivityCounters(String className, long classPK) Deletes all activity counters for the entity identified by the class name and class primary key.deletePersistedModel(PersistedModel persistedModel) deleteSocialActivityCounter(long activityCounterId) Deletes the social activity counter with the primary key from the database.deleteSocialActivityCounter(SocialActivityCounter socialActivityCounter) Deletes the social activity counter from the database.voiddisableActivityCounters(long classNameId, long classPK) Disables all the counters of an asset identified by the class name ID and class primary key.voiddisableActivityCounters(String className, long classPK) Disables all the counters of an asset identified by the class name and class primary key.<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.voidenableActivityCounters(long classNameId, long classPK) Enables all activity counters of an asset identified by the class name ID and class primary key.voidenableActivityCounters(String className, long classPK) Enables all the counters of an asset identified by the class name and class primary key.fetchActivityCounterByEndPeriod(long groupId, long classNameId, long classPK, String name, int ownerType, int endPeriod) Returns the activity counter with the given name, owner, and end period that belong to the given entity.fetchActivityCounterByStartPeriod(long groupId, long classNameId, long classPK, String name, int ownerType, int startPeriod) Returns the activity counter with the given name, owner, and start period that belong to the given entity.fetchLatestActivityCounter(long groupId, long classNameId, long classPK, String name, int ownerType) Returns the latest activity counter with the given name and owner that belong to the given entity.fetchSocialActivityCounter(long activityCounterId) getOffsetActivityCounters(long groupId, String name, int startOffset, int endOffset) Returns all the activity counters with the given name and period offsets.getOffsetDistributionActivityCounters(long groupId, String name, int startOffset, int endOffset) Returns the distribution of the activity counters with the given name and period offsets.Returns the OSGi service identifier.getPeriodActivityCounters(long groupId, String name, int startPeriod, int endPeriod) Returns all the activity counters with the given name and time period.getPeriodDistributionActivityCounters(long groupId, String name, int startPeriod, int endPeriod) Returns the distribution of activity counters with the given name and time period.getPersistedModel(Serializable primaryKeyObj) getSocialActivityCounter(long activityCounterId) Returns the social activity counter with the primary key.getSocialActivityCounters(int start, int end) Returns a range of all the social activity counters.intReturns the number of social activity counters.getUserActivityCounters(long groupId, String[] rankingNames, String[] selectedNames, int start, int end) Returns the range of tuples that contain users and a list of activity counters.intgetUserActivityCountersCount(long groupId, String[] rankingNames) Returns the number of users having a rank based on the given counters.voidincrementUserAchievementCounter(long userId, long groupId) Increments theuser.achievementscounter for a user.voidsetWrappedService(SocialActivityCounterLocalService socialActivityCounterLocalService) updateSocialActivityCounter(SocialActivityCounter socialActivityCounter) Updates the social activity counter in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivityCounter>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
SocialActivityCounterLocalServiceWrapper
public SocialActivityCounterLocalServiceWrapper() -
SocialActivityCounterLocalServiceWrapper
public SocialActivityCounterLocalServiceWrapper(SocialActivityCounterLocalService socialActivityCounterLocalService)
-
-
Method Details
-
addActivityCounter
public SocialActivityCounter addActivityCounter(long groupId, long classNameId, long classPK, String name, int ownerType, int totalValue, long previousActivityCounterId, int periodLength) throws PortalException Adds an activity counter specifying a previous activity and period length.This method uses the lock service to guard against multiple threads trying to insert the same counter because this service is called asynchronously from the social activity service.
- Specified by:
addActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupclassNameId- the primary key of the entity's class this counter belongs toclassPK- the primary key of the entity this counter belongs toname- the counter nameownerType- the counter's owner type. Acceptable values areTYPE_ACTOR,TYPE_ASSETandTYPE_CREATORdefined inSocialActivityCounterConstants.totalValue- the counter's total value (optionally0)previousActivityCounterId- the primary key of the activity counter for the previous time period (optionally0, if this is the first)periodLength- the period length in days,PERIOD_LENGTH_INFINITEfor never ending counters orPERIOD_LENGTH_SYSTEMfor the period length defined inportal-ext.properties. For more information seeSocialActivityCounterConstants.- Returns:
- the added activity counter
- Throws:
PortalException
-
addActivityCounters
Adds or increments activity counters related to an activity.This method is called asynchronously from the social activity service when the user performs an activity defined in
liferay-social.xml.This method first calls the activity processor class, if there is one defined for the activity, checks for limits and increments all the counters that belong to the activity. Afterwards, it processes the activity with respect to achievement classes, if any. Lastly it increments the built-in
user.activitiesandasset.activitiescounters.- Specified by:
addActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
activity- the social activity- Throws:
PortalException
-
addSocialActivityCounter
Adds the social activity counter to the database. Also notifies the appropriate model listeners.Important: Inspect SocialActivityCounterLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addSocialActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
socialActivityCounter- the social activity counter- Returns:
- the social activity counter that was added
-
createPersistedModel
- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Specified by:
createPersistedModelin interfaceSocialActivityCounterLocalService- Throws:
PortalExceptionPortalException
-
createSocialActivityCounter
Creates a new social activity counter with the primary key. Does not add the social activity counter to the database.- Specified by:
createSocialActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
activityCounterId- the primary key for the new social activity counter- Returns:
- the new social activity counter
-
deleteActivityCounters
Deletes all activity counters, limits, and settings related to the asset.This method subtracts the asset's popularity from the owner's contribution points. It also creates a new contribution period if the latest one does not belong to the current period.
- Specified by:
deleteActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
assetEntry- the asset entry- Throws:
PortalException
-
deleteActivityCounters
Deletes all activity counters, limits, and settings related to the entity identified by the class name ID and class primary key.- Specified by:
deleteActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
classNameId- the primary key of the entity's classclassPK- the primary key of the entity- Throws:
PortalException
-
deleteActivityCounters
Deletes all activity counters for the entity identified by the class name and class primary key.- Specified by:
deleteActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
className- the entity's class nameclassPK- the primary key of the entity- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Specified by:
deletePersistedModelin interfaceSocialActivityCounterLocalService- Throws:
PortalExceptionPortalException
-
deleteSocialActivityCounter
public SocialActivityCounter deleteSocialActivityCounter(long activityCounterId) throws PortalException Deletes the social activity counter with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect SocialActivityCounterLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteSocialActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
activityCounterId- the primary key of the social activity counter- Returns:
- the social activity counter that was removed
- Throws:
PortalException- if a social activity counter with the primary key could not be foundPortalException
-
deleteSocialActivityCounter
public SocialActivityCounter deleteSocialActivityCounter(SocialActivityCounter socialActivityCounter) Deletes the social activity counter from the database. Also notifies the appropriate model listeners.Important: Inspect SocialActivityCounterLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteSocialActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
socialActivityCounter- the social activity counter- Returns:
- the social activity counter that was removed
-
disableActivityCounters
Disables all the counters of an asset identified by the class name ID and class primary key.This method is used by the recycle bin to disable all counters of assets put into the recycle bin. It adjusts the owner's contribution score.
- Specified by:
disableActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
classNameId- the primary key of the asset's classclassPK- the primary key of the asset- Throws:
PortalException
-
disableActivityCounters
Disables all the counters of an asset identified by the class name and class primary key.This method is used by the recycle bin to disable all counters of assets put into the recycle bin. It adjusts the owner's contribution score.
- Specified by:
disableActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
className- the asset's class nameclassPK- the primary key of the asset- Throws:
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacePersistedModelLocalService- Specified by:
dslQueryin interfaceSocialActivityCounterLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacePersistedModelLocalService- Specified by:
dslQueryCountin interfaceSocialActivityCounterLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceSocialActivityCounterLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceSocialActivityCounterLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl.- Specified by:
dynamicQueryin interfaceSocialActivityCounterLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl.- Specified by:
dynamicQueryin interfaceSocialActivityCounterLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceSocialActivityCounterLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceSocialActivityCounterLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
enableActivityCounters
Enables all activity counters of an asset identified by the class name ID and class primary key.This method is used by the recycle bin to enable all counters of assets restored from the recycle bin. It adjusts the owner's contribution score.
- Specified by:
enableActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
classNameId- the primary key of the asset's classclassPK- the primary key of the asset- Throws:
PortalException
-
enableActivityCounters
Enables all the counters of an asset identified by the class name and class primary key.This method is used by the recycle bin to enable all counters of assets restored from the recycle bin. It adjusts the owner's contribution score.
- Specified by:
enableActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
className- the asset's class nameclassPK- the primary key of the asset- Throws:
PortalException
-
fetchActivityCounterByEndPeriod
public SocialActivityCounter fetchActivityCounterByEndPeriod(long groupId, long classNameId, long classPK, String name, int ownerType, int endPeriod) Returns the activity counter with the given name, owner, and end period that belong to the given entity.- Specified by:
fetchActivityCounterByEndPeriodin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupclassNameId- the primary key of the entity's classclassPK- the primary key of the entityname- the counter nameownerType- the owner typeendPeriod- the end period,-1for the latest one- Returns:
- the matching activity counter
-
fetchActivityCounterByStartPeriod
public SocialActivityCounter fetchActivityCounterByStartPeriod(long groupId, long classNameId, long classPK, String name, int ownerType, int startPeriod) Returns the activity counter with the given name, owner, and start period that belong to the given entity.- Specified by:
fetchActivityCounterByStartPeriodin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupclassNameId- the primary key of the entity's classclassPK- the primary key of the entityname- the counter nameownerType- the owner typestartPeriod- the start period- Returns:
- the matching activity counter
-
fetchLatestActivityCounter
public SocialActivityCounter fetchLatestActivityCounter(long groupId, long classNameId, long classPK, String name, int ownerType) Returns the latest activity counter with the given name and owner that belong to the given entity.- Specified by:
fetchLatestActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupclassNameId- the primary key of the entity's classclassPK- the primary key of the entityname- the counter nameownerType- the owner type- Returns:
- the matching activity counter
-
fetchSocialActivityCounter
- Specified by:
fetchSocialActivityCounterin interfaceSocialActivityCounterLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceSocialActivityCounterLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceSocialActivityCounterLocalService
-
getOffsetActivityCounters
public List<SocialActivityCounter> getOffsetActivityCounters(long groupId, String name, int startOffset, int endOffset) Returns all the activity counters with the given name and period offsets.The start and end offsets can belong to different periods. This method groups the counters by name and returns the sum of their current values.
- Specified by:
getOffsetActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupname- the counter namestartOffset- the offset for the start periodendOffset- the offset for the end period- Returns:
- the matching activity counters
-
getOffsetDistributionActivityCounters
public List<SocialActivityCounter> getOffsetDistributionActivityCounters(long groupId, String name, int startOffset, int endOffset) Returns the distribution of the activity counters with the given name and period offsets.The start and end offsets can belong to different periods. This method groups the counters by their owner entity (usually some asset) and returns a counter for each entity class with the sum of the counters' current values.
- Specified by:
getOffsetDistributionActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupname- the counter namestartOffset- the offset for the start periodendOffset- the offset for the end period- Returns:
- the distribution of matching activity counters
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceSocialActivityCounterLocalService- Returns:
- the OSGi service identifier
-
getPeriodActivityCounters
public List<SocialActivityCounter> getPeriodActivityCounters(long groupId, String name, int startPeriod, int endPeriod) Returns all the activity counters with the given name and time period.The start and end period values can belong to different periods. This method groups the counters by name and returns the sum of their current values.
- Specified by:
getPeriodActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupname- the counter namestartPeriod- the start periodendPeriod- the end period- Returns:
- the matching activity counters
-
getPeriodDistributionActivityCounters
public List<SocialActivityCounter> getPeriodDistributionActivityCounters(long groupId, String name, int startPeriod, int endPeriod) Returns the distribution of activity counters with the given name and time period.The start and end period values can belong to different periods. This method groups the counters by their owner entity (usually some asset) and returns a counter for each entity class with the sum of the counters' current values.
- Specified by:
getPeriodDistributionActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the groupname- the counter namestartPeriod- the start periodendPeriod- the end period- Returns:
- the distribution of matching activity counters
-
getPersistedModel
- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Specified by:
getPersistedModelin interfaceSocialActivityCounterLocalService- Throws:
PortalExceptionPortalException
-
getSocialActivityCounter
public SocialActivityCounter getSocialActivityCounter(long activityCounterId) throws PortalException Returns the social activity counter with the primary key.- Specified by:
getSocialActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
activityCounterId- the primary key of the social activity counter- Returns:
- the social activity counter
- Throws:
PortalException- if a social activity counter with the primary key could not be foundPortalException
-
getSocialActivityCounters
Returns a range of all the social activity counters.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl.- Specified by:
getSocialActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
start- the lower bound of the range of social activity countersend- the upper bound of the range of social activity counters (not inclusive)- Returns:
- the range of social activity counters
-
getSocialActivityCountersCount
public int getSocialActivityCountersCount()Returns the number of social activity counters.- Specified by:
getSocialActivityCountersCountin interfaceSocialActivityCounterLocalService- Returns:
- the number of social activity counters
-
getUserActivityCounters
public List<Tuple> getUserActivityCounters(long groupId, String[] rankingNames, String[] selectedNames, int start, int end) Returns the range of tuples that contain users and a list of activity counters.The counters returned for each user are passed to this method in the selectedNames array. The method also accepts an array of counter names that are used to rank the users.
Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set.- Specified by:
getUserActivityCountersin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the grouprankingNames- the ranking counter namesselectedNames- the counter names that will be returned with each userstart- the lower bound of the range of resultsend- the upper bound of the range of results (not inclusive)- Returns:
- the range of matching tuples
-
getUserActivityCountersCount
Returns the number of users having a rank based on the given counters.- Specified by:
getUserActivityCountersCountin interfaceSocialActivityCounterLocalService- Parameters:
groupId- the primary key of the grouprankingNames- the ranking counter names- Returns:
- the number of matching users
-
incrementUserAchievementCounter
Increments theuser.achievementscounter for a user.This method should be used by an external achievement class when the users unlocks an achievement.
- Specified by:
incrementUserAchievementCounterin interfaceSocialActivityCounterLocalService- Parameters:
userId- the primary key of the usergroupId- the primary key of the group- Throws:
PortalException
-
updateSocialActivityCounter
public SocialActivityCounter updateSocialActivityCounter(SocialActivityCounter socialActivityCounter) Updates the social activity counter in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect SocialActivityCounterLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateSocialActivityCounterin interfaceSocialActivityCounterLocalService- Parameters:
socialActivityCounter- the social activity counter- Returns:
- the social activity counter that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<SocialActivityCounter>- Specified by:
getCTPersistencein interfaceSocialActivityCounterLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<SocialActivityCounter>- Specified by:
getModelClassin interfaceSocialActivityCounterLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivityCounter>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<SocialActivityCounter>- Specified by:
updateWithUnsafeFunctionin interfaceSocialActivityCounterLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<SocialActivityCounterLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<SocialActivityCounterLocalService>
-