|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>
com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistenceImpl
public class SocialActivityAchievementPersistenceImpl
The persistence implementation for the social activity achievement service.
Caching information and settings can be found in portal.properties
SocialActivityAchievementPersistence,
SocialActivityAchievementUtil| Field Summary | |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_F
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U_F
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_U_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_F
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_F
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
|
protected com.liferay.portal.service.persistence.GroupPersistence |
groupPersistence
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence |
socialActivityAchievementPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence |
socialActivityCounterPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence |
socialActivityLimitPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence |
socialActivityPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence |
socialActivitySettingPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence |
socialRelationPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence |
socialRequestPersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 | |
|---|---|
SocialActivityAchievementPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the social activity achievement persistence. |
void |
cacheResult(java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> socialActivityAchievements)
Caches the social activity achievements in the entity cache if it is enabled. |
void |
cacheResult(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
Caches the social activity achievement in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all social activity achievements. |
void |
clearCache(java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> socialActivityAchievements)
|
void |
clearCache(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
Clears the cache for the social activity achievement. |
protected void |
clearUniqueFindersCache(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
|
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,
java.lang.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,
java.lang.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.portlet.social.model.SocialActivityAchievement |
create(long activityAchievementId)
Creates a new social activity achievement with the primary key. |
void |
destroy()
|
com.liferay.portlet.social.model.SocialActivityAchievement |
fetchByG_U_N(long groupId,
long userId,
java.lang.String name)
Returns the social activity achievement where groupId = ? and userId = ? and name = ? or returns null if it could not be found. |
com.liferay.portlet.social.model.SocialActivityAchievement |
fetchByG_U_N(long groupId,
long userId,
java.lang.String name,
boolean retrieveFromCache)
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.portlet.social.model.SocialActivityAchievement |
fetchByPrimaryKey(long activityAchievementId)
Returns the social activity achievement with the primary key or returns null if it could not be found. |
com.liferay.portlet.social.model.SocialActivityAchievement |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the social activity achievement with the primary key or returns null if it could not be found. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findAll()
Returns all the social activity achievements. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findAll(int start,
int end)
Returns a range of all the social activity achievements. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity achievements. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_F_First(long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_F_Last(long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement[] |
findByG_F_PrevAndNext(long activityAchievementId,
long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and firstInGroup = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_F(long groupId,
boolean firstInGroup)
Returns all the social activity achievements where groupId = ? and firstInGroup = ?. |
java.util.List<com.liferay.portlet.social.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 = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_F(long groupId,
boolean firstInGroup,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_N_First(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and name = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_N_Last(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and name = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement[] |
findByG_N_PrevAndNext(long activityAchievementId,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and name = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_N(long groupId,
java.lang.String name)
Returns all the social activity achievements where groupId = ? and name = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_N(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the social activity achievements where groupId = ? and name = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_N(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and name = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_U_F_First(long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_U_F_Last(long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement[] |
findByG_U_F_PrevAndNext(long activityAchievementId,
long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_U_F(long groupId,
long userId,
boolean firstInGroup)
Returns all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?. |
java.util.List<com.liferay.portlet.social.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 = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_U_F(long groupId,
long userId,
boolean firstInGroup,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByG_U_N(long groupId,
long userId,
java.lang.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.portlet.social.model.SocialActivityAchievement[] |
findByG_U_PrevAndNext(long activityAchievementId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_U(long groupId,
long userId)
Returns all the social activity achievements where groupId = ? and userId = ?. |
java.util.List<com.liferay.portlet.social.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 = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ?. |
com.liferay.portlet.social.model.SocialActivityAchievement[] |
findByGroupId_PrevAndNext(long activityAchievementId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByGroupId(long groupId)
Returns all the social activity achievements where groupId = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity achievements where groupId = ?. |
java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ?. |
com.liferay.portlet.social.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.portlet.social.model.SocialActivityAchievement |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the social activity achievement with the primary key or throws a NoSuchModelException if it could not be found. |
protected com.liferay.portlet.social.model.SocialActivityAchievement |
getByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.social.model.SocialActivityAchievement |
getByG_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.social.model.SocialActivityAchievement |
getByG_U_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.social.model.SocialActivityAchievement |
getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.social.model.SocialActivityAchievement |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.social.model.SocialActivityAchievement |
remove(long activityAchievementId)
Removes the social activity achievement with the primary key from the database. |
com.liferay.portlet.social.model.SocialActivityAchievement |
remove(java.io.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,
java.lang.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. |
void |
removeByG_U_N(long groupId,
long userId,
java.lang.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.portlet.social.model.SocialActivityAchievement |
removeImpl(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
|
protected com.liferay.portlet.social.model.SocialActivityAchievement |
toUnwrappedModel(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
|
com.liferay.portlet.social.model.SocialActivityAchievement |
updateImpl(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_U_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRelationPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRequestPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class) protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public SocialActivityAchievementPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencesocialActivityAchievement - the social activity achievementpublic void cacheResult(java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> socialActivityAchievements)
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencesocialActivityAchievements - the social activity achievementspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivityAchievement>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>public void clearCache(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivityAchievement>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>public void clearCache(java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> socialActivityAchievements)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivityAchievement>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>protected void clearUniqueFindersCache(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
public com.liferay.portlet.social.model.SocialActivityAchievement create(long activityAchievementId)
create in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key for the new social activity achievement
public com.liferay.portlet.social.model.SocialActivityAchievement remove(long activityAchievementId)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the social activity achievement
com.liferay.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivityAchievement>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>primaryKey - the primary key of the social activity achievement
com.liferay.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.social.model.SocialActivityAchievement removeImpl(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.social.model.SocialActivityAchievement updateImpl(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.social.model.SocialActivityAchievement toUnwrappedModel(com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement)
public com.liferay.portlet.social.model.SocialActivityAchievement findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivityAchievement>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>primaryKey - the primary key of the social activity achievement
com.liferay.portal.NoSuchModelException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByPrimaryKey(long activityAchievementId)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
NoSuchActivityAchievementException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the social activity achievement
com.liferay.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivityAchievement>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivityAchievement>primaryKey - the primary key of the social activity achievement
null if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement fetchByPrimaryKey(long activityAchievementId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistenceactivityAchievementId - the primary key of the social activity achievement
null if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId_First in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement[] findByGroupId_PrevAndNext(long activityAchievementId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId_PrevAndNext in interface com.liferay.portlet.social.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.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.social.model.SocialActivityAchievement getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_U in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_U in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_U in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_First in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement[] findByG_U_PrevAndNext(long activityAchievementId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_PrevAndNext in interface com.liferay.portlet.social.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.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.social.model.SocialActivityAchievement getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
findByG_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_N(long groupId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_N in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_N(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_N in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_N_First(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_First in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_N_Last(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement[] findByG_N_PrevAndNext(long activityAchievementId,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_PrevAndNext in interface com.liferay.portlet.social.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.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.social.model.SocialActivityAchievement getByG_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_F(long groupId,
boolean firstInGroup)
throws com.liferay.portal.kernel.exception.SystemException
findByG_F in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in group
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_F(long groupId,
boolean firstInGroup,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_F in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_F(long groupId,
boolean firstInGroup,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_F in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_F_First(long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_F_First in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_F_Last(long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_F_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement[] findByG_F_PrevAndNext(long activityAchievementId,
long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_F_PrevAndNext in interface com.liferay.portlet.social.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.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.social.model.SocialActivityAchievement getByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_U_N(long groupId,
long userId,
java.lang.String name)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
NoSuchActivityAchievementException if it could not be found.
findByG_U_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the name
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement fetchByG_U_N(long groupId,
long userId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByG_U_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the name
null if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement fetchByG_U_N(long groupId,
long userId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_U_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the nameretrieveFromCache - whether to use the finder cache
null if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_U_F(long groupId,
long userId,
boolean firstInGroup)
throws com.liferay.portal.kernel.exception.SystemException
findByG_U_F in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in group
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_U_F(long groupId,
long userId,
boolean firstInGroup,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_F in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findByG_U_F(long groupId,
long userId,
boolean firstInGroup,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_F in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_U_F_First(long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_F_First in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement findByG_U_F_Last(long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_F_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in grouporderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.social.NoSuchActivityAchievementException - if a matching social activity achievement could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.social.model.SocialActivityAchievement[] findByG_U_F_PrevAndNext(long activityAchievementId,
long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
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.
findByG_U_F_PrevAndNext in interface com.liferay.portlet.social.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.portlet.social.NoSuchActivityAchievementException - if a social activity achievement with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.social.model.SocialActivityAchievement getByG_U_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivityAchievement socialActivityAchievement,
long groupId,
long userId,
boolean firstInGroup,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.social.model.SocialActivityAchievement> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.social.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_U in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_F(long groupId,
boolean firstInGroup)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_F in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in group
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_U_N(long groupId,
long userId,
java.lang.String name)
throws com.liferay.portlet.social.NoSuchActivityAchievementException,
com.liferay.portal.kernel.exception.SystemException
removeByG_U_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.social.NoSuchActivityAchievementException
public void removeByG_U_F(long groupId,
long userId,
boolean firstInGroup)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_U_F in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in group
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_U in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByG_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_F(long groupId,
boolean firstInGroup)
throws com.liferay.portal.kernel.exception.SystemException
countByG_F in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDfirstInGroup - the first in group
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_U_N(long groupId,
long userId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByG_U_N in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_U_F(long groupId,
long userId,
boolean firstInGroup)
throws com.liferay.portal.kernel.exception.SystemException
countByG_U_F in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencegroupId - the group IDuserId - the user IDfirstInGroup - the first in group
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||