|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocialEquityUserPersistence
The persistence interface for the social equity user service.
Caching information and settings can be found in portal.properties
SocialEquityUserPersistenceImpl,
SocialEquityUserUtil| Method Summary | |
|---|---|
void |
cacheResult(List<SocialEquityUser> socialEquityUsers)
Caches the social equity users in the entity cache if it is enabled. |
void |
cacheResult(SocialEquityUser socialEquityUser)
Caches the social equity user in the entity cache if it is enabled. |
int |
countAll()
Returns the number of social equity users. |
int |
countByG_R(long groupId,
int rank)
Returns the number of social equity users where groupId = ? and rank = ?. |
int |
countByG_U(long groupId,
long userId)
Returns the number of social equity users where groupId = ? and userId = ?. |
int |
countByGroupId(long groupId)
Returns the number of social equity users where groupId = ?. |
int |
countByGroupRanked(long groupId)
Returns the number of social equity users where groupId = ?. |
int |
countByRank(int rank)
Returns the number of social equity users where rank = ?. |
int |
countByUserId(long userId)
Returns the number of social equity users where userId = ?. |
SocialEquityUser |
create(long equityUserId)
Creates a new social equity user with the primary key. |
SocialEquityUser |
fetchByG_U(long groupId,
long userId)
Returns the social equity user where groupId = ? and userId = ? or returns null if it could not be found. |
SocialEquityUser |
fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
Returns the social equity user where groupId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache. |
SocialEquityUser |
fetchByPrimaryKey(long equityUserId)
Returns the social equity user with the primary key or returns null if it could not be found. |
List<SocialEquityUser> |
findAll()
Returns all the social equity users. |
List<SocialEquityUser> |
findAll(int start,
int end)
Returns a range of all the social equity users. |
List<SocialEquityUser> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity users. |
SocialEquityUser |
findByG_R_First(long groupId,
int rank,
OrderByComparator orderByComparator)
Returns the first social equity user in the ordered set where groupId = ? and rank = ?. |
SocialEquityUser |
findByG_R_Last(long groupId,
int rank,
OrderByComparator orderByComparator)
Returns the last social equity user in the ordered set where groupId = ? and rank = ?. |
SocialEquityUser[] |
findByG_R_PrevAndNext(long equityUserId,
long groupId,
int rank,
OrderByComparator orderByComparator)
Returns the social equity users before and after the current social equity user in the ordered set where groupId = ? and rank = ?. |
List<SocialEquityUser> |
findByG_R(long groupId,
int rank)
Returns all the social equity users where groupId = ? and rank = ?. |
List<SocialEquityUser> |
findByG_R(long groupId,
int rank,
int start,
int end)
Returns a range of all the social equity users where groupId = ? and rank = ?. |
List<SocialEquityUser> |
findByG_R(long groupId,
int rank,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity users where groupId = ? and rank = ?. |
SocialEquityUser |
findByG_U(long groupId,
long userId)
Returns the social equity user where groupId = ? and userId = ? or throws a NoSuchEquityUserException if it could not be found. |
SocialEquityUser |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first social equity user in the ordered set where groupId = ?. |
SocialEquityUser |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last social equity user in the ordered set where groupId = ?. |
SocialEquityUser[] |
findByGroupId_PrevAndNext(long equityUserId,
long groupId,
OrderByComparator orderByComparator)
Returns the social equity users before and after the current social equity user in the ordered set where groupId = ?. |
List<SocialEquityUser> |
findByGroupId(long groupId)
Returns all the social equity users where groupId = ?. |
List<SocialEquityUser> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social equity users where groupId = ?. |
List<SocialEquityUser> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity users where groupId = ?. |
SocialEquityUser |
findByGroupRanked_First(long groupId,
OrderByComparator orderByComparator)
Returns the first social equity user in the ordered set where groupId = ?. |
SocialEquityUser |
findByGroupRanked_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last social equity user in the ordered set where groupId = ?. |
SocialEquityUser[] |
findByGroupRanked_PrevAndNext(long equityUserId,
long groupId,
OrderByComparator orderByComparator)
Returns the social equity users before and after the current social equity user in the ordered set where groupId = ?. |
List<SocialEquityUser> |
findByGroupRanked(long groupId)
Returns all the social equity users where groupId = ?. |
List<SocialEquityUser> |
findByGroupRanked(long groupId,
int start,
int end)
Returns a range of all the social equity users where groupId = ?. |
List<SocialEquityUser> |
findByGroupRanked(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity users where groupId = ?. |
SocialEquityUser |
findByPrimaryKey(long equityUserId)
Returns the social equity user with the primary key or throws a NoSuchEquityUserException if it could not be found. |
SocialEquityUser |
findByRank_First(int rank,
OrderByComparator orderByComparator)
Returns the first social equity user in the ordered set where rank = ?. |
SocialEquityUser |
findByRank_Last(int rank,
OrderByComparator orderByComparator)
Returns the last social equity user in the ordered set where rank = ?. |
SocialEquityUser[] |
findByRank_PrevAndNext(long equityUserId,
int rank,
OrderByComparator orderByComparator)
Returns the social equity users before and after the current social equity user in the ordered set where rank = ?. |
List<SocialEquityUser> |
findByRank(int rank)
Returns all the social equity users where rank = ?. |
List<SocialEquityUser> |
findByRank(int rank,
int start,
int end)
Returns a range of all the social equity users where rank = ?. |
List<SocialEquityUser> |
findByRank(int rank,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity users where rank = ?. |
SocialEquityUser |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Returns the first social equity user in the ordered set where userId = ?. |
SocialEquityUser |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Returns the last social equity user in the ordered set where userId = ?. |
SocialEquityUser[] |
findByUserId_PrevAndNext(long equityUserId,
long userId,
OrderByComparator orderByComparator)
Returns the social equity users before and after the current social equity user in the ordered set where userId = ?. |
List<SocialEquityUser> |
findByUserId(long userId)
Returns all the social equity users where userId = ?. |
List<SocialEquityUser> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the social equity users where userId = ?. |
List<SocialEquityUser> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity users where userId = ?. |
SocialEquityUser |
remove(long equityUserId)
Removes the social equity user with the primary key from the database. |
SocialEquityUser |
remove(SocialEquityUser socialEquityUser)
Removes the model instance from the database. |
void |
removeAll()
Removes all the social equity users from the database. |
void |
removeByG_R(long groupId,
int rank)
Removes all the social equity users where groupId = ? and rank = ? from the database. |
void |
removeByG_U(long groupId,
long userId)
Removes the social equity user where groupId = ? and userId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the social equity users where groupId = ? from the database. |
void |
removeByGroupRanked(long groupId)
Removes all the social equity users where groupId = ? from the database. |
void |
removeByRank(int rank)
Removes all the social equity users where rank = ? from the database. |
void |
removeByUserId(long userId)
Removes all the social equity users where userId = ? from the database. |
SocialEquityUser |
updateImpl(SocialEquityUser socialEquityUser,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(SocialEquityUser socialEquityUser)
socialEquityUser - the social equity uservoid cacheResult(List<SocialEquityUser> socialEquityUsers)
socialEquityUsers - the social equity usersSocialEquityUser create(long equityUserId)
equityUserId - the primary key for the new social equity user
SocialEquityUser remove(long equityUserId)
throws SystemException,
NoSuchEquityUserException
equityUserId - the primary key of the social equity user
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
SocialEquityUser updateImpl(SocialEquityUser socialEquityUser,
boolean merge)
throws SystemException
SystemException
SocialEquityUser findByPrimaryKey(long equityUserId)
throws SystemException,
NoSuchEquityUserException
NoSuchEquityUserException if it could not be found.
equityUserId - the primary key of the social equity user
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
SocialEquityUser fetchByPrimaryKey(long equityUserId)
throws SystemException
null if it could not be found.
equityUserId - the primary key of the social equity user
null if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
List<SocialEquityUser> findByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
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 IDstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)
SystemException - if a system exception occurred
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 IDstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
List<SocialEquityUser> findByGroupRanked(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
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 IDstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)
SystemException - if a system exception occurred
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 IDstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
List<SocialEquityUser> findByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
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 IDstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)
SystemException - if a system exception occurred
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 IDstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
List<SocialEquityUser> findByRank(int rank)
throws SystemException
rank - the rank
SystemException - if a system exception occurred
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 rankstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)
SystemException - if a system exception occurred
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 rankstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
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 rankorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 rankorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 rankorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
SocialEquityUser findByG_U(long groupId,
long userId)
throws SystemException,
NoSuchEquityUserException
NoSuchEquityUserException if it could not be found.
groupId - the group IDuserId - the user ID
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
SocialEquityUser fetchByG_U(long groupId,
long userId)
throws SystemException
null if it could not be found. Uses the finder cache.
groupId - the group IDuserId - the user ID
null if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDuserId - the user IDretrieveFromCache - whether to use the finder cache
null if a matching social equity user could not be found
SystemException - if a system exception occurred
List<SocialEquityUser> findByG_R(long groupId,
int rank)
throws SystemException
groupId - the group IDrank - the rank
SystemException - if a system exception occurred
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 IDrank - the rankstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)
SystemException - if a system exception occurred
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 IDrank - the rankstart - the lower bound of the range of social equity usersend - the upper bound of the range of social equity users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
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 IDrank - the rankorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDrank - the rankorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a matching social equity user could not be found
SystemException - if a system exception occurred
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 IDrank - the rankorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityUserException - if a social equity user with the primary key could not be found
SystemException - if a system exception occurred
List<SocialEquityUser> findAll()
throws SystemException
SystemException - if a system exception occurred
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 usersend - the upper bound of the range of social equity users (not inclusive)
SystemException - if a system exception occurred
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 usersend - the upper bound of the range of social equity users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
void removeByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
void removeByGroupRanked(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
void removeByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
void removeByRank(int rank)
throws SystemException
rank - the rank
SystemException - if a system exception occurred
void removeByG_U(long groupId,
long userId)
throws SystemException,
NoSuchEquityUserException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
NoSuchEquityUserException
void removeByG_R(long groupId,
int rank)
throws SystemException
groupId - the group IDrank - the rank
SystemException - if a system exception occurred
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
int countByGroupRanked(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
int countByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
int countByRank(int rank)
throws SystemException
rank - the rank
SystemException - if a system exception occurred
int countByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
int countByG_R(long groupId,
int rank)
throws SystemException
groupId - the group IDrank - the rank
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
SocialEquityUser remove(SocialEquityUser socialEquityUser)
throws SystemException
BasePersistence
remove in interface BasePersistence<SocialEquityUser>socialEquityUser - the model instance to remove
SystemException - if a system exception occurred
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||