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

java.lang.Object
  extended by com.liferay.portlet.social.service.base.SocialRequestLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.social.service.SocialRequestLocalService
Direct Known Subclasses:
SocialRequestLocalServiceImpl

public abstract class SocialRequestLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.social.service.SocialRequestLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the social request 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 SocialRequestLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
SocialRequestLocalServiceImpl, SocialRequestLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portlet.social.service.SocialActivityAchievementLocalService socialActivityAchievementLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder socialActivityCounterFinder
           
protected  com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityFinder socialActivityFinder
           
protected  com.liferay.portlet.social.service.SocialActivityInterpreterLocalService socialActivityInterpreterLocalService
           
protected  com.liferay.portlet.social.service.SocialActivityLimitLocalService socialActivityLimitLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence
           
protected  com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
           
protected  com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence
           
protected  com.liferay.portlet.social.service.SocialActivitySettingService socialActivitySettingService
           
protected  com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
           
protected  com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService
           
protected  com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService
           
protected  com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
SocialRequestLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.social.model.SocialRequest addSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest)
          Adds the social request to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.social.model.SocialRequest createSocialRequest(long requestId)
          Creates a new social request with the primary key.
 void deleteSocialRequest(long requestId)
          Deletes the social request with the primary key from the database.
 void deleteSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest)
          Deletes the social request from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.social.model.SocialRequest fetchSocialRequest(long requestId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portlet.social.service.SocialActivityAchievementLocalService getSocialActivityAchievementLocalService()
          Returns the social activity achievement local service.
 com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence getSocialActivityAchievementPersistence()
          Returns the social activity achievement persistence.
 com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder getSocialActivityCounterFinder()
          Returns the social activity counter finder.
 com.liferay.portlet.social.service.SocialActivityCounterLocalService getSocialActivityCounterLocalService()
          Returns the social activity counter local service.
 com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence getSocialActivityCounterPersistence()
          Returns the social activity counter persistence.
 com.liferay.portlet.social.service.persistence.SocialActivityFinder getSocialActivityFinder()
          Returns the social activity finder.
 com.liferay.portlet.social.service.SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService()
          Returns the social activity interpreter local service.
 com.liferay.portlet.social.service.SocialActivityLimitLocalService getSocialActivityLimitLocalService()
          Returns the social activity limit local service.
 com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence getSocialActivityLimitPersistence()
          Returns the social activity limit persistence.
 com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService()
          Returns the social activity local service.
 com.liferay.portlet.social.service.persistence.SocialActivityPersistence getSocialActivityPersistence()
          Returns the social activity persistence.
 com.liferay.portlet.social.service.SocialActivitySettingLocalService getSocialActivitySettingLocalService()
          Returns the social activity setting local service.
 com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence getSocialActivitySettingPersistence()
          Returns the social activity setting persistence.
 com.liferay.portlet.social.service.SocialActivitySettingService getSocialActivitySettingService()
          Returns the social activity setting remote service.
 com.liferay.portlet.social.service.SocialRelationLocalService getSocialRelationLocalService()
          Returns the social relation local service.
 com.liferay.portlet.social.service.persistence.SocialRelationPersistence getSocialRelationPersistence()
          Returns the social relation persistence.
 com.liferay.portlet.social.model.SocialRequest getSocialRequest(long requestId)
          Returns the social request with the primary key.
 com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(java.lang.String uuid, long groupId)
          Returns the social request with the UUID in the group.
 com.liferay.portlet.social.service.SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService()
          Returns the social request interpreter local service.
 com.liferay.portlet.social.service.SocialRequestLocalService getSocialRequestLocalService()
          Returns the social request local service.
 com.liferay.portlet.social.service.persistence.SocialRequestPersistence getSocialRequestPersistence()
          Returns the social request persistence.
 java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(int start, int end)
          Returns a range of all the social requests.
 int getSocialRequestsCount()
          Returns the number of social requests.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setSocialActivityAchievementLocalService(com.liferay.portlet.social.service.SocialActivityAchievementLocalService socialActivityAchievementLocalService)
          Sets the social activity achievement local service.
 void setSocialActivityAchievementPersistence(com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence)
          Sets the social activity achievement persistence.
 void setSocialActivityCounterFinder(com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder socialActivityCounterFinder)
          Sets the social activity counter finder.
 void setSocialActivityCounterLocalService(com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService)
          Sets the social activity counter local service.
 void setSocialActivityCounterPersistence(com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence)
          Sets the social activity counter persistence.
 void setSocialActivityFinder(com.liferay.portlet.social.service.persistence.SocialActivityFinder socialActivityFinder)
          Sets the social activity finder.
 void setSocialActivityInterpreterLocalService(com.liferay.portlet.social.service.SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
          Sets the social activity interpreter local service.
 void setSocialActivityLimitLocalService(com.liferay.portlet.social.service.SocialActivityLimitLocalService socialActivityLimitLocalService)
          Sets the social activity limit local service.
 void setSocialActivityLimitPersistence(com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence)
          Sets the social activity limit persistence.
 void setSocialActivityLocalService(com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService)
          Sets the social activity local service.
 void setSocialActivityPersistence(com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence)
          Sets the social activity persistence.
 void setSocialActivitySettingLocalService(com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService)
          Sets the social activity setting local service.
 void setSocialActivitySettingPersistence(com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence)
          Sets the social activity setting persistence.
 void setSocialActivitySettingService(com.liferay.portlet.social.service.SocialActivitySettingService socialActivitySettingService)
          Sets the social activity setting remote service.
 void setSocialRelationLocalService(com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService)
          Sets the social relation local service.
 void setSocialRelationPersistence(com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence)
          Sets the social relation persistence.
 void setSocialRequestInterpreterLocalService(com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
          Sets the social request interpreter local service.
 void setSocialRequestLocalService(com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService)
          Sets the social request local service.
 void setSocialRequestPersistence(com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence)
          Sets the social request persistence.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.social.model.SocialRequest updateSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest)
          Updates the social request in the database or adds it if it does not yet exist.
 com.liferay.portlet.social.model.SocialRequest updateSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest, boolean merge)
          Updates the social request in the database or adds it if it does not yet exist.
 
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.SocialRequestLocalService
addRequest, deleteReceiverUserRequests, deleteRequest, deleteRequest, deleteUserRequests, getReceiverUserRequests, getReceiverUserRequests, getReceiverUserRequestsCount, getReceiverUserRequestsCount, getUserRequests, getUserRequests, getUserRequestsCount, getUserRequestsCount, hasRequest, hasRequest, updateRequest
 

Field Detail

socialActivityLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivityLocalService.class)
protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService

socialActivityPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence

socialActivityFinder

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityFinder.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityFinder socialActivityFinder

socialActivityAchievementLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivityAchievementLocalService.class)
protected com.liferay.portlet.social.service.SocialActivityAchievementLocalService socialActivityAchievementLocalService

socialActivityAchievementPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence

socialActivityCounterLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivityCounterLocalService.class)
protected com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService

socialActivityCounterPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence

socialActivityCounterFinder

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder socialActivityCounterFinder

socialActivityInterpreterLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivityInterpreterLocalService.class)
protected com.liferay.portlet.social.service.SocialActivityInterpreterLocalService socialActivityInterpreterLocalService

socialActivityLimitLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivityLimitLocalService.class)
protected com.liferay.portlet.social.service.SocialActivityLimitLocalService socialActivityLimitLocalService

socialActivityLimitPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence

socialActivitySettingLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivitySettingLocalService.class)
protected com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService

socialActivitySettingService

@BeanReference(type=com.liferay.portlet.social.service.SocialActivitySettingService.class)
protected com.liferay.portlet.social.service.SocialActivitySettingService socialActivitySettingService

socialActivitySettingPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence

socialRelationLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialRelationLocalService.class)
protected com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService

socialRelationPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRelationPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence

socialRequestLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialRequestLocalService.class)
protected com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService

socialRequestPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRequestPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence

socialRequestInterpreterLocalService

