Liferay 6.1.2-ce-ga3

com.liferay.portlet.social.service.base
Class SocialActivityCounterLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.social.service.base.SocialActivityCounterLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, SocialActivityCounterLocalService
Direct Known Subclasses:
SocialActivityCounterLocalServiceImpl

public abstract class SocialActivityCounterLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements SocialActivityCounterLocalService, IdentifiableBean

The base implementation of the social activity counter local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in SocialActivityCounterLocalServiceImpl.

See Also:
SocialActivityCounterLocalServiceImpl, SocialActivityCounterLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetEntryService assetEntryService
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  LockFinder lockFinder
           
protected  LockLocalService lockLocalService
           
protected  LockPersistence lockPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  SocialActivityAchievementLocalService socialActivityAchievementLocalService
           
protected  SocialActivityAchievementPersistence socialActivityAchievementPersistence
           
protected  SocialActivityCounterFinder socialActivityCounterFinder
           
protected  SocialActivityCounterLocalService socialActivityCounterLocalService
           
protected  SocialActivityCounterPersistence socialActivityCounterPersistence
           
protected  SocialActivityFinder socialActivityFinder
           
protected  SocialActivityInterpreterLocalService socialActivityInterpreterLocalService
           
protected  SocialActivityLimitLocalService socialActivityLimitLocalService
           
protected  SocialActivityLimitPersistence socialActivityLimitPersistence
           
protected  SocialActivityLocalService socialActivityLocalService
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SocialActivitySettingLocalService socialActivitySettingLocalService
           
protected  SocialActivitySettingPersistence socialActivitySettingPersistence
           
protected  SocialActivitySettingService socialActivitySettingService
           
protected  SocialRelationLocalService socialRelationLocalService
           
protected  SocialRelationPersistence socialRelationPersistence
           
protected  SocialRequestInterpreterLocalService socialRequestInterpreterLocalService
           
protected  SocialRequestLocalService socialRequestLocalService
           
