Class SocialActivityAchievementPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityAchievement>,com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the social activity achievement persistence.voidcacheResult(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) Caches the social activity achievement in the entity cache if it is enabled.voidcacheResult(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements) Caches the social activity achievements in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(SocialActivityAchievementModelImpl socialActivityAchievementModelImpl) voidClears the cache for all social activity achievements.voidclearCache(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) Clears the cache for the social activity achievement.voidclearCache(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of social activity achievements.intcountByG_F(long groupId, boolean firstInGroup) Returns the number of social activity achievements where groupId = ? and firstInGroup = ?.intcountByG_N(long groupId, String name) Returns the number of social activity achievements where groupId = ? and name = ?.intcountByG_U(long groupId, long userId) Returns the number of social activity achievements where groupId = ? and userId = ?.intcountByG_U_F(long groupId, long userId, boolean firstInGroup) Returns the number of social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.intcountByG_U_N(long groupId, long userId, String name) Returns the number of social activity achievements where groupId = ? and userId = ? and name = ?.intcountByGroupId(long groupId) Returns the number of social activity achievements where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievementcreate(long activityAchievementId) Creates a new social activity achievement with the primary key.voiddestroy()com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_F_First(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_F_Last(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_N_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and name = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_N_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and name = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_U_F_First(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_U_F_Last(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_U_N(long groupId, long userId, String name) Returns the social activity achievement where groupId = ? and userId = ? and name = ? or returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivityAchievementfetchByG_U_N(long groupId, long userId, String name, boolean useFinderCache) Returns the social activity achievement where groupId = ? and userId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.social.kernel.model.SocialActivityAchievementfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfetchByPrimaryKey(long activityAchievementId) Returns the social activity achievement with the primary key or returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivityAchievementfetchByPrimaryKey(Serializable primaryKey) Returns the social activity achievement with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.social.kernel.model.SocialActivityAchievement> fetchByPrimaryKeys(Set<Serializable> primaryKeys) List<com.liferay.social.kernel.model.SocialActivityAchievement>findAll()Returns all the social activity achievements.List<com.liferay.social.kernel.model.SocialActivityAchievement>findAll(int start, int end) Returns a range of all the social activity achievements.List<com.liferay.social.kernel.model.SocialActivityAchievement>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements.List<com.liferay.social.kernel.model.SocialActivityAchievement>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_F(long groupId, boolean firstInGroup) Returns all the social activity achievements where groupId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_F(long groupId, boolean firstInGroup, int start, int end) Returns a range of all the social activity achievements where groupId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_F(long groupId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_F(long groupId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_F_First(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_F_Last(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievement[]findByG_F_PrevAndNext(long activityAchievementId, long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>Returns all the social activity achievements where groupId = ? and name = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>Returns a range of all the social activity achievements where groupId = ? and name = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_N(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and name = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_N(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and name = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_N_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and name = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_N_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and name = ?.com.liferay.social.kernel.model.SocialActivityAchievement[]findByG_N_PrevAndNext(long activityAchievementId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and name = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U(long groupId, long userId) Returns all the social activity achievements where groupId = ? and userId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U(long groupId, long userId, int start, int end) Returns a range of all the social activity achievements where groupId = ? and userId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U_F(long groupId, long userId, boolean firstInGroup) Returns all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end) Returns a range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_U_F_First(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_U_F_Last(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievement[]findByG_U_F_PrevAndNext(long activityAchievementId, long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByG_U_N(long groupId, long userId, String name) Returns the social activity achievement where groupId = ? and userId = ? and name = ? or throws aNoSuchActivityAchievementExceptionif it could not be found.com.liferay.social.kernel.model.SocialActivityAchievement[]findByG_U_PrevAndNext(long activityAchievementId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByGroupId(long groupId) Returns all the social activity achievements where groupId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByGroupId(long groupId, int start, int end) Returns a range of all the social activity achievements where groupId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ?.List<com.liferay.social.kernel.model.SocialActivityAchievement>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievement[]findByGroupId_PrevAndNext(long activityAchievementId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ?.com.liferay.social.kernel.model.SocialActivityAchievementfindByPrimaryKey(long activityAchievementId) Returns the social activity achievement with the primary key or throws aNoSuchActivityAchievementExceptionif it could not be found.com.liferay.social.kernel.model.SocialActivityAchievementfindByPrimaryKey(Serializable primaryKey) Returns the social activity achievement with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.protected com.liferay.social.kernel.model.SocialActivityAchievementgetByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivityAchievementgetByG_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivityAchievementgetByG_U_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivityAchievementgetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) protected com.liferay.social.kernel.model.SocialActivityAchievementgetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.social.kernel.model.SocialActivityAchievementremove(long activityAchievementId) Removes the social activity achievement with the primary key from the database.com.liferay.social.kernel.model.SocialActivityAchievementremove(Serializable primaryKey) Removes the social activity achievement with the primary key from the database.voidRemoves all the social activity achievements from the database.voidremoveByG_F(long groupId, boolean firstInGroup) Removes all the social activity achievements where groupId = ? and firstInGroup = ? from the database.voidremoveByG_N(long groupId, String name) Removes all the social activity achievements where groupId = ? and name = ? from the database.voidremoveByG_U(long groupId, long userId) Removes all the social activity achievements where groupId = ? and userId = ? from the database.voidremoveByG_U_F(long groupId, long userId, boolean firstInGroup) Removes all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ? from the database.com.liferay.social.kernel.model.SocialActivityAchievementremoveByG_U_N(long groupId, long userId, String name) Removes the social activity achievement where groupId = ? and userId = ? and name = ? from the database.voidremoveByGroupId(long groupId) Removes all the social activity achievements where groupId = ? from the database.protected com.liferay.social.kernel.model.SocialActivityAchievementremoveImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) com.liferay.social.kernel.model.SocialActivityAchievementupdateImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
SocialActivityAchievementPersistenceImpl
public SocialActivityAchievementPersistenceImpl()
-
-
Method Details
-
findByGroupId
Returns all the social activity achievements where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group ID- Returns:
- the matching social activity achievements
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByGroupId(long groupId, int start, int end) Returns a range of all the social activity achievements where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)- Returns:
- the range of matching social activity achievements
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activity achievements
-
findByGroupId
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity achievements
-
findByGroupId_First
public com.liferay.social.kernel.model.SocialActivityAchievement findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the first social activity achievement in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByGroupId_First
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByGroupId_Last
public com.liferay.social.kernel.model.SocialActivityAchievement findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the last social activity achievement in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByGroupId_Last
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByGroupId_PrevAndNext
public com.liferay.social.kernel.model.SocialActivityAchievement[] findByGroupId_PrevAndNext(long activityAchievementId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the current social activity achievementgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivityAchievement getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the social activity achievements where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of social activity achievements where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching social activity achievements
-
findByG_U
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U(long groupId, long userId) Returns all the social activity achievements where groupId = ? and userId = ?.- Specified by:
findByG_Uin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user ID- Returns:
- the matching social activity achievements
-
findByG_U
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U(long groupId, long userId, int start, int end) Returns a range of all the social activity achievements where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Uin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)- Returns:
- the range of matching social activity achievements
-
findByG_U
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Uin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activity achievements
-
findByG_U
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Uin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity achievements
-
findByG_U_First
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?.- Specified by:
findByG_U_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_U_First
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?.- Specified by:
fetchByG_U_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_U_Last
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?.- Specified by:
findByG_U_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_U_Last
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?.- Specified by:
fetchByG_U_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_U_PrevAndNext
public com.liferay.social.kernel.model.SocialActivityAchievement[] findByG_U_PrevAndNext(long activityAchievementId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ?.- Specified by:
findByG_U_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the current social activity achievementgroupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
getByG_U_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivityAchievement getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) -
removeByG_U
public void removeByG_U(long groupId, long userId) Removes all the social activity achievements where groupId = ? and userId = ? from the database.- Specified by:
removeByG_Uin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user ID
-
countByG_U
public int countByG_U(long groupId, long userId) Returns the number of social activity achievements where groupId = ? and userId = ?.- Specified by:
countByG_Uin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user ID- Returns:
- the number of matching social activity achievements
-
findByG_N
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_N(long groupId, String name) Returns all the social activity achievements where groupId = ? and name = ?.- Specified by:
findByG_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the name- Returns:
- the matching social activity achievements
-
findByG_N
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_N(long groupId, String name, int start, int end) Returns a range of all the social activity achievements where groupId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the namestart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)- Returns:
- the range of matching social activity achievements
-
findByG_N
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_N(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the namestart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activity achievements
-
findByG_N
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_N(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the namestart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity achievements
-
findByG_N_First
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_N_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the first social activity achievement in the ordered set where groupId = ? and name = ?.- Specified by:
findByG_N_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_N_First
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_N_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and name = ?.- Specified by:
fetchByG_N_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_N_Last
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_N_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the last social activity achievement in the ordered set where groupId = ? and name = ?.- Specified by:
findByG_N_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_N_Last
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_N_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and name = ?.- Specified by:
fetchByG_N_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_N_PrevAndNext
public com.liferay.social.kernel.model.SocialActivityAchievement[] findByG_N_PrevAndNext(long activityAchievementId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and name = ?.- Specified by:
findByG_N_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the current social activity achievementgroupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
getByG_N_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivityAchievement getByG_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) -
removeByG_N
Removes all the social activity achievements where groupId = ? and name = ? from the database.- Specified by:
removeByG_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the name
-
countByG_N
Returns the number of social activity achievements where groupId = ? and name = ?.- Specified by:
countByG_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDname- the name- Returns:
- the number of matching social activity achievements
-
findByG_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup) Returns all the social activity achievements where groupId = ? and firstInGroup = ?.- Specified by:
findByG_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in group- Returns:
- the matching social activity achievements
-
findByG_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup, int start, int end) Returns a range of all the social activity achievements where groupId = ? and firstInGroup = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in groupstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)- Returns:
- the range of matching social activity achievements
-
findByG_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in groupstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activity achievements
-
findByG_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in groupstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity achievements
-
findByG_F_First
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_F_First(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.- Specified by:
findByG_F_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_F_First
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_F_First(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.- Specified by:
fetchByG_F_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_F_Last
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_F_Last(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.- Specified by:
findByG_F_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_F_Last
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_F_Last(long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.- Specified by:
fetchByG_F_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_F_PrevAndNext
public com.liferay.social.kernel.model.SocialActivityAchievement[] findByG_F_PrevAndNext(long activityAchievementId, long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.- Specified by:
findByG_F_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the current social activity achievementgroupId- the group IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
getByG_F_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivityAchievement getByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) -
removeByG_F
public void removeByG_F(long groupId, boolean firstInGroup) Removes all the social activity achievements where groupId = ? and firstInGroup = ? from the database.- Specified by:
removeByG_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in group
-
countByG_F
public int countByG_F(long groupId, boolean firstInGroup) Returns the number of social activity achievements where groupId = ? and firstInGroup = ?.- Specified by:
countByG_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDfirstInGroup- the first in group- Returns:
- the number of matching social activity achievements
-
findByG_U_N
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_U_N(long groupId, long userId, String name) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievement where groupId = ? and userId = ? and name = ? or throws aNoSuchActivityAchievementExceptionif it could not be found.- Specified by:
findByG_U_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDname- the name- Returns:
- the matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_U_N
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_N(long groupId, long userId, String name) Returns the social activity achievement where groupId = ? and userId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_U_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDname- the name- Returns:
- the matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
fetchByG_U_N
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_N(long groupId, long userId, String name, boolean useFinderCache) Returns the social activity achievement where groupId = ? and userId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_U_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
removeByG_U_N
public com.liferay.social.kernel.model.SocialActivityAchievement removeByG_U_N(long groupId, long userId, String name) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Removes the social activity achievement where groupId = ? and userId = ? and name = ? from the database.- Specified by:
removeByG_U_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDname- the name- Returns:
- the social activity achievement that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException
-
countByG_U_N
Returns the number of social activity achievements where groupId = ? and userId = ? and name = ?.- Specified by:
countByG_U_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDname- the name- Returns:
- the number of matching social activity achievements
-
findByG_U_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup) Returns all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
findByG_U_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in group- Returns:
- the matching social activity achievements
-
findByG_U_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end) Returns a range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_U_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in groupstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)- Returns:
- the range of matching social activity achievements
-
findByG_U_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_U_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in groupstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching social activity achievements
-
findByG_U_F
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findByG_U_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in groupstart- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity achievements
-
findByG_U_F_First
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_U_F_First(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
findByG_U_F_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_U_F_First
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_F_First(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
fetchByG_U_F_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_U_F_Last
public com.liferay.social.kernel.model.SocialActivityAchievement findByG_U_F_Last(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
findByG_U_F_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a matching social activity achievement could not be found
-
fetchByG_U_F_Last
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_F_Last(long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
fetchByG_U_F_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity achievement, or
nullif a matching social activity achievement could not be found
-
findByG_U_F_PrevAndNext
public com.liferay.social.kernel.model.SocialActivityAchievement[] findByG_U_F_PrevAndNext(long activityAchievementId, long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
findByG_U_F_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the current social activity achievementgroupId- the group IDuserId- the user IDfirstInGroup- the first in grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
getByG_U_F_PrevAndNext
protected com.liferay.social.kernel.model.SocialActivityAchievement getByG_U_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement, long groupId, long userId, boolean firstInGroup, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean previous) -
removeByG_U_F
public void removeByG_U_F(long groupId, long userId, boolean firstInGroup) Removes all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ? from the database.- Specified by:
removeByG_U_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in group
-
countByG_U_F
public int countByG_U_F(long groupId, long userId, boolean firstInGroup) Returns the number of social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.- Specified by:
countByG_U_Fin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
groupId- the group IDuserId- the user IDfirstInGroup- the first in group- Returns:
- the number of matching social activity achievements
-
cacheResult
public void cacheResult(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) Caches the social activity achievement in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>- Parameters:
socialActivityAchievement- the social activity achievement
-
cacheResult
public void cacheResult(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements) Caches the social activity achievements in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
socialActivityAchievements- the social activity achievements
-
clearCache
public void clearCache()Clears the cache for all social activity achievements.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
clearCache
public void clearCache(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) Clears the cache for the social activity achievement.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
clearCache
public void clearCache(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>
-
cacheUniqueFindersCache
protected void cacheUniqueFindersCache(SocialActivityAchievementModelImpl socialActivityAchievementModelImpl) -
create
public com.liferay.social.kernel.model.SocialActivityAchievement create(long activityAchievementId) Creates a new social activity achievement with the primary key. Does not add the social activity achievement to the database.- Specified by:
createin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key for the new social activity achievement- Returns:
- the new social activity achievement
-
remove
public com.liferay.social.kernel.model.SocialActivityAchievement remove(long activityAchievementId) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Removes the social activity achievement with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the social activity achievement- Returns:
- the social activity achievement that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
remove
public com.liferay.social.kernel.model.SocialActivityAchievement remove(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Removes the social activity achievement with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>- Parameters:
primaryKey- the primary key of the social activity achievement- Returns:
- the social activity achievement that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
removeImpl
protected com.liferay.social.kernel.model.SocialActivityAchievement removeImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
updateImpl
public com.liferay.social.kernel.model.SocialActivityAchievement updateImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) - Specified by:
updateImplin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
findByPrimaryKey
public com.liferay.social.kernel.model.SocialActivityAchievement findByPrimaryKey(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievement with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>- Parameters:
primaryKey- the primary key of the social activity achievement- Returns:
- the social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
findByPrimaryKey
public com.liferay.social.kernel.model.SocialActivityAchievement findByPrimaryKey(long activityAchievementId) throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException Returns the social activity achievement with the primary key or throws aNoSuchActivityAchievementExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the social activity achievement- Returns:
- the social activity achievement
- Throws:
com.liferay.social.kernel.exception.NoSuchActivityAchievementException- if a social activity achievement with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByPrimaryKey(Serializable primaryKey) Returns the social activity achievement with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>- Parameters:
primaryKey- the primary key of the social activity achievement- Returns:
- the social activity achievement, or
nullif a social activity achievement with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.social.kernel.model.SocialActivityAchievement fetchByPrimaryKey(long activityAchievementId) Returns the social activity achievement with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
activityAchievementId- the primary key of the social activity achievement- Returns:
- the social activity achievement, or
nullif a social activity achievement with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.social.kernel.model.SocialActivityAchievement> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
findAll
Returns all the social activity achievements.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Returns:
- the social activity achievements
-
findAll
Returns a range of all the social activity achievements.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
start- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)- Returns:
- the range of social activity achievements
-
findAll
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator) Returns an ordered range of all the social activity achievements.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
start- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of social activity achievements
-
findAll
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity achievements.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivityAchievementModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Parameters:
start- the lower bound of the range of social activity achievementsend- the upper bound of the range of social activity achievements (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of social activity achievements
-
removeAll
public void removeAll()Removes all the social activity achievements from the database.- Specified by:
removeAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence
-
countAll
public int countAll()Returns the number of social activity achievements.- Specified by:
countAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence- Returns:
- the number of social activity achievements
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityAchievement>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityAchievement>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityAchievement>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the social activity achievement persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
-