Liferay 6.1.2-ce-ga3

com.liferay.portlet.social.service
Class SocialActivityAchievementLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialActivityAchievementLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<SocialActivityAchievementLocalService>, SocialActivityAchievementLocalService

public class SocialActivityAchievementLocalServiceWrapper
extends Object
implements SocialActivityAchievementLocalService, ServiceWrapper<SocialActivityAchievementLocalService>

This class is a wrapper for SocialActivityAchievementLocalService.

See Also:
SocialActivityAchievementLocalService

Constructor Summary
SocialActivityAchievementLocalServiceWrapper(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
           
 
Method Summary
 void addActivityAchievement(long userId, long groupId, SocialAchievement achievement)
           
 SocialActivityAchievement addSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement)
          Adds the social activity achievement to the database.
 SocialActivityAchievement createSocialActivityAchievement(long activityAchievementId)
          Creates a new social activity achievement with the primary key.
 SocialActivityAchievement deleteSocialActivityAchievement(long activityAchievementId)
          Deletes the social activity achievement with the primary key from the database.
 SocialActivityAchievement deleteSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement)
          Deletes the social activity achievement from the database.
 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.
 SocialActivityAchievement fetchSocialActivityAchievement(long activityAchievementId)
           
 SocialActivityAchievement fetchUserAchievement(long userId, long groupId, String name)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<SocialActivityAchievement> getGroupAchievements(long groupId)
           
 List<SocialActivityAchievement> getGroupAchievements(long groupId, String name)
           
 int getGroupAchievementsCount(long groupId)
           
 int getGroupAchievementsCount(long groupId, String name)
           
 List<SocialActivityAchievement> getGroupFirstAchievements(long groupId)
           
 int getGroupFirstAchievementsCount(long groupId)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 SocialActivityAchievement getSocialActivityAchievement(long activityAchievementId)
          Returns the social activity achievement with the primary key.
 List<SocialActivityAchievement> getSocialActivityAchievements(int start, int end)
          Returns a range of all the social activity achievements.
 int getSocialActivityAchievementsCount()
          Returns the number of social activity achievements.
 int getUserAchievementCount(long userId, long groupId, String name)
           
 List<SocialActivityAchievement> getUserAchievements(long userId, long groupId, String name)
           
 SocialActivityAchievementLocalService getWrappedService()
           
 SocialActivityAchievementLocalService getWrappedSocialActivityAchievementLocalService()
          Deprecated. Renamed to getWrappedService()
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
           
 void setWrappedSocialActivityAchievementLocalService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.social.service.SocialActivityAchievementLocalService)
 SocialActivityAchievement updateSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement)
          Updates the social activity achievement in the database or adds it if it does not yet exist.
 SocialActivityAchievement updateSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement, boolean merge)
          Updates the social activity achievement 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
 

Constructor Detail

SocialActivityAchievementLocalServiceWrapper

public SocialActivityAchievementLocalServiceWrapper(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
Method Detail

addSocialActivityAchievement

public SocialActivityAchievement addSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement)
                                                       throws SystemException
Adds the social activity achievement to the database. Also notifies the appropriate model listeners.

Specified by:
addSocialActivityAchievement in interface SocialActivityAchievementLocalService
Parameters:
socialActivityAchievement - the social activity achievement
Returns:
the social activity achievement that was added
Throws:
SystemException - if a system exception occurred

createSocialActivityAchievement

public SocialActivityAchievement createSocialActivityAchievement(long activityAchievementId)
Creates a new social activity achievement with the primary key. Does not add the social activity achievement to the database.

Specified by:
createSocialActivityAchievement in interface SocialActivityAchievementLocalService
Parameters:
activityAchievementId - the primary key for the new social activity achievement
Returns:
the new social activity achievement

deleteSocialActivityAchievement

public SocialActivityAchievement deleteSocialActivityAchievement(long activityAchievementId)
                                                          throws PortalException,
                                                                 SystemException
Deletes the social activity achievement with the primary key from the database. Also notifies the appropriate model listeners.

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

deleteSocialActivityAchievement

public SocialActivityAchievement deleteSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement)
                                                          throws SystemException
Deletes the social activity achievement from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSocialActivityAchievement in interface SocialActivityAchievementLocalService
Parameters:
socialActivityAchievement - the social activity achievement
Returns:
the social activity achievement that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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 SocialActivityAchievementLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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

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

dynamicQuery

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

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

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

fetchSocialActivityAchievement

public SocialActivityAchievement fetchSocialActivityAchievement(long activityAchievementId)
                                                         throws SystemException
Specified by:
fetchSocialActivityAchievement in interface SocialActivityAchievementLocalService
Throws:
SystemException

getSocialActivityAchievement

public SocialActivityAchievement getSocialActivityAchievement(long activityAchievementId)
                                                       throws PortalException,
                                                              SystemException