protected  SocialRequestPersistence socialRequestPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
SocialActivityCounterLocalServiceBaseImpl()
           
 
Method Summary
 SocialActivityCounter addSocialActivityCounter(SocialActivityCounter socialActivityCounter)
          Adds the social activity counter to the database.
 void afterPropertiesSet()
           
 SocialActivityCounter createSocialActivityCounter(long activityCounterId)
          Creates a new social activity counter with the primary key.
 SocialActivityCounter deleteSocialActivityCounter(long activityCounterId)
          Deletes the social activity counter with the primary key from the database.
 SocialActivityCounter deleteSocialActivityCounter(SocialActivityCounter socialActivityCounter)
          Deletes the social activity counter from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 SocialActivityCounter fetchSocialActivityCounter(long activityCounterId)
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetEntryService getAssetEntryService()
          Returns the asset entry remote service.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote service.
 LockFinder getLockFinder()
          Returns the lock finder.
 LockLocalService getLockLocalService()
          Returns the lock local service.
 LockPersistence getLockPersistence()
          Returns the lock persistence.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 SocialActivityAchievementLocalService getSocialActivityAchievementLocalService()
          Returns the social activity achievement local service.
 SocialActivityAchievementPersistence getSocialActivityAchievementPersistence()
          Returns the social activity achievement persistence.
 SocialActivityCounter getSocialActivityCounter(long activityCounterId)
          Returns the social activity counter with the primary key.
 SocialActivityCounterFinder getSocialActivityCounterFinder()
          Returns the social activity counter finder.
 SocialActivityCounterLocalService getSocialActivityCounterLocalService()
          Returns the social activity counter local service.
 SocialActivityCounterPersistence getSocialActivityCounterPersistence()
          Returns the social activity counter persistence.
 List<SocialActivityCounter> getSocialActivityCounters(int start, int end)
          Returns a range of all the social activity counters.
 int getSocialActivityCountersCount()
          Returns the number of social activity counters.
 SocialActivityFinder getSocialActivityFinder()
          Returns the social activity finder.
 SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService()
          Returns the social activity interpreter local service.
 SocialActivityLimitLocalService getSocialActivityLimitLocalService()
          Returns the social activity limit local service.
 SocialActivityLimitPersistence getSocialActivityLimitPersistence()
          Returns the social activity limit persistence.
 SocialActivityLocalService getSocialActivityLocalService()
          Returns the social activity local service.
 SocialActivityPersistence getSocialActivityPersistence()
          Returns the social activity persistence.
 SocialActivitySettingLocalService getSocialActivitySettingLocalService()
          Returns the social activity setting local service.
 SocialActivitySettingPersistence getSocialActivitySettingPersistence()
          Returns the social activity setting persistence.
 SocialActivitySettingService getSocialActivitySettingService()
          Returns the social activity setting remote service.
 SocialRelationLocalService getSocialRelationLocalService()
          Returns the social relation local service.
 SocialRelationPersistence getSocialRelationPersistence()
          Returns the social relation persistence.
 SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService()
          Returns the social request interpreter local service.
 SocialRequestLocalService getSocialRequestLocalService()
          Returns the social request local service.
 SocialRequestPersistence getSocialRequestPersistence()
          Returns the social request persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetEntryService(AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setLockFinder(LockFinder lockFinder)
          Sets the lock finder.
 void setLockLocalService(LockLocalService lockLocalService)
          Sets the lock local service.
 void setLockPersistence(LockPersistence lockPersistence)
          Sets the lock persistence.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void setSocialActivityAchievementLocalService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
          Sets the social activity achievement local service.
 void setSocialActivityAchievementPersistence(SocialActivityAchievementPersistence socialActivityAchievementPersistence)
          Sets the social activity achievement persistence.
 void setSocialActivityCounterFinder(SocialActivityCounterFinder socialActivityCounterFinder)
          Sets the social activity counter finder.
 void setSocialActivityCounterLocalService(SocialActivityCounterLocalService socialActivityCounterLocalService)
          Sets the social activity counter local service.
 void setSocialActivityCounterPersistence(SocialActivityCounterPersistence socialActivityCounterPersistence)
          Sets the social activity counter persistence.
 void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
          Sets the social activity finder.
 void setSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
          Sets the social activity interpreter local service.
 void setSocialActivityLimitLocalService(SocialActivityLimitLocalService socialActivityLimitLocalService)
          Sets the social activity limit local service.
 void setSocialActivityLimitPersistence(SocialActivityLimitPersistence socialActivityLimitPersistence)
          Sets the social activity limit persistence.
 void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
          Sets the social activity local service.
 void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
          Sets the social activity persistence.
 void setSocialActivitySettingLocalService(SocialActivitySettingLocalService socialActivitySettingLocalService)
          Sets the social activity setting local service.
 void setSocialActivitySettingPersistence(SocialActivitySettingPersistence socialActivitySettingPersistence)
          Sets the social activity setting persistence.
 void setSocialActivitySettingService(SocialActivitySettingService socialActivitySettingService)
          Sets the social activity setting remote service.
 void setSocialRelationLocalService(SocialRelationLocalService socialRelationLocalService)
          Sets the social relation local service.
 void setSocialRelationPersistence(SocialRelationPersistence socialRelationPersistence)
          Sets the social relation persistence.
 void setSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
          Sets the social request interpreter local service.
 void setSocialRequestLocalService(SocialRequestLocalService socialRequestLocalService)
          Sets the social request local service.
 void setSocialRequestPersistence(SocialRequestPersistence socialRequestPersistence)
          Sets the social request persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 SocialActivityCounter updateSocialActivityCounter(SocialActivityCounter socialActivityCounter)
          Updates the social activity counter in the database or adds it if it does not yet exist.
 SocialActivityCounter updateSocialActivityCounter(SocialActivityCounter socialActivityCounter, boolean merge)
          Updates the social activity counter in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.social.service.SocialActivityCounterLocalService
addActivityCounter, addActivityCounter, addActivityCounters, createActivityCounter, createActivityCounter, deleteActivityCounters, deleteActivityCounters, fetchActivityCounterByEndPeriod, fetchActivityCounterByStartPeriod, fetchLatestActivityCounter, getOffsetActivityCounters, getOffsetDistributionActivityCounters, getPeriodActivityCounters, getPeriodDistributionActivityCounters, getUserActivityCounters, getUserActivityCountersCount, incrementUserAchievementCounter
 

Field Detail

socialActivityLocalService

@BeanReference(type=SocialActivityLocalService.class)
protected SocialActivityLocalService socialActivityLocalService

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialActivityFinder

@BeanReference(type=SocialActivityFinder.class)
protected SocialActivityFinder socialActivityFinder

socialActivityAchievementLocalService

@BeanReference(type=SocialActivityAchievementLocalService.class)
protected SocialActivityAchievementLocalService socialActivityAchievementLocalService

socialActivityAchievementPersistence

@BeanReference(type=SocialActivityAchievementPersistence.class)
protected SocialActivityAchievementPersistence socialActivityAchievementPersistence

socialActivityCounterLocalService

@BeanReference(type=SocialActivityCounterLocalService.class)
protected SocialActivityCounterLocalService socialActivityCounterLocalService

socialActivityCounterPersistence

@BeanReference(type=SocialActivityCounterPersistence.class)
protected SocialActivityCounterPersistence socialActivityCounterPersistence

socialActivityCounterFinder

@BeanReference(type=SocialActivityCounterFinder.class)
protected SocialActivityCounterFinder socialActivityCounterFinder

socialActivityInterpreterLocalService

@BeanReference(type=SocialActivityInterpreterLocalService.class)
protected SocialActivityInterpreterLocalService socialActivityInterpreterLocalService

socialActivityLimitLocalService

@BeanReference(type=SocialActivityLimitLocalService.class)
protected SocialActivityLimitLocalService socialActivityLimitLocalService

socialActivityLimitPersistence

@BeanReference(type=SocialActivityLimitPersistence.class)
protected SocialActivityLimitPersistence socialActivityLimitPersistence

socialActivitySettingLocalService

@BeanReference(type=SocialActivitySettingLocalService.class)
protected SocialActivitySettingLocalService socialActivitySettingLocalService

socialActivitySettingService

@BeanReference(type=SocialActivitySettingService.class)
protected SocialActivitySettingService socialActivitySettingService

socialActivitySettingPersistence

@BeanReference(type=SocialActivitySettingPersistence.class)
protected SocialActivitySettingPersistence socialActivitySettingPersistence

socialRelationLocalService

@BeanReference(type=SocialRelationLocalService.class)
protected SocialRelationLocalService socialRelationLocalService

socialRelationPersistence

@BeanReference(type=SocialRelationPersistence.class)
protected SocialRelationPersistence socialRelationPersistence

socialRequestLocalService

@BeanReference(type=SocialRequestLocalService.class)
protected SocialRequestLocalService socialRequestLocalService

socialRequestPersistence

@BeanReference(type=SocialRequestPersistence.class)
protected SocialRequestPersistence socialRequestPersistence

socialRequestInterpreterLocalService

@BeanReference(type=SocialRequestInterpreterLocalService.class)
protected SocialRequestInterpreterLocalService socialRequestInterpreterLocalService

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

lockLocalService

@BeanReference(type=LockLocalService.class)
protected LockLocalService lockLocalService

lockPersistence

@BeanReference(type=LockPersistence.class)
protected LockPersistence lockPersistence

lockFinder

@BeanReference(type=LockFinder.class)
protected LockFinder lockFinder

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryService

@BeanReference(type=AssetEntryService.class)
protected AssetEntryService assetEntryService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

SocialActivityCounterLocalServiceBaseImpl

public SocialActivityCounterLocalServiceBaseImpl()
Method Detail

addSocialActivityCounter

@Indexable(type=REINDEX)
public SocialActivityCounter addSocialActivityCounter(SocialActivityCounter socialActivityCounter)
                                               throws SystemException
Adds the social activity counter to the database. Also notifies the appropriate model listeners.

Specified by:
addSocialActivityCounter in interface SocialActivityCounterLocalService
Parameters:
socialActivityCounter - the social activity counter
Returns:
the social activity counter that was added
Throws:
SystemException - if a system exception occurred

createSocialActivityCounter

public SocialActivityCounter createSocialActivityCounter(long activityCounterId)
Creates a new social activity counter with the primary key. Does not add the social activity counter to the database.

Specified by:
createSocialActivityCounter in interface SocialActivityCounterLocalService
Parameters:
activityCounterId - the primary key for the new social activity counter
Returns:
the new social activity counter

deleteSocialActivityCounter

@Indexable(type=DELETE)
public SocialActivityCounter deleteSocialActivityCounter(long activityCounterId)
                                                  throws PortalException,
                                                         SystemException
Deletes the social activity counter with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialActivityCounter in interface SocialActivityCounterLocalService
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 found
SystemException - if a system exception occurred

deleteSocialActivityCounter

@Indexable(type=DELETE)
public SocialActivityCounter deleteSocialActivityCounter(SocialActivityCounter socialActivityCounter)
                                                  throws SystemException
Deletes the social activity counter from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialActivityCounter in interface SocialActivityCounterLocalService
Parameters:
socialActivityCounter - the social activity counter
Returns:
the social activity counter that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface SocialActivityCounterLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface SocialActivityCounterLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface SocialActivityCounterLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface SocialActivityCounterLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface SocialActivityCounterLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchSocialActivityCounter

public SocialActivityCounter fetchSocialActivityCounter(long activityCounterId)
                                                 throws SystemException
Specified by:
fetchSocialActivityCounter in interface SocialActivityCounterLocalService
Throws:
SystemException

getSocialActivityCounter

public SocialActivityCounter getSocialActivityCounter(long activityCounterId)
                                               throws PortalException,
                                                      SystemException
Returns the social activity counter with the primary key.

Specified by:
getSocialActivityCounter in interface SocialActivityCounterLocalService
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 found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface SocialActivityCounterLocalService
Throws:
PortalException
SystemException

getSocialActivityCounters

public List<SocialActivityCounter> getSocialActivityCounters(int start,
                                                             int end)
                                                      throws SystemException
Returns a range of all the social activity counters.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getSocialActivityCounters in interface SocialActivityCounterLocalService
Parameters:
start - the lower bound of the range of social activity counters
end - the upper bound of the range of social activity counters (not inclusive)
Returns:
the range of social activity counters
Throws:
SystemException - if a system exception occurred

getSocialActivityCountersCount

public int getSocialActivityCountersCount()
                                   throws SystemException
Returns the number of social activity counters.

Specified by:
getSocialActivityCountersCount in interface SocialActivityCounterLocalService
Returns:
the number of social activity counters
Throws:
SystemException - if a system exception occurred

updateSocialActivityCounter

@Indexable(type=REINDEX)
public SocialActivityCounter updateSocialActivityCounter(SocialActivityCounter socialActivityCounter)
                                                  throws SystemException
Updates the social activity counter in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSocialActivityCounter in interface SocialActivityCounterLocalService
Parameters:
socialActivityCounter - the social activity counter
Returns:
the social activity counter that was updated
Throws:
SystemException - if a system exception occurred

updateSocialActivityCounter

@Indexable(type=REINDEX)
public SocialActivityCounter updateSocialActivityCounter(SocialActivityCounter socialActivityCounter,
                                                                              boolean merge)
                                                  throws SystemException
Updates the social activity counter in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSocialActivityCounter in interface SocialActivityCounterLocalService
Parameters:
socialActivityCounter - the social activity counter
merge - whether to merge the social activity counter with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the social activity counter that was updated
Throws:
SystemException - if a system exception occurred

getSocialActivityLocalService

public SocialActivityLocalService getSocialActivityLocalService()
Returns the social activity local service.

Returns:
the social activity local service

setSocialActivityLocalService

public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service.

Parameters:
socialActivityLocalService - the social activity local service

getSocialActivityPersistence

public SocialActivityPersistence getSocialActivityPersistence()
Returns the social activity persistence.

Returns:
the social activity persistence

setSocialActivityPersistence

public void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence.

Parameters:
socialActivityPersistence - the social activity persistence

getSocialActivityFinder

public SocialActivityFinder getSocialActivityFinder()
Returns the social activity finder.

Returns:
the social activity finder

setSocialActivityFinder

public void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder.

Parameters:
socialActivityFinder - the social activity finder

getSocialActivityAchievementLocalService

public SocialActivityAchievementLocalService getSocialActivityAchievementLocalService()
Returns the social activity achievement local service.

Returns:
the social activity achievement local service

setSocialActivityAchievementLocalService

public void setSocialActivityAchievementLocalService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
Sets the social activity achievement local service.

Parameters:
socialActivityAchievementLocalService - the social activity achievement local service

getSocialActivityAchievementPersistence

public SocialActivityAchievementPersistence getSocialActivityAchievementPersistence()
Returns the social activity achievement persistence.

Returns:
the social activity achievement persistence

setSocialActivityAchievementPersistence

public void setSocialActivityAchievementPersistence(SocialActivityAchievementPersistence socialActivityAchievementPersistence)
Sets the social activity achievement persistence.

Parameters:
socialActivityAchievementPersistence - the social activity achievement persistence

getSocialActivityCounterLocalService

public SocialActivityCounterLocalService getSocialActivityCounterLocalService()
Returns the social activity counter local service.

Returns:
the social activity counter local service

setSocialActivityCounterLocalService

public void setSocialActivityCounterLocalService(SocialActivityCounterLocalService socialActivityCounterLocalService)
Sets the social activity counter local service.

Parameters:
socialActivityCounterLocalService - the social activity counter local service

getSocialActivityCounterPersistence

public SocialActivityCounterPersistence getSocialActivityCounterPersistence()
Returns the social activity counter persistence.

Returns:
the social activity counter persistence

setSocialActivityCounterPersistence

public void setSocialActivityCounterPersistence(SocialActivityCounterPersistence socialActivityCounterPersistence)
Sets the social activity counter persistence.

Parameters:
socialActivityCounterPersistence - the social activity counter persistence

getSocialActivityCounterFinder

public SocialActivityCounterFinder getSocialActivityCounterFinder()
Returns the social activity counter finder.

Returns:
the social activity counter finder

setSocialActivityCounterFinder

public void setSocialActivityCounterFinder(SocialActivityCounterFinder socialActivityCounterFinder)
Sets the social activity counter finder.

Parameters:
socialActivityCounterFinder - the social activity counter finder

getSocialActivityInterpreterLocalService

public SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService()
Returns the social activity interpreter local service.

Returns:
the social activity interpreter local service

setSocialActivityInterpreterLocalService

public void setSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Sets the social activity interpreter local service.

Parameters:
socialActivityInterpreterLocalService - the social activity interpreter local service

getSocialActivityLimitLocalService

public SocialActivityLimitLocalService getSocialActivityLimitLocalService()
Returns the social activity limit local service.

Returns:
the social activity limit local service

setSocialActivityLimitLocalService

public void setSocialActivityLimitLocalService(SocialActivityLimitLocalService socialActivityLimitLocalService)
Sets the social activity limit local service.

Parameters:
socialActivityLimitLocalService - the social activity limit local service

getSocialActivityLimitPersistence

public SocialActivityLimitPersistence getSocialActivityLimitPersistence()
Returns the social activity limit persistence.

Returns:
the social activity limit persistence

setSocialActivityLimitPersistence

public void setSocialActivityLimitPersistence(SocialActivityLimitPersistence socialActivityLimitPersistence)
Sets the social activity limit persistence.

Parameters:
socialActivityLimitPersistence - the social activity limit persistence

getSocialActivitySettingLocalService

public SocialActivitySettingLocalService getSocialActivitySettingLocalService()
Returns the social activity setting local service.

Returns:
the social activity setting local service

setSocialActivitySettingLocalService

public void setSocialActivitySettingLocalService(SocialActivitySettingLocalService socialActivitySettingLocalService)
Sets the social activity setting local service.

Parameters:
socialActivitySettingLocalService - the social activity setting local service

getSocialActivitySettingService

public SocialActivitySettingService getSocialActivitySettingService()
Returns the social activity setting remote service.

Returns:
the social activity setting remote service

setSocialActivitySettingService

public void setSocialActivitySettingService(SocialActivitySettingService socialActivitySettingService)
Sets the social activity setting remote service.

Parameters:
socialActivitySettingService - the social activity setting remote service

getSocialActivitySettingPersistence

public SocialActivitySettingPersistence getSocialActivitySettingPersistence()
Returns the social activity setting persistence.

Returns:
the social activity setting persistence

setSocialActivitySettingPersistence

public void setSocialActivitySettingPersistence(SocialActivitySettingPersistence socialActivitySettingPersistence)
Sets the social activity setting persistence.

Parameters:
socialActivitySettingPersistence - the social activity setting persistence

getSocialRelationLocalService

public SocialRelationLocalService getSocialRelationLocalService()
Returns the social relation local service.

Returns:
the social relation local service

setSocialRelationLocalService

public void setSocialRelationLocalService(SocialRelationLocalService socialRelationLocalService)
Sets the social relation local service.

Parameters:
socialRelationLocalService - the social relation local service

getSocialRelationPersistence

public SocialRelationPersistence getSocialRelationPersistence()
Returns the social relation persistence.

Returns:
the social relation persistence

setSocialRelationPersistence

public void setSocialRelationPersistence(SocialRelationPersistence socialRelationPersistence)
Sets the social relation persistence.

Parameters:
socialRelationPersistence - the social relation persistence

getSocialRequestLocalService

public SocialRequestLocalService getSocialRequestLocalService()
Returns the social request local service.

Returns:
the social request local service

setSocialRequestLocalService

public void setSocialRequestLocalService(SocialRequestLocalService socialRequestLocalService)
Sets the social request local service.

Parameters:
socialRequestLocalService - the social request local service

getSocialRequestPersistence

public SocialRequestPersistence getSocialRequestPersistence()
Returns the social request persistence.

Returns:
the social request persistence

setSocialRequestPersistence

public void setSocialRequestPersistence(SocialRequestPersistence socialRequestPersistence)
Sets the social request persistence.

Parameters:
socialRequestPersistence - the social request persistence

getSocialRequestInterpreterLocalService

public SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService()
Returns the social request interpreter local service.

Returns:
the social request interpreter local service

setSocialRequestInterpreterLocalService

public void setSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
Sets the social request interpreter local service.

Parameters:
socialRequestInterpreterLocalService - the social request interpreter local service

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getLockLocalService

public LockLocalService getLockLocalService()
Returns the lock local service.

Returns:
the lock local service

setLockLocalService

public void setLockLocalService(LockLocalService lockLocalService)
Sets the lock local service.

Parameters:
lockLocalService - the lock local service

getLockPersistence

public LockPersistence getLockPersistence()
Returns the lock persistence.

Returns:
the lock persistence

setLockPersistence

public void setLockPersistence(LockPersistence lockPersistence)
Sets the lock persistence.

Parameters:
lockPersistence - the lock persistence

getLockFinder

public LockFinder getLockFinder()
Returns the lock finder.

Returns:
the lock finder

setLockFinder

public void setLockFinder(LockFinder lockFinder)
Sets the lock finder.

Parameters:
lockFinder - the lock finder

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryService

public AssetEntryService getAssetEntryService()
Returns the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface SocialActivityCounterLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface SocialActivityCounterLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.1.2-ce-ga3