@BeanReference(type=com.liferay.portlet.social.service.SocialRequestInterpreterLocalService.class)
protected com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

SocialRequestLocalServiceBaseImpl

public SocialRequestLocalServiceBaseImpl()
Method Detail

addSocialRequest

public com.liferay.portlet.social.model.SocialRequest addSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest)
                                                                throws com.liferay.portal.kernel.exception.SystemException
Adds the social request to the database. Also notifies the appropriate model listeners.

Specified by:
addSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
socialRequest - the social request
Returns:
the social request that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createSocialRequest

public com.liferay.portlet.social.model.SocialRequest createSocialRequest(long requestId)
Creates a new social request with the primary key. Does not add the social request to the database.

Specified by:
createSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
requestId - the primary key for the new social request
Returns:
the new social request

deleteSocialRequest

public void deleteSocialRequest(long requestId)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Deletes the social request with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
requestId - the primary key of the social request
Throws:
com.liferay.portal.kernel.exception.PortalException - if a social request with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteSocialRequest

public void deleteSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest)
                         throws com.liferay.portal.kernel.exception.SystemException
Deletes the social request from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
socialRequest - the social request
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.social.service.SocialRequestLocalService
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.social.service.SocialRequestLocalService
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchSocialRequest

public com.liferay.portlet.social.model.SocialRequest fetchSocialRequest(long requestId)
                                                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getSocialRequest

public com.liferay.portlet.social.model.SocialRequest getSocialRequest(long requestId)
                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Returns the social request with the primary key.

Specified by:
getSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
requestId - the primary key of the social request
Returns:
the social request
Throws:
com.liferay.portal.kernel.exception.PortalException - if a social request with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.social.service.SocialRequestLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getSocialRequestByUuidAndGroupId

public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(java.lang.String uuid,
                                                                                       long groupId)
                                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                                       com.liferay.portal.kernel.exception.SystemException
Returns the social request with the UUID in the group.

Specified by:
getSocialRequestByUuidAndGroupId in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
uuid - the UUID of social request
groupId - the group id of the social request
Returns:
the social request
Throws:
com.liferay.portal.kernel.exception.PortalException - if a social request with the UUID in the group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSocialRequests

public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the social requests.

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:
getSocialRequests in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
start - the lower bound of the range of social requests
end - the upper bound of the range of social requests (not inclusive)
Returns:
the range of social requests
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSocialRequestsCount

public int getSocialRequestsCount()
                           throws com.liferay.portal.kernel.exception.SystemException
Returns the number of social requests.

Specified by:
getSocialRequestsCount in interface com.liferay.portlet.social.service.SocialRequestLocalService
Returns:
the number of social requests
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateSocialRequest

public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Updates the social request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
socialRequest - the social request
Returns:
the social request that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateSocialRequest

public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(com.liferay.portlet.social.model.SocialRequest socialRequest,
                                                                          boolean merge)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Updates the social request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSocialRequest in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
socialRequest - the social request
merge - whether to merge the social request 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 request that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSocialActivityLocalService

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

Returns:
the social activity local service

setSocialActivityLocalService

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

Parameters:
socialActivityLocalService - the social activity local service

getSocialActivityPersistence

public com.liferay.portlet.social.service.persistence.SocialActivityPersistence getSocialActivityPersistence()
Returns the social activity persistence.

Returns:
the social activity persistence

setSocialActivityPersistence

public void setSocialActivityPersistence(com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence.

Parameters:
socialActivityPersistence - the social activity persistence

getSocialActivityFinder

public com.liferay.portlet.social.service.persistence.SocialActivityFinder getSocialActivityFinder()
Returns the social activity finder.

Returns:
the social activity finder

setSocialActivityFinder

public void setSocialActivityFinder(com.liferay.portlet.social.service.persistence.SocialActivityFinder socialActivityFinder)
Sets the social activity finder.

Parameters:
socialActivityFinder - the social activity finder

getSocialActivityAchievementLocalService

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

Returns:
the social activity achievement local service

setSocialActivityAchievementLocalService

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

Parameters:
socialActivityAchievementLocalService - the social activity achievement local service

getSocialActivityAchievementPersistence

public com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence getSocialActivityAchievementPersistence()
Returns the social activity achievement persistence.

Returns:
the social activity achievement persistence

setSocialActivityAchievementPersistence

public void setSocialActivityAchievementPersistence(com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence)
Sets the social activity achievement persistence.

Parameters:
socialActivityAchievementPersistence - the social activity achievement persistence

getSocialActivityCounterLocalService

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

Returns:
the social activity counter local service

setSocialActivityCounterLocalService

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

Parameters:
socialActivityCounterLocalService - the social activity counter local service

getSocialActivityCounterPersistence

public com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence getSocialActivityCounterPersistence()
Returns the social activity counter persistence.

Returns:
the social activity counter persistence

setSocialActivityCounterPersistence

public void setSocialActivityCounterPersistence(com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence)
Sets the social activity counter persistence.

Parameters:
socialActivityCounterPersistence - the social activity counter persistence

getSocialActivityCounterFinder

public com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder getSocialActivityCounterFinder()
Returns the social activity counter finder.

Returns:
the social activity counter finder

setSocialActivityCounterFinder

public void setSocialActivityCounterFinder(com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder socialActivityCounterFinder)
Sets the social activity counter finder.

Parameters:
socialActivityCounterFinder - the social activity counter finder

getSocialActivityInterpreterLocalService

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

Returns:
the social activity interpreter local service

setSocialActivityInterpreterLocalService

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

Parameters:
socialActivityInterpreterLocalService - the social activity interpreter local service

getSocialActivityLimitLocalService

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

Returns:
the social activity limit local service

setSocialActivityLimitLocalService

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

Parameters:
socialActivityLimitLocalService - the social activity limit local service

getSocialActivityLimitPersistence

public com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence getSocialActivityLimitPersistence()
Returns the social activity limit persistence.

Returns:
the social activity limit persistence

setSocialActivityLimitPersistence

public void setSocialActivityLimitPersistence(com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence)
Sets the social activity limit persistence.

Parameters:
socialActivityLimitPersistence - the social activity limit persistence

getSocialActivitySettingLocalService

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

Returns:
the social activity setting local service

setSocialActivitySettingLocalService

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

Parameters:
socialActivitySettingLocalService - the social activity setting local service

getSocialActivitySettingService

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

Returns:
the social activity setting remote service

setSocialActivitySettingService

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

Parameters:
socialActivitySettingService - the social activity setting remote service

getSocialActivitySettingPersistence

public com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence getSocialActivitySettingPersistence()
Returns the social activity setting persistence.

Returns:
the social activity setting persistence

setSocialActivitySettingPersistence

public void setSocialActivitySettingPersistence(com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence)
Sets the social activity setting persistence.

Parameters:
socialActivitySettingPersistence - the social activity setting persistence

getSocialRelationLocalService

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

Returns:
the social relation local service

setSocialRelationLocalService

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

Parameters:
socialRelationLocalService - the social relation local service

getSocialRelationPersistence

public com.liferay.portlet.social.service.persistence.SocialRelationPersistence getSocialRelationPersistence()
Returns the social relation persistence.

Returns:
the social relation persistence

setSocialRelationPersistence

public void setSocialRelationPersistence(com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence)
Sets the social relation persistence.

Parameters:
socialRelationPersistence - the social relation persistence

getSocialRequestLocalService

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

Returns:
the social request local service

setSocialRequestLocalService

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

Parameters:
socialRequestLocalService - the social request local service

getSocialRequestPersistence

public com.liferay.portlet.social.service.persistence.SocialRequestPersistence getSocialRequestPersistence()
Returns the social request persistence.

Returns:
the social request persistence

setSocialRequestPersistence

public void setSocialRequestPersistence(com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence)
Sets the social request persistence.

Parameters:
socialRequestPersistence - the social request persistence

getSocialRequestInterpreterLocalService

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

Returns:
the social request interpreter local service

setSocialRequestInterpreterLocalService

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

Parameters:
socialRequestInterpreterLocalService - the social request interpreter local service

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

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

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

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

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.social.service.SocialRequestLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.social.service.SocialRequestLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException