Liferay 6.2-ce-ga5

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

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

public abstract class SocialActivityLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements SocialActivityLocalService, IdentifiableBean

Provides the base implementation for the social activity 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 SocialActivityLocalServiceImpl.

See Also:
SocialActivityLocalServiceImpl, SocialActivityLocalServiceUtil
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  LayoutFinder layoutFinder
           
protected  LayoutLocalService layoutLocalService
           
protected  LayoutPersistence layoutPersistence
           
protected  LayoutService layoutService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
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  SocialActivityService socialActivityService
           
protected  SocialActivitySetFinder socialActivitySetFinder
           
protected  SocialActivitySetLocalService socialActivitySetLocalService
           
protected  SocialActivitySetPersistence socialActivitySetPersistence
           
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  SocialRequestService socialRequestService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
SocialActivityLocalServiceBaseImpl()
           
 
Method Summary
 SocialActivity addSocialActivity(SocialActivity socialActivity)
          Adds the social activity to the database.
 void afterPropertiesSet()
           
 SocialActivity createSocialActivity(long activityId)
          Creates a new social activity with the primary key.
 SocialActivity deleteSocialActivity(long activityId)
          Deletes the social activity with the primary key from the database.
 SocialActivity deleteSocialActivity(SocialActivity socialActivity)
          Deletes the social activity 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.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows that match the dynamic query.
 SocialActivity fetchSocialActivity(long activityId)
           
 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.
 LayoutFinder getLayoutFinder()
          Returns the layout finder.
 LayoutLocalService getLayoutLocalService()
          Returns the layout local service.
 LayoutPersistence getLayoutPersistence()
          Returns the layout persistence.
 LayoutService getLayoutService()
          Returns the layout remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 List<SocialActivity> getSocialActivities(int start, int end)
          Returns a range of all the social activities.
 int getSocialActivitiesCount()
          Returns the number of social activities.
 SocialActivity getSocialActivity(long activityId)
          Returns the social activity with the primary key.
 SocialActivityAchievementLocalService getSocialActivityAchievementLocalService()
          Returns the social activity achievement local service.
 SocialActivityAchievementPersistence getSocialActivityAchievementPersistence()
          Returns the social activity achievement persistence.
 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.
 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.
 SocialActivityService getSocialActivityService()
          Returns the social activity remote service.
 SocialActivitySetFinder getSocialActivitySetFinder()
          Returns the social activity set finder.
 SocialActivitySetLocalService getSocialActivitySetLocalService()
          Returns the social activity set local service.
 SocialActivitySetPersistence getSocialActivitySetPersistence()
          Returns the social activity set 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.
 SocialRequestService getSocialRequestService()
          Returns the social request remote service.
 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 setLayoutFinder(LayoutFinder layoutFinder)
          Sets the layout finder.
 void setLayoutLocalService(LayoutLocalService layoutLocalService)
          Sets the layout local service.
 void setLayoutPersistence(LayoutPersistence layoutPersistence)
          Sets the layout persistence.
 void setLayoutService(LayoutService layoutService)
          Sets the layout remote service.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local 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 setSocialActivityService(SocialActivityService socialActivityService)
          Sets the social activity remote service.
 void setSocialActivitySetFinder(SocialActivitySetFinder socialActivitySetFinder)
          Sets the social activity set finder.
 void setSocialActivitySetLocalService(SocialActivitySetLocalService socialActivitySetLocalService)
          Sets the social activity set local service.
 void setSocialActivitySetPersistence(SocialActivitySetPersistence socialActivitySetPersistence)
          Sets the social activity set 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 setSocialRequestService(SocialRequestService socialRequestService)
          Sets the social request remote service.
 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.
 SocialActivity updateSocialActivity(SocialActivity socialActivity)
          Updates the social activity in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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.SocialActivityLocalService
addActivity, addActivity, addActivity, addUniqueActivity, addUniqueActivity, deleteActivities, deleteActivities, deleteActivities, deleteActivity, deleteActivity, deleteUserActivities, fetchFirstActivity, getActivities, getActivities, getActivities, getActivities, getActivitiesCount, getActivitiesCount, getActivitiesCount, getActivitiesCount, getActivity, getActivitySetActivities, getGroupActivities, getGroupActivitiesCount, getGroupUsersActivities, getGroupUsersActivitiesCount, getMirrorActivity, getOrganizationActivities, getOrganizationActivitiesCount, getOrganizationUsersActivities, getOrganizationUsersActivitiesCount, getRelationActivities, getRelationActivities, getRelationActivitiesCount, getRelationActivitiesCount, getUserActivities, getUserActivitiesCount, getUserGroupsActivities, getUserGroupsActivitiesCount, getUserGroupsAndOrganizationsActivities, getUserGroupsAndOrganizationsActivitiesCount, getUserOrganizationsActivities, getUserOrganizationsActivitiesCount
 

Field Detail

socialActivityLocalService

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

socialActivityService

@BeanReference(type=SocialActivityService.class)
protected SocialActivityService socialActivityService

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

socialActivitySetLocalService

@BeanReference(type=SocialActivitySetLocalService.class)
protected SocialActivitySetLocalService socialActivitySetLocalService

socialActivitySetPersistence

@BeanReference(type=SocialActivitySetPersistence.class)
protected SocialActivitySetPersistence socialActivitySetPersistence

socialActivitySetFinder

@BeanReference(type=SocialActivitySetFinder.class)
protected SocialActivitySetFinder socialActivitySetFinder

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

socialRequestService

@BeanReference(type=SocialRequestService.class)
protected SocialRequestService socialRequestService

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

layoutLocalService

@BeanReference(type=LayoutLocalService.class)
protected LayoutLocalService layoutLocalService

layoutService

@BeanReference(type=LayoutService.class)
protected LayoutService layoutService

layoutPersistence

@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence

layoutFinder

@BeanReference(type=LayoutFinder.class)
protected LayoutFinder layoutFinder

resourceLocalService

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

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

SocialActivityLocalServiceBaseImpl

public SocialActivityLocalServiceBaseImpl()
Method Detail

addSocialActivity

@Indexable(type=REINDEX)
public SocialActivity addSocialActivity(SocialActivity socialActivity)
                                 throws SystemException
Adds the social activity to the database. Also notifies the appropriate model listeners.

Specified by:
addSocialActivity in interface SocialActivityLocalService
Parameters:
socialActivity - the social activity
Returns:
the social activity that was added
Throws:
SystemException - if a system exception occurred

createSocialActivity

public SocialActivity createSocialActivity(long activityId)
Creates a new social activity with the primary key. Does not add the social activity to the database.

Specified by:
createSocialActivity in interface SocialActivityLocalService
Parameters:
activityId - the primary key for the new social activity
Returns:
the new social activity

deleteSocialActivity

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

Specified by:
deleteSocialActivity in interface SocialActivityLocalService
Parameters:
activityId - the primary key of the social activity
Returns:
the social activity that was removed
Throws:
PortalException - if a social activity with the primary key could not be found
SystemException - if a system exception occurred

deleteSocialActivity

@Indexable(type=DELETE)
public SocialActivity deleteSocialActivity(SocialActivity socialActivity)
                                    throws SystemException
Deletes the social activity from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialActivity in interface SocialActivityLocalService
Parameters:
socialActivity - the social activity
Returns:
the social activity that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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 SocialActivityLocalService
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface SocialActivityLocalService
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface SocialActivityLocalService
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 SocialActivityLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

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

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

fetchSocialActivity

public SocialActivity fetchSocialActivity(long activityId)
                                   throws SystemException
Specified by:
fetchSocialActivity in interface SocialActivityLocalService
Throws:
SystemException

getSocialActivity

public SocialActivity getSocialActivity(long activityId)
                                 throws PortalException,
                                        SystemException
Returns the social activity with the primary key.

Specified by:
getSocialActivity in interface SocialActivityLocalService
Parameters:
activityId - the primary key of the social activity
Returns:
the social activity
Throws:
PortalException - if a social activity 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 SocialActivityLocalService
Throws:
PortalException
SystemException

getSocialActivities

public List<SocialActivity> getSocialActivities(int start,
                                                int end)
                                         throws SystemException
Returns a range of all the social activities.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivityModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

getSocialActivitiesCount

public int getSocialActivitiesCount()
                             throws SystemException
Returns the number of social activities.

Specified by:
getSocialActivitiesCount in interface SocialActivityLocalService
Returns:
the number of social activities
Throws:
SystemException - if a system exception occurred

updateSocialActivity

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

Specified by:
updateSocialActivity in interface SocialActivityLocalService
Parameters:
socialActivity - the social activity
Returns:
the social activity 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

getSocialActivityService

public SocialActivityService getSocialActivityService()
Returns the social activity remote service.

Returns:
the social activity remote service

setSocialActivityService

public void setSocialActivityService(SocialActivityService socialActivityService)
Sets the social activity remote service.

Parameters:
socialActivityService - the social activity remote 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

getSocialActivitySetLocalService

public SocialActivitySetLocalService getSocialActivitySetLocalService()
Returns the social activity set local service.

Returns:
the social activity set local service

setSocialActivitySetLocalService

public void setSocialActivitySetLocalService(SocialActivitySetLocalService socialActivitySetLocalService)
Sets the social activity set local service.

Parameters:
socialActivitySetLocalService - the social activity set local service

getSocialActivitySetPersistence

public SocialActivitySetPersistence getSocialActivitySetPersistence()
Returns the social activity set persistence.

Returns:
the social activity set persistence

setSocialActivitySetPersistence

public void setSocialActivitySetPersistence(SocialActivitySetPersistence socialActivitySetPersistence)
Sets the social activity set persistence.

Parameters:
socialActivitySetPersistence - the social activity set persistence

getSocialActivitySetFinder

public SocialActivitySetFinder getSocialActivitySetFinder()
Returns the social activity set finder.

Returns:
the social activity set finder

setSocialActivitySetFinder

public void setSocialActivitySetFinder(SocialActivitySetFinder socialActivitySetFinder)
Sets the social activity set finder.

Parameters:
socialActivitySetFinder - the social activity set finder

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

getSocialRequestService

public SocialRequestService getSocialRequestService()
Returns the social request remote service.

Returns:
the social request remote service

setSocialRequestService

public void setSocialRequestService(SocialRequestService socialRequestService)
Sets the social request remote service.

Parameters:
socialRequestService - the social request remote 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

getLayoutLocalService

public LayoutLocalService getLayoutLocalService()
Returns the layout local service.

Returns:
the layout local service

setLayoutLocalService

public void setLayoutLocalService(LayoutLocalService layoutLocalService)
Sets the layout local service.

Parameters:
layoutLocalService - the layout local service

getLayoutService

public LayoutService getLayoutService()
Returns the layout remote service.

Returns:
the layout remote service

setLayoutService

public void setLayoutService(LayoutService layoutService)
Sets the layout remote service.

Parameters:
layoutService - the layout remote service

getLayoutPersistence

public LayoutPersistence getLayoutPersistence()
Returns the layout persistence.

Returns:
the layout persistence

setLayoutPersistence

public void setLayoutPersistence(LayoutPersistence layoutPersistence)
Sets the layout persistence.

Parameters:
layoutPersistence - the layout persistence

getLayoutFinder

public LayoutFinder getLayoutFinder()
Returns the layout finder.

Returns:
the layout finder

setLayoutFinder

public void setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder.

Parameters:
layoutFinder - the layout 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

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 SocialActivityLocalService
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 SocialActivityLocalService
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.2-ce-ga5