@ProviderType public interface SocialActivityAchievementPersistence extends BasePersistence<SocialActivityAchievement>
Caching information and settings can be found in portal.properties
SocialActivityAchievementUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<SocialActivityAchievement> socialActivityAchievements)
Caches the social activity achievements in the entity cache if it is enabled.
|
void |
cacheResult(SocialActivityAchievement socialActivityAchievement)
Caches the social activity achievement in the entity cache if it is enabled.
|
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 = ?.
|
SocialActivityAchievement |
create(long activityAchievementId)
Creates a new social activity achievement with the primary key.
|
SocialActivityAchievement |
fetchByG_F_First(long groupId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
fetchByG_F_Last(long groupId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
fetchByG_N_First(long groupId,
String name,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and name = ?.
|
SocialActivityAchievement |
fetchByG_N_Last(long groupId,
String name,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and name = ?.
|
SocialActivityAchievement |
fetchByG_U_F_First(long groupId,
long userId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
fetchByG_U_F_Last(long groupId,
long userId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?.
|
SocialActivityAchievement |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?.
|
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. |
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. |
SocialActivityAchievement |
fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ?.
|
SocialActivityAchievement |
fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ?.
|
SocialActivityAchievement |
fetchByPrimaryKey(long activityAchievementId)
Returns the social activity achievement with the primary key or returns
null if it could not be found. |
List<SocialActivityAchievement> |
findAll()
Returns all the social activity achievements.
|
List<SocialActivityAchievement> |
findAll(int start,
int end)
Returns a range of all the social activity achievements.
|
List<SocialActivityAchievement> |
findAll(int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns an ordered range of all the social activity achievements.
|
List<SocialActivityAchievement> |
findAll(int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity achievements.
|
SocialActivityAchievement |
findByG_F_First(long groupId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
findByG_F_Last(long groupId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.
|
SocialActivityAchievement[] |
findByG_F_PrevAndNext(long activityAchievementId,
long groupId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and firstInGroup = ?.
|
List<SocialActivityAchievement> |
findByG_F(long groupId,
boolean firstInGroup)
Returns all the social activity achievements where groupId = ? and firstInGroup = ?.
|
List<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<SocialActivityAchievement> |
findByG_F(long groupId,
boolean firstInGroup,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?.
|
List<SocialActivityAchievement> |
findByG_F(long groupId,
boolean firstInGroup,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity achievements where groupId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
findByG_N_First(long groupId,
String name,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and name = ?.
|
SocialActivityAchievement |
findByG_N_Last(long groupId,
String name,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and name = ?.
|
SocialActivityAchievement[] |
findByG_N_PrevAndNext(long activityAchievementId,
long groupId,
String name,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and name = ?.
|
List<SocialActivityAchievement> |
findByG_N(long groupId,
String name)
Returns all the social activity achievements where groupId = ? and name = ?.
|
List<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<SocialActivityAchievement> |
findByG_N(long groupId,
String name,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and name = ?.
|
List<SocialActivityAchievement> |
findByG_N(long groupId,
String name,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity achievements where groupId = ? and name = ?.
|
SocialActivityAchievement |
findByG_U_F_First(long groupId,
long userId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
findByG_U_F_Last(long groupId,
long userId,
boolean firstInGroup,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and userId = ? and firstInGroup = ?.
|
SocialActivityAchievement[] |
findByG_U_F_PrevAndNext(long activityAchievementId,
long groupId,
long userId,
boolean firstInGroup,
OrderByComparator<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<SocialActivityAchievement> |
findByG_U_F(long groupId,
long userId,
boolean firstInGroup)
Returns all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.
|
List<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<SocialActivityAchievement> |
findByG_U_F(long groupId,
long userId,
boolean firstInGroup,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.
|
List<SocialActivityAchievement> |
findByG_U_F(long groupId,
long userId,
boolean firstInGroup,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity achievements where groupId = ? and userId = ? and firstInGroup = ?.
|
SocialActivityAchievement |
findByG_U_First(long groupId,
long userId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ? and userId = ?.
|
SocialActivityAchievement |
findByG_U_Last(long groupId,
long userId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ? and userId = ?.
|
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. |
SocialActivityAchievement[] |
findByG_U_PrevAndNext(long activityAchievementId,
long groupId,
long userId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ? and userId = ?.
|
List<SocialActivityAchievement> |
findByG_U(long groupId,
long userId)
Returns all the social activity achievements where groupId = ? and userId = ?.
|
List<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<SocialActivityAchievement> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?.
|
List<SocialActivityAchievement> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity achievements where groupId = ? and userId = ?.
|
SocialActivityAchievement |
findByGroupId_First(long groupId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the first social activity achievement in the ordered set where groupId = ?.
|
SocialActivityAchievement |
findByGroupId_Last(long groupId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the last social activity achievement in the ordered set where groupId = ?.
|
SocialActivityAchievement[] |
findByGroupId_PrevAndNext(long activityAchievementId,
long groupId,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns the social activity achievements before and after the current social activity achievement in the ordered set where groupId = ?.
|
List<SocialActivityAchievement> |
findByGroupId(long groupId)
Returns all the social activity achievements where groupId = ?.
|
List<SocialActivityAchievement> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity achievements where groupId = ?.
|
List<SocialActivityAchievement> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator)
Returns an ordered range of all the social activity achievements where groupId = ?.
|
List<SocialActivityAchievement> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivityAchievement> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity achievements where groupId = ?.
|
SocialActivityAchievement |
findByPrimaryKey(long activityAchievementId)
Returns the social activity achievement with the primary key or throws a
NoSuchActivityAchievementException if it could not be found. |
SocialActivityAchievement |
remove(long activityAchievementId)
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.
|
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.
|
SocialActivityAchievement |
updateImpl(SocialActivityAchievement socialActivityAchievement) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<SocialActivityAchievement> findByGroupId(long groupId)
groupId
- the group IDList<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
.
groupId
- the group IDstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)List<SocialActivityAchievement> findByGroupId(long groupId, int start, int end, OrderByComparator<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
.
groupId
- the group IDstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<SocialActivityAchievement> findByGroupId(long groupId, int start, int end, OrderByComparator<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
.
groupId
- the group IDstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivityAchievement findByGroupId_First(long groupId, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByGroupId_First(long groupId, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity achievement could not be foundSocialActivityAchievement findByGroupId_Last(long groupId, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByGroupId_Last(long groupId, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity achievement could not be foundSocialActivityAchievement[] findByGroupId_PrevAndNext(long activityAchievementId, long groupId, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
activityAchievementId
- the primary key of the current social activity achievementgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDList<SocialActivityAchievement> findByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDList<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
.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)List<SocialActivityAchievement> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<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
.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<SocialActivityAchievement> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<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
.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivityAchievement findByG_U_First(long groupId, long userId, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_U_First(long groupId, long userId, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- 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 foundSocialActivityAchievement findByG_U_Last(long groupId, long userId, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_U_Last(long groupId, long userId, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- 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 foundSocialActivityAchievement[] findByG_U_PrevAndNext(long activityAchievementId, long groupId, long userId, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
activityAchievementId
- the primary key of the current social activity achievementgroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundvoid removeByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDint countByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDList<SocialActivityAchievement> findByG_N(long groupId, String name)
groupId
- the group IDname
- the nameList<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
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)List<SocialActivityAchievement> findByG_N(long groupId, String name, int start, int end, OrderByComparator<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
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<SocialActivityAchievement> findByG_N(long groupId, String name, int start, int end, OrderByComparator<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
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivityAchievement findByG_N_First(long groupId, String name, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_N_First(long groupId, String name, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity achievement could not be foundSocialActivityAchievement findByG_N_Last(long groupId, String name, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_N_Last(long groupId, String name, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity achievement could not be foundSocialActivityAchievement[] findByG_N_PrevAndNext(long activityAchievementId, long groupId, String name, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
activityAchievementId
- the primary key of the current social activity achievementgroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundvoid removeByG_N(long groupId, String name)
groupId
- the group IDname
- the nameint countByG_N(long groupId, String name)
groupId
- the group IDname
- the nameList<SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup)
groupId
- the group IDfirstInGroup
- the first in groupList<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
.
groupId
- the group IDfirstInGroup
- the first in groupstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)List<SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup, int start, int end, OrderByComparator<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
.
groupId
- the group IDfirstInGroup
- the first in groupstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<SocialActivityAchievement> findByG_F(long groupId, boolean firstInGroup, int start, int end, OrderByComparator<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
.
groupId
- the group IDfirstInGroup
- the first in groupstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivityAchievement findByG_F_First(long groupId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDfirstInGroup
- the first in grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_F_First(long groupId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- 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 foundSocialActivityAchievement findByG_F_Last(long groupId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDfirstInGroup
- the first in grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_F_Last(long groupId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- 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 foundSocialActivityAchievement[] findByG_F_PrevAndNext(long activityAchievementId, long groupId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
activityAchievementId
- 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
)NoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundvoid removeByG_F(long groupId, boolean firstInGroup)
groupId
- the group IDfirstInGroup
- the first in groupint countByG_F(long groupId, boolean firstInGroup)
groupId
- the group IDfirstInGroup
- the first in groupSocialActivityAchievement findByG_U_N(long groupId, long userId, String name) throws NoSuchActivityAchievementException
NoSuchActivityAchievementException
if it could not be found.groupId
- the group IDuserId
- the user IDname
- the nameNoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_U_N(long groupId, long userId, String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDuserId
- the user IDname
- the namenull
if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_U_N(long groupId, long userId, String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDuserId
- the user IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching social activity achievement could not be foundSocialActivityAchievement removeByG_U_N(long groupId, long userId, String name) throws NoSuchActivityAchievementException
groupId
- the group IDuserId
- the user IDname
- the nameNoSuchActivityAchievementException
int countByG_U_N(long groupId, long userId, String name)
groupId
- the group IDuserId
- the user IDname
- the nameList<SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup)
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in groupList<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
.
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in groupstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)List<SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end, OrderByComparator<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
.
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in groupstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<SocialActivityAchievement> findByG_U_F(long groupId, long userId, boolean firstInGroup, int start, int end, OrderByComparator<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
.
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in groupstart
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivityAchievement findByG_U_F_First(long groupId, long userId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_U_F_First(long groupId, long userId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- 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 foundSocialActivityAchievement findByG_U_F_Last(long groupId, long userId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a matching social activity achievement could not be foundSocialActivityAchievement fetchByG_U_F_Last(long groupId, long userId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator)
groupId
- 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 foundSocialActivityAchievement[] findByG_U_F_PrevAndNext(long activityAchievementId, long groupId, long userId, boolean firstInGroup, OrderByComparator<SocialActivityAchievement> orderByComparator) throws NoSuchActivityAchievementException
activityAchievementId
- the primary key of the current social activity achievementgroupId
- the group IDuserId
- the user IDfirstInGroup
- the first in grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundvoid removeByG_U_F(long groupId, long userId, boolean firstInGroup)
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in groupint countByG_U_F(long groupId, long userId, boolean firstInGroup)
groupId
- the group IDuserId
- the user IDfirstInGroup
- the first in groupvoid cacheResult(SocialActivityAchievement socialActivityAchievement)
socialActivityAchievement
- the social activity achievementvoid cacheResult(List<SocialActivityAchievement> socialActivityAchievements)
socialActivityAchievements
- the social activity achievementsSocialActivityAchievement create(long activityAchievementId)
activityAchievementId
- the primary key for the new social activity achievementSocialActivityAchievement remove(long activityAchievementId) throws NoSuchActivityAchievementException
activityAchievementId
- the primary key of the social activity achievementNoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundSocialActivityAchievement updateImpl(SocialActivityAchievement socialActivityAchievement)
SocialActivityAchievement findByPrimaryKey(long activityAchievementId) throws NoSuchActivityAchievementException
NoSuchActivityAchievementException
if it could not be found.activityAchievementId
- the primary key of the social activity achievementNoSuchActivityAchievementException
- if a social activity achievement with the primary key could not be foundSocialActivityAchievement fetchByPrimaryKey(long activityAchievementId)
null
if it could not be found.activityAchievementId
- the primary key of the social activity achievementnull
if a social activity achievement with the primary key could not be foundList<SocialActivityAchievement> findAll()
List<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
.
start
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)List<SocialActivityAchievement> findAll(int start, int end, OrderByComparator<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
.
start
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<SocialActivityAchievement> findAll(int start, int end, OrderByComparator<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
.
start
- the lower bound of the range of social activity achievementsend
- the upper bound of the range of social activity achievements (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()