Returns the social activity achievement with the primary key.

Specified by:
getSocialActivityAchievement in interface SocialActivityAchievementLocalService
Parameters:
activityAchievementId - the primary key of the social activity achievement
Returns:
the social activity achievement
Throws:
PortalException - if a social activity achievement 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 SocialActivityAchievementLocalService
Throws:
PortalException
SystemException

getSocialActivityAchievements

public List<SocialActivityAchievement> getSocialActivityAchievements(int start,
                                                                     int end)
                                                              throws SystemException
Returns a range of all the social activity achievements.

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:
getSocialActivityAchievements in interface SocialActivityAchievementLocalService
Parameters:
start - the lower bound of the range of social activity achievements
end - the upper bound of the range of social activity achievements (not inclusive)
Returns:
the range of social activity achievements
Throws:
SystemException - if a system exception occurred

getSocialActivityAchievementsCount

public int getSocialActivityAchievementsCount()
                                       throws SystemException
Returns the number of social activity achievements.

Specified by:
getSocialActivityAchievementsCount in interface SocialActivityAchievementLocalService
Returns:
the number of social activity achievements
Throws:
SystemException - if a system exception occurred

updateSocialActivityAchievement

public SocialActivityAchievement updateSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement)
                                                          throws SystemException
Updates the social activity achievement in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSocialActivityAchievement in interface SocialActivityAchievementLocalService
Parameters:
socialActivityAchievement - the social activity achievement
Returns:
the social activity achievement that was updated
Throws:
SystemException - if a system exception occurred

updateSocialActivityAchievement

public SocialActivityAchievement updateSocialActivityAchievement(SocialActivityAchievement socialActivityAchievement,
                                                                 boolean merge)
                                                          throws SystemException
Updates the social activity achievement in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

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

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface SocialActivityAchievementLocalService
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 SocialActivityAchievementLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addActivityAchievement

public void addActivityAchievement(long userId,
                                   long groupId,
                                   SocialAchievement achievement)
                            throws PortalException,
                                   SystemException
Specified by:
addActivityAchievement in interface SocialActivityAchievementLocalService
Throws:
PortalException
SystemException

fetchUserAchievement

public SocialActivityAchievement fetchUserAchievement(long userId,
                                                      long groupId,
                                                      String name)
                                               throws SystemException
Specified by:
fetchUserAchievement in interface SocialActivityAchievementLocalService
Throws:
SystemException

getGroupAchievements

public List<SocialActivityAchievement> getGroupAchievements(long groupId)
                                                     throws SystemException
Specified by:
getGroupAchievements in interface SocialActivityAchievementLocalService
Throws:
SystemException

getGroupAchievements

public List<SocialActivityAchievement> getGroupAchievements(long groupId,
                                                            String name)
                                                     throws SystemException
Specified by:
getGroupAchievements in interface SocialActivityAchievementLocalService
Throws:
SystemException

getGroupAchievementsCount

public int getGroupAchievementsCount(long groupId)
                              throws SystemException
Specified by:
getGroupAchievementsCount in interface SocialActivityAchievementLocalService
Throws:
SystemException

getGroupAchievementsCount

public int getGroupAchievementsCount(long groupId,
                                     String name)
                              throws SystemException
Specified by:
getGroupAchievementsCount in interface SocialActivityAchievementLocalService
Throws:
SystemException

getGroupFirstAchievements

public List<SocialActivityAchievement> getGroupFirstAchievements(long groupId)
                                                          throws SystemException
Specified by:
getGroupFirstAchievements in interface SocialActivityAchievementLocalService
Throws:
SystemException

getGroupFirstAchievementsCount

public int getGroupFirstAchievementsCount(long groupId)
                                   throws SystemException
Specified by:
getGroupFirstAchievementsCount in interface SocialActivityAchievementLocalService
Throws:
SystemException

getUserAchievementCount

public int getUserAchievementCount(long userId,
                                   long groupId,
                                   String name)
                            throws SystemException
Specified by:
getUserAchievementCount in interface SocialActivityAchievementLocalService
Throws:
SystemException

getUserAchievements

public List<SocialActivityAchievement> getUserAchievements(long userId,
                                                           long groupId,
                                                           String name)
                                                    throws SystemException
Specified by:
getUserAchievements in interface SocialActivityAchievementLocalService
Throws:
SystemException

getWrappedSocialActivityAchievementLocalService

public SocialActivityAchievementLocalService getWrappedSocialActivityAchievementLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedSocialActivityAchievementLocalService

public void setWrappedSocialActivityAchievementLocalService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.social.service.SocialActivityAchievementLocalService)


getWrappedService

public SocialActivityAchievementLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<SocialActivityAchievementLocalService>

setWrappedService

public void setWrappedService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<SocialActivityAchievementLocalService>

Liferay 6.1.2-ce-ga3