public class SocialActivityAchievementPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>
implements com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, 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 and Description |
|---|
SocialActivityAchievementPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the social activity achievement persistence.
|
void |
cacheResult(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements)
Caches the social activity achievements in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement)
Caches the social activity achievement in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(SocialActivityAchievementModelImpl socialActivityAchievementModelImpl) |
void |
clearCache()
Clears the cache for all social activity achievements.
|
void |
clearCache(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements) |
void |
clearCache(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement)
Clears the cache for the social activity achievement.
|
protected void |
clearUniqueFindersCache(SocialActivityAchievementModelImpl socialActivityAchievementModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of social activity achievements.
|
int |
countByG_F(long groupId,
boolean firstInGroup)
Returns the number of social activity achievements where groupId = ? and firstInGroup = ?.
|
int |
countByG_N(long groupId,
String name)
Returns the number of social activity achievements where groupId = ? and name = ?.
|
int |
countByG_U_F(long groupId,
long userId,
boolean firstInGroup)
Returns the number of social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.
|
int |
countByG_U_N(long groupId,
long userId,
String name)
Returns the number of social activity achievements where groupId = ? and userId = ? and name = ?.
|
int |
countByG_U(long groupId,
long userId)
Returns the number of social activity achievements where groupId = ? and userId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of social activity achievements where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivityAchievement |
create(long activityAchievementId)
Creates a new social activity achievement with the primary key.
|
void |
destroy() |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
com.liferay.social.kernel.model.SocialActivityAchievement |
fetchByPrimaryKey(long activityAchievementId)
Returns the social activity achievement with the primary key or returns
null if it could not be found. |
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.
|
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)
Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.
|
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)
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> |
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.SocialActivityAchievement |
findByG_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.SocialActivityAchievement |
findByG_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_N(long groupId,
String name)
Returns 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)
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.SocialActivityAchievement |
findByG_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.SocialActivityAchievement |
findByG_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 = ?.
|
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.SocialActivityAchievement |
findByG_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.SocialActivityAchievement |
findByG_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.SocialActivityAchievement |
findByG_U_N(long groupId,
long userId,
String name)
Returns the social activity achievement where groupId = ? and userId = ? and name = ? or throws a
NoSuchActivityAchievementException if 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> |
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 = ?.
|
com.liferay.social.kernel.model.SocialActivityAchievement |
findByGroupId_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.SocialActivityAchievement |
findByGroupId_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 = ?.
|
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.SocialActivityAchievement |
findByPrimaryKey(long activityAchievementId)
Returns the social activity achievement with the primary key or throws a
NoSuchActivityAchievementException if it could not be found. |
com.liferay.social.kernel.model.SocialActivityAchievement |
findByPrimaryKey(Serializable primaryKey)
Returns the social activity achievement with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
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) |
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) |
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) |
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) |
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) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.social.kernel.model.SocialActivityAchievement |
remove(long activityAchievementId)
Removes the social activity achievement with the primary key from the database.
|
com.liferay.social.kernel.model.SocialActivityAchievement |
remove(Serializable primaryKey)
Removes the social activity achievement with the primary key from the database.
|
void |
removeAll()
Removes all the social activity achievements from the database.
|
void |
removeByG_F(long groupId,
boolean firstInGroup)
Removes all the social activity achievements where groupId = ? and firstInGroup = ? from the database.
|
void |
removeByG_N(long groupId,
String name)
Removes all the social activity achievements where groupId = ? and name = ? from the database.
|
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.
|
com.liferay.social.kernel.model.SocialActivityAchievement |
removeByG_U_N(long groupId,
long userId,
String name)
Removes the social activity achievement where groupId = ? and userId = ? and name = ? from the database.
|
void |
removeByG_U(long groupId,
long userId)
Removes all the social activity achievements where groupId = ? and userId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the social activity achievements where groupId = ? from the database.
|
protected com.liferay.social.kernel.model.SocialActivityAchievement |
removeImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) |
com.liferay.social.kernel.model.SocialActivityAchievement |
updateImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
SocialActivityAchievementUtil to access the social activity achievement persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public SocialActivityAchievementPersistenceImpl()
public List<com.liferay.social.kernel.model.SocialActivityAchievement> findByGroupId(long groupId)
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDpublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByGroupId_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator)
fetchByGroupId_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByGroupId_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityAchievement> orderByComparator)
fetchByGroupId_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByGroupId_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the current social activity achievementgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundprotected 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)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDpublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U(long groupId,
long userId)
findByG_U in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDpublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U(long groupId,
long userId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_U in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_U in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_U in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByG_U_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_U_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_U_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_U_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_U_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the current social activity achievementgroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundprotected 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)
public void removeByG_U(long groupId,
long userId)
removeByG_U in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDpublic int countByG_U(long groupId,
long userId)
countByG_U in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDpublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_N(long groupId,
String name)
findByG_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the namepublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_N(long groupId,
String name,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByG_N_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_N_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_N_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_N_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_N_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the current social activity achievementgroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundprotected 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)
public void removeByG_N(long groupId,
String name)
removeByG_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the namepublic int countByG_N(long groupId,
String name)
countByG_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the namepublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_F(long groupId,
boolean firstInGroup)
findByG_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouppublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_F(long groupId,
boolean firstInGroup,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByG_F_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_F_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_F_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_F_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_F_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the current social activity achievementgroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundprotected 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)
public void removeByG_F(long groupId,
boolean firstInGroup)
removeByG_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouppublic int countByG_F(long groupId,
boolean firstInGroup)
countByG_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouppublic com.liferay.social.kernel.model.SocialActivityAchievement findByG_U_N(long groupId,
long userId,
String name)
throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException
NoSuchActivityAchievementException if it could not be found.findByG_U_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the namecom.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_N(long groupId,
long userId,
String name)
null if it could not be found. Uses the finder cache.fetchByG_U_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the namenull if a matching social activity achievement could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement fetchByG_U_N(long groupId,
long userId,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByG_U_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the nameuseFinderCache - whether to use the finder cachenull if a matching social activity achievement could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement removeByG_U_N(long groupId,
long userId,
String name)
throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException
removeByG_U_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the namecom.liferay.social.kernel.exception.NoSuchActivityAchievementExceptionpublic int countByG_U_N(long groupId,
long userId,
String name)
countByG_U_N in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the namepublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U_F(long groupId,
long userId,
boolean firstInGroup)
findByG_U_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouppublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findByG_U_F(long groupId,
long userId,
boolean firstInGroup,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_U_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_U_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findByG_U_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByG_U_F_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_U_F_First in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_U_F_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a matching social activity achievement could not be foundpublic 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)
fetchByG_U_F_Last in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)null if a matching social activity achievement could not be foundpublic 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
findByG_U_F_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - 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 (optionally null)com.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundprotected 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)
public void removeByG_U_F(long groupId,
long userId,
boolean firstInGroup)
removeByG_U_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouppublic int countByG_U_F(long groupId,
long userId,
boolean firstInGroup)
countByG_U_F in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouppublic void cacheResult(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement)
cacheResult in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>socialActivityAchievement - the social activity achievementpublic void cacheResult(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements)
cacheResult in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencesocialActivityAchievements - the social activity achievementspublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>public void clearCache(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>public void clearCache(List<com.liferay.social.kernel.model.SocialActivityAchievement> socialActivityAchievements)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>protected void cacheUniqueFindersCache(SocialActivityAchievementModelImpl socialActivityAchievementModelImpl)
protected void clearUniqueFindersCache(SocialActivityAchievementModelImpl socialActivityAchievementModelImpl, boolean clearCurrent)
public com.liferay.social.kernel.model.SocialActivityAchievement create(long activityAchievementId)
create in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key for the new social activity achievementpublic com.liferay.social.kernel.model.SocialActivityAchievement remove(long activityAchievementId)
throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException
remove in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the social activity achievementcom.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement remove(Serializable primaryKey)
throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>primaryKey - the primary key of the social activity achievementcom.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivityAchievement removeImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>public com.liferay.social.kernel.model.SocialActivityAchievement updateImpl(com.liferay.social.kernel.model.SocialActivityAchievement socialActivityAchievement)
updateImpl in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>public com.liferay.social.kernel.model.SocialActivityAchievement findByPrimaryKey(Serializable primaryKey)
throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityAchievement>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>primaryKey - the primary key of the social activity achievementcom.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement findByPrimaryKey(long activityAchievementId)
throws com.liferay.social.kernel.exception.NoSuchActivityAchievementException
NoSuchActivityAchievementException if it could not be found.findByPrimaryKey in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the social activity achievementcom.liferay.social.kernel.exception.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityAchievement fetchByPrimaryKey(long activityAchievementId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the social activity achievementnull if a social activity achievement with the primary key could not be foundpublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findAll()
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencepublic List<com.liferay.social.kernel.model.SocialActivityAchievement> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencestart - the lower bound of the range of social activity achievementsend - the upper bound of the range of social activity achievements (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencestart - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from SocialActivityAchievementModelImpl.
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencestart - 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 (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistencepublic int countAll()
countAll in interface com.liferay.social.kernel.service.persistence.SocialActivityAchievementPersistenceprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityAchievement>public void afterPropertiesSet()
public void destroy()