Liferay 6.2-ce-ga5

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

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

public abstract class SocialRelationLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements SocialRelationLocalService, IdentifiableBean

Provides the base implementation for the social relation 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 SocialRelationLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
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
           
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
SocialRelationLocalServiceBaseImpl()
           
 
Method Summary
 SocialRelation addSocialRelation(SocialRelation socialRelation)
          Adds the social relation to the database.
 void afterPropertiesSet()
           
 SocialRelation createSocialRelation(long relationId)
          Creates a new social relation with the primary key.
 SocialRelation deleteSocialRelation(long relationId)
          Deletes the social relation with the primary key from the database.
 SocialRelation deleteSocialRelation(SocialRelation socialRelation)
          Deletes the social relation 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.
 SocialRelation fetchSocialRelation(long relationId)
           
 SocialRelation fetchSocialRelationByUuidAndCompanyId(String uuid, long companyId)
          Returns the social relation with the matching UUID and company.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 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.
 SocialRelation getSocialRelation(long relationId)
          Returns the social relation with the primary key.
 SocialRelation getSocialRelationByUuidAndCompanyId(String uuid, long companyId)
          Returns the social relation with the matching UUID and company.
 SocialRelationLocalService getSocialRelationLocalService()
          Returns the social relation local service.
 SocialRelationPersistence getSocialRelationPersistence()
          Returns the social relation persistence.
 List<SocialRelation> getSocialRelations(int start, int end)
          Returns a range of all the social relations.
 int getSocialRelationsCount()
          Returns the number of social relations.
 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 setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local 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.
 SocialRelation updateSocialRelation(SocialRelation socialRelation)
          Updates the social relation 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.SocialRelationLocalService
addRelation, deleteRelation, deleteRelation, deleteRelation, deleteRelations, deleteRelations, getInverseRelations, getInverseRelationsCount, getRelation, getRelation, getRelations, getRelations, getRelationsCount, getRelationsCount, hasRelation, isRelatable
 

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

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

persistedModelLocalServiceRegistry

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

SocialRelationLocalServiceBaseImpl

public SocialRelationLocalServiceBaseImpl()
Method Detail

addSocialRelation

@Indexable(type=REINDEX)
public SocialRelation addSocialRelation(SocialRelation socialRelation)
                                 throws SystemException
Adds the social relation to the database. Also notifies the appropriate model listeners.

Specified by:
addSocialRelation in interface SocialRelationLocalService
Parameters:
socialRelation - the social relation
Returns:
the social relation that was added
Throws:
SystemException - if a system exception occurred

createSocialRelation

public SocialRelation createSocialRelation(long relationId)
Creates a new social relation with the primary key. Does not add the social relation to the database.

Specified by:
createSocialRelation in interface SocialRelationLocalService
Parameters:
relationId - the primary key for the new social relation
Returns:
the new social relation

deleteSocialRelation

@Indexable(type=DELETE)
public SocialRelation deleteSocialRelation(long relationId)
                                    throws PortalException,
                                           SystemException
Deletes the social relation with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialRelation in interface SocialRelationLocalService
Parameters:
relationId - the primary key of the social relation
Returns:
the social relation that was removed
Throws:
PortalException - if a social relation with the primary key could not be found
SystemException - if a system exception occurred

deleteSocialRelation

@Indexable(type=DELETE)
public SocialRelation deleteSocialRelation(SocialRelation socialRelation)
                                    throws SystemException
Deletes the social relation from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialRelation in interface SocialRelationLocalService
Parameters:
socialRelation - the social relation
Returns:
the social relation that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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 SocialRelationLocalService
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 SocialRelationModelImpl. 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 SocialRelationLocalService
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 SocialRelationModelImpl. 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 SocialRelationLocalService
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 SocialRelationLocalService
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 SocialRelationLocalService
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

fetchSocialRelation

public SocialRelation fetchSocialRelation(long relationId)
                                   throws SystemException
Specified by:
fetchSocialRelation in interface SocialRelationLocalService
Throws:
SystemException

fetchSocialRelationByUuidAndCompanyId

public SocialRelation fetchSocialRelationByUuidAndCompanyId(String uuid,
                                                            long companyId)
                                                     throws SystemException
Returns the social relation with the matching UUID and company.

Specified by:
fetchSocialRelationByUuidAndCompanyId in interface SocialRelationLocalService
Parameters:
uuid - the social relation's UUID
companyId - the primary key of the company
Returns:
the matching social relation, or null if a matching social relation could not be found
Throws:
SystemException - if a system exception occurred

getSocialRelation

public SocialRelation getSocialRelation(long relationId)
                                 throws PortalException,
                                        SystemException
Returns the social relation with the primary key.

Specified by:
getSocialRelation in interface SocialRelationLocalService
Parameters:
relationId - the primary key of the social relation
Returns:
the social relation
Throws:
PortalException - if a social relation 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 SocialRelationLocalService
Throws:
PortalException
SystemException

getSocialRelationByUuidAndCompanyId

public SocialRelation getSocialRelationByUuidAndCompanyId(String uuid,
                                                          long companyId)
                                                   throws PortalException,
                                                          SystemException
Returns the social relation with the matching UUID and company.

Specified by:
getSocialRelationByUuidAndCompanyId in interface SocialRelationLocalService
Parameters:
uuid - the social relation's UUID
companyId - the primary key of the company
Returns:
the matching social relation
Throws:
PortalException - if a matching social relation could not be found
SystemException - if a system exception occurred

getSocialRelations

public List<SocialRelation> getSocialRelations(int start,
                                               int end)
                                        throws SystemException
Returns a range of all the social relations.

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 SocialRelationModelImpl. 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:
getSocialRelations in interface SocialRelationLocalService
Parameters:
start - the lower bound of the range of social relations
end - the upper bound of the range of social relations (not inclusive)
Returns:
the range of social relations
Throws:
SystemException - if a system exception occurred

getSocialRelationsCount

public int getSocialRelationsCount()
                            throws SystemException
Returns the number of social relations.

Specified by:
getSocialRelationsCount in interface SocialRelationLocalService
Returns:
the number of social relations
Throws:
SystemException - if a system exception occurred

updateSocialRelation

@Indexable(type=REINDEX)
public SocialRelation updateSocialRelation(SocialRelation socialRelation)
                                    throws SystemException
Updates the social relation in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSocialRelation in interface SocialRelationLocalService
Parameters:
socialRelation - the social relation
Returns:
the social relation 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

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

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 SocialRelationLocalService
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 SocialRelationLocalService
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