|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.service.persistence.SocialEquityUserUtil
public class SocialEquityUserUtil
The persistence utility for the social equity user service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
SocialEquityUserPersistence,
SocialEquityUserPersistenceImpl| Constructor Summary | |
|---|---|
SocialEquityUserUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(List<SocialEquityUser> socialEquityUsers)
Caches the social equity users in the entity cache if it is enabled. |
static void |
cacheResult(SocialEquityUser socialEquityUser)
Caches the social equity user in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(SocialEquityUser socialEquityUser)
|
static int |
countAll()
Counts all the social equity users. |
static int |
countByG_R(long groupId,
int rank)
Counts all the social equity users where groupId = ? and rank = ?. |
static int |
countByG_U(long groupId,
long userId)
Counts all the social equity users where groupId = ? and userId = ?. |
static int |
countByGroupId(long groupId)
Counts all the social equity users where groupId = ?. |
static int |
countByGroupRanked(long groupId)
Counts all the social equity users where groupId = ?. |
static int |
countByRank(int rank)
Counts all the social equity users where rank = ?. |
static int |
countByUserId(long userId)
Counts all the social equity users where userId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static SocialEquityUser |
create(long equityUserId)
Creates a new social equity user with the primary key. |
static SocialEquityUser |
fetchByG_U(long groupId,
long userId)
Finds the social equity user where groupId = ? and userId = ? or returns null if it could not be found. |
static SocialEquityUser |
fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
Finds the social equity user where groupId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache. |
static SocialEquityUser |
fetchByPrimaryKey(long equityUserId)
Finds the social equity user with the primary key or returns null if it could not be found. |
static List<SocialEquityUser> |
findAll()
Finds all the social equity users. |
static List<SocialEquityUser> |
findAll(int start,
int end)
Finds a range of all the social equity users. |
static List<SocialEquityUser> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity users. |
static SocialEquityUser |
findByG_R_First(long groupId,
int rank,
OrderByComparator orderByComparator)
Finds the first social equity user in the ordered set where groupId = ? and rank = ?. |
static SocialEquityUser |
findByG_R_Last(long groupId,
int rank,
OrderByComparator orderByComparator)
Finds the last social equity user in the ordered set where groupId = ? and rank = ?. |
static SocialEquityUser[] |
findByG_R_PrevAndNext(long equityUserId,
long groupId,
int rank,
OrderByComparator orderByComparator)
Finds the social equity users before and after the current social equity user in the ordered set where groupId = ? and rank = ?. |
static List<SocialEquityUser> |
findByG_R(long groupId,
int rank)
Finds all the social equity users where groupId = ? and rank = ?. |
static List<SocialEquityUser> |
findByG_R(long groupId,
int rank,
int start,
int end)
Finds a range of all the social equity users where groupId = ? and rank = ?. |
static List<SocialEquityUser> |
findByG_R(long groupId,
int rank,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity users where groupId = ? and rank = ?. |
static SocialEquityUser |
findByG_U(long groupId,
long userId)
Finds the social equity user where groupId = ? and userId = ? or throws a NoSuchEquityUserException if it could not be found. |
static SocialEquityUser |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first social equity user in the ordered set where groupId = ?. |
static SocialEquityUser |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last social equity user in the ordered set where groupId = ?. |
static SocialEquityUser[] |
findByGroupId_PrevAndNext(long equityUserId,
long groupId,
OrderByComparator orderByComparator)
Finds the social equity users before and after the current social equity user in the ordered set where groupId = ?. |
static List<SocialEquityUser> |
findByGroupId(long groupId)
Finds all the social equity users where groupId = ?. |
static List<SocialEquityUser> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the social equity users where groupId = ?. |
static List<SocialEquityUser> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity users where groupId = ?. |
static SocialEquityUser |
findByGroupRanked_First(long groupId,
OrderByComparator orderByComparator)
Finds the first social equity user in the ordered set where groupId = ?. |
static SocialEquityUser |
findByGroupRanked_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last social equity user in the ordered set where groupId = ?. |
static SocialEquityUser[] |
findByGroupRanked_PrevAndNext(long equityUserId,
long groupId,
OrderByComparator orderByComparator)
Finds the social equity users before and after the current social equity user in the ordered set where groupId = ?. |
static List<SocialEquityUser> |
findByGroupRanked(long groupId)
Finds all the social equity users where groupId = ?. |
static List<SocialEquityUser> |
findByGroupRanked(long groupId,
int start,
int end)
Finds a range of all the social equity users where groupId = ?. |
static List<SocialEquityUser> |
findByGroupRanked(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity users where groupId = ?. |
static SocialEquityUser |
findByPrimaryKey(long equityUserId)
Finds the social equity user with the primary key or throws a NoSuchEquityUserException if it could not be found. |
static SocialEquityUser |
findByRank_First(int rank,
OrderByComparator orderByComparator)
Finds the first social equity user in the ordered set where rank = ?. |
static SocialEquityUser |
findByRank_Last(int rank,
OrderByComparator orderByComparator)
Finds the last social equity user in the ordered set where rank = ?. |
static SocialEquityUser[] |
findByRank_PrevAndNext(long equityUserId,
int rank,
OrderByComparator orderByComparator)
Finds the social equity users before and after the current social equity user in the ordered set where rank = ?. |
static List<SocialEquityUser> |
findByRank(int rank)
Finds all the social equity users where rank = ?. |
static List<SocialEquityUser> |
findByRank(int rank,
int start,
int end)
Finds a range of all the social equity users where rank = ?. |
static List<SocialEquityUser> |
findByRank(int rank,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity users where rank = ?. |
static SocialEquityUser |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first social equity user in the ordered set where userId = ?. |
static SocialEquityUser |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last social equity user in the ordered set where userId = ?. |
static SocialEquityUser[] |
findByUserId_PrevAndNext(long equityUserId,
long userId,
OrderByComparator orderByComparator)
Finds the social equity users before and after the current social equity user in the ordered set where userId = ?. |
static List<SocialEquityUser> |
findByUserId(long userId)
Finds all the social equity users where userId = ?. |
static List<SocialEquityUser> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the social equity users where userId = ?. |
static List<SocialEquityUser> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity users where userId = ?. |
static List<SocialEquityUser> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<SocialEquityUser> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<SocialEquityUser> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static SocialEquityUserPersistence |
getPersistence()
|
static SocialEquityUser |
remove(long equityUserId)
Removes the social equity user with the primary key from the database. |
static SocialEquityUser |
remove(SocialEquityUser socialEquityUser)
|
static void |
removeAll()
Removes all the social equity users from the database. |
static void |
removeByG_R(long groupId,
int rank)
Removes all the social equity users where groupId = ? and rank = ? from the database. |
static void |
removeByG_U(long groupId,
long userId)
Removes the social equity user where groupId = ? and userId = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the social equity users where groupId = ? from the database. |
static void |
removeByGroupRanked(long groupId)
Removes all the social equity users where groupId = ? from the database. |
static void |
removeByRank(int rank)
Removes all the social equity users where rank = ? from the database. |
static void |
removeByUserId(long userId)
Removes all the social equity users where userId = ? from the database. |
void |
setPersistence(SocialEquityUserPersistence persistence)
|
static SocialEquityUser |
update(SocialEquityUser socialEquityUser,
boolean merge)
|
static SocialEquityUser |
update(SocialEquityUser socialEquityUser,
boolean merge,
ServiceContext serviceContext)
|
static SocialEquityUser |
updateImpl(SocialEquityUser socialEquityUser,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocialEquityUserUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(SocialEquityUser socialEquityUser)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<SocialEquityUser> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<SocialEquityUser> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<SocialEquityUser> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SocialEquityUser remove(SocialEquityUser socialEquityUser)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static SocialEquityUser update(SocialEquityUser socialEquityUser,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static SocialEquityUser update(SocialEquityUser socialEquityUser,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(SocialEquityUser socialEquityUser)
socialEquityUser - the social equity user to cachepublic static void cacheResult(List<SocialEquityUser> socialEquityUsers)
socialEquityUsers - the social equity users to cachepublic static SocialEquityUser create(long equityUserId)
equityUserId - the primary key for the new social equity user
public static SocialEquityUser remove(long equityUserId)
throws SystemException,
NoSuchEquityUserException
equityUserId - the primary key of the social equity user to remove
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static SocialEquityUser updateImpl(SocialEquityUser socialEquityUser,
boolean merge)
throws SystemException
SystemException
public static SocialEquityUser findByPrimaryKey(long equityUserId)
throws SystemException,
NoSuchEquityUserException
NoSuchEquityUserException if it could not be found.
equityUserId - the primary key of the social equity user to find
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static SocialEquityUser fetchByPrimaryKey(long equityUserId)
throws SystemException
null if it could not be found.
equityUserId - the primary key of the social equity user to find
null if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByGroupId(long groupId,
int start,
int end)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SocialEquityUser findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser[] findByGroupId_PrevAndNext(long equityUserId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
equityUserId - the primary key of the current social equity usergroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByGroupRanked(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByGroupRanked(long groupId,
int start,
int end)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByGroupRanked(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SocialEquityUser findByGroupRanked_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser findByGroupRanked_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser[] findByGroupRanked_PrevAndNext(long equityUserId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
equityUserId - the primary key of the current social equity usergroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByUserId(long userId)
throws SystemException
userId - the user id to search with
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByUserId(long userId,
int start,
int end)
throws 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.
userId - the user id to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
userId - the user id to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SocialEquityUser findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
userId - the user id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
userId - the user id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser[] findByUserId_PrevAndNext(long equityUserId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
equityUserId - the primary key of the current social equity useruserId - the user id to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByRank(int rank)
throws SystemException
rank - the rank to search with
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByRank(int rank,
int start,
int end)
throws 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.
rank - the rank to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByRank(int rank,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
rank - the rank to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SocialEquityUser findByRank_First(int rank,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
rank - the rank to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser findByRank_Last(int rank,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
rank - the rank to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser[] findByRank_PrevAndNext(long equityUserId,
int rank,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
equityUserId - the primary key of the current social equity userrank - the rank to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static SocialEquityUser findByG_U(long groupId,
long userId)
throws SystemException,
NoSuchEquityUserException
NoSuchEquityUserException if it could not be found.
groupId - the group id to search withuserId - the user id to search with
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser fetchByG_U(long groupId,
long userId)
throws SystemException
null if it could not be found. Uses the finder cache.
groupId - the group id to search withuserId - the user id to search with
null if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
groupId - the group id to search withuserId - the user id to search with
null if a matching social equity user could not be found
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByG_R(long groupId,
int rank)
throws SystemException
groupId - the group id to search withrank - the rank to search with
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByG_R(long groupId,
int rank,
int start,
int end)
throws 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.
groupId - the group id to search withrank - the rank to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityUser> findByG_R(long groupId,
int rank,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withrank - the rank to search withstart - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SocialEquityUser findByG_R_First(long groupId,
int rank,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
groupId - the group id to search withrank - the rank to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser findByG_R_Last(long groupId,
int rank,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
groupId - the group id to search withrank - the rank to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
public static SocialEquityUser[] findByG_R_PrevAndNext(long equityUserId,
long groupId,
int rank,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityUserException
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.
equityUserId - the primary key of the current social equity usergroupId - the group id to search withrank - the rank to search withorderByComparator - the comparator to order the set by
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityUser> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<SocialEquityUser> findAll(int start,
int end)
throws 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.
start - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityUser> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws 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.
start - the lower bound of the range of social equity users to returnend - the upper bound of the range of social equity users to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static void removeByGroupRanked(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static void removeByUserId(long userId)
throws SystemException
userId - the user id to search with
SystemException - if a system exception occurred
public static void removeByRank(int rank)
throws SystemException
rank - the rank to search with
SystemException - if a system exception occurred
public static void removeByG_U(long groupId,
long userId)
throws SystemException,
NoSuchEquityUserException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
NoSuchEquityUserException
public static void removeByG_R(long groupId,
int rank)
throws SystemException
groupId - the group id to search withrank - the rank to search with
SystemException - if a system exception occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int countByGroupRanked(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int countByUserId(long userId)
throws SystemException
userId - the user id to search with
SystemException - if a system exception occurred
public static int countByRank(int rank)
throws SystemException
rank - the rank to search with
SystemException - if a system exception occurred
public static int countByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
public static int countByG_R(long groupId,
int rank)
throws SystemException
groupId - the group id to search withrank - the rank to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static SocialEquityUserPersistence getPersistence()
public void setPersistence(SocialEquityUserPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||