|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface SocialActivityLimitPersistence
The persistence interface for the social activity limit service.
Caching information and settings can be found in portal.properties
SocialActivityLimitPersistenceImpl,
SocialActivityLimitUtil| Method Summary | |
|---|---|
void |
cacheResult(List<SocialActivityLimit> socialActivityLimits)
Caches the social activity limits in the entity cache if it is enabled. |
void |
cacheResult(SocialActivityLimit socialActivityLimit)
Caches the social activity limit in the entity cache if it is enabled. |
int |
countAll()
Returns the number of social activity limits. |
int |
countByC_C(long classNameId,
long classPK)
Returns the number of social activity limits where classNameId = ? and classPK = ?. |
int |
countByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
Returns the number of social activity limits where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ?. |
int |
countByGroupId(long groupId)
Returns the number of social activity limits where groupId = ?. |
int |
countByUserId(long userId)
Returns the number of social activity limits where userId = ?. |
SocialActivityLimit |
create(long activityLimitId)
Creates a new social activity limit with the primary key. |
SocialActivityLimit |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where classNameId = ? and classPK = ?. |
SocialActivityLimit |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?. |
SocialActivityLimit |
fetchByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
Returns the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? or returns null if it could not be found. |
SocialActivityLimit |
fetchByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName,
boolean retrieveFromCache)
Returns the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? or returns null if it could not be found, optionally using the finder cache. |
SocialActivityLimit |
fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where groupId = ?. |
SocialActivityLimit |
fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where groupId = ?. |
SocialActivityLimit |
fetchByPrimaryKey(long activityLimitId)
Returns the social activity limit with the primary key or returns null if it could not be found. |
Map<Serializable,SocialActivityLimit> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
SocialActivityLimit |
fetchByUserId_First(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where userId = ?. |
SocialActivityLimit |
fetchByUserId_Last(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where userId = ?. |
List<SocialActivityLimit> |
findAll()
Returns all the social activity limits. |
List<SocialActivityLimit> |
findAll(int start,
int end)
Returns a range of all the social activity limits. |
List<SocialActivityLimit> |
findAll(int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits. |
List<SocialActivityLimit> |
findAll(int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activity limits. |
SocialActivityLimit |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where classNameId = ? and classPK = ?. |
SocialActivityLimit |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?. |
SocialActivityLimit[] |
findByC_C_PrevAndNext(long activityLimitId,
long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the social activity limits before and after the current social activity limit in the ordered set where classNameId = ? and classPK = ?. |
List<SocialActivityLimit> |
findByC_C(long classNameId,
long classPK)
Returns all the social activity limits where classNameId = ? and classPK = ?. |
List<SocialActivityLimit> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the social activity limits where classNameId = ? and classPK = ?. |
List<SocialActivityLimit> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits where classNameId = ? and classPK = ?. |
List<SocialActivityLimit> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activity limits where classNameId = ? and classPK = ?. |
SocialActivityLimit |
findByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
Returns the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? or throws a NoSuchActivityLimitException if it could not be found. |
SocialActivityLimit |
findByGroupId_First(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where groupId = ?. |
SocialActivityLimit |
findByGroupId_Last(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where groupId = ?. |
SocialActivityLimit[] |
findByGroupId_PrevAndNext(long activityLimitId,
long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the social activity limits before and after the current social activity limit in the ordered set where groupId = ?. |
List<SocialActivityLimit> |
findByGroupId(long groupId)
Returns all the social activity limits where groupId = ?. |
List<SocialActivityLimit> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity limits where groupId = ?. |
List<SocialActivityLimit> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits where groupId = ?. |
List<SocialActivityLimit> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activity limits where groupId = ?. |
SocialActivityLimit |
findByPrimaryKey(long activityLimitId)
Returns the social activity limit with the primary key or throws a NoSuchActivityLimitException if it could not be found. |
SocialActivityLimit |
findByUserId_First(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where userId = ?. |
SocialActivityLimit |
findByUserId_Last(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where userId = ?. |
SocialActivityLimit[] |
findByUserId_PrevAndNext(long activityLimitId,
long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns the social activity limits before and after the current social activity limit in the ordered set where userId = ?. |
List<SocialActivityLimit> |
findByUserId(long userId)
Returns all the social activity limits where userId = ?. |
List<SocialActivityLimit> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the social activity limits where userId = ?. |
List<SocialActivityLimit> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits where userId = ?. |
List<SocialActivityLimit> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the social activity limits where userId = ?. |
SocialActivityLimit |
remove(long activityLimitId)
Removes the social activity limit with the primary key from the database. |
void |
removeAll()
Removes all the social activity limits from the database. |
void |
removeByC_C(long classNameId,
long classPK)
Removes all the social activity limits where classNameId = ? and classPK = ? from the database. |
SocialActivityLimit |
removeByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
Removes the social activity limit where groupId = ? and userId = ? and classNameId = ? and classPK = ? and activityType = ? and activityCounterName = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the social activity limits where groupId = ? from the database. |
void |
removeByUserId(long userId)
Removes all the social activity limits where userId = ? from the database. |
SocialActivityLimit |
updateImpl(SocialActivityLimit socialActivityLimit)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<SocialActivityLimit> findByGroupId(long groupId)
groupId - the group ID
List<SocialActivityLimit> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)
List<SocialActivityLimit> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivityLimit> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<SocialActivityLimit> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
SocialActivityLimit findByGroupId_First(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity limit could not be found
SocialActivityLimit findByGroupId_Last(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity limit could not be found
SocialActivityLimit[] findByGroupId_PrevAndNext(long activityLimitId,
long groupId,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
activityLimitId - the primary key of the current social activity limitgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a social activity limit with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group ID
List<SocialActivityLimit> findByUserId(long userId)
userId - the user ID
List<SocialActivityLimit> findByUserId(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)
List<SocialActivityLimit> findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivityLimit> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<SocialActivityLimit> findByUserId(long userId,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
SocialActivityLimit findByUserId_First(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByUserId_First(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity limit could not be found
SocialActivityLimit findByUserId_Last(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByUserId_Last(long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity limit could not be found
SocialActivityLimit[] findByUserId_PrevAndNext(long activityLimitId,
long userId,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
activityLimitId - the primary key of the current social activity limituserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a social activity limit with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user ID
List<SocialActivityLimit> findByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
List<SocialActivityLimit> findByC_C(long classNameId,
long classPK,
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)
List<SocialActivityLimit> findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivityLimit> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<SocialActivityLimit> findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
SocialActivityLimit findByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity limit could not be found
SocialActivityLimit findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity limit could not be found
SocialActivityLimit[] findByC_C_PrevAndNext(long activityLimitId,
long classNameId,
long classPK,
OrderByComparator<SocialActivityLimit> orderByComparator)
throws NoSuchActivityLimitException
activityLimitId - the primary key of the current social activity limitclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityLimitException - if a social activity limit with the primary key could not be found
void removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
int countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
SocialActivityLimit findByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
throws NoSuchActivityLimitException
NoSuchActivityLimitException if it could not be found.
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p kactivityType - the activity typeactivityCounterName - the activity counter name
NoSuchActivityLimitException - if a matching social activity limit could not be found
SocialActivityLimit fetchByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
null if it could not be found. Uses the finder cache.
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p kactivityType - the activity typeactivityCounterName - the activity counter name
null if a matching social activity limit could not be found
SocialActivityLimit fetchByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p kactivityType - the activity typeactivityCounterName - the activity counter nameretrieveFromCache - whether to retrieve from the finder cache
null if a matching social activity limit could not be found
SocialActivityLimit removeByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
throws NoSuchActivityLimitException
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p kactivityType - the activity typeactivityCounterName - the activity counter name
NoSuchActivityLimitException
int countByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName)
groupId - the group IDuserId - the user IDclassNameId - the class name IDclassPK - the class p kactivityType - the activity typeactivityCounterName - the activity counter name
void cacheResult(SocialActivityLimit socialActivityLimit)
socialActivityLimit - the social activity limitvoid cacheResult(List<SocialActivityLimit> socialActivityLimits)
socialActivityLimits - the social activity limitsSocialActivityLimit create(long activityLimitId)
activityLimitId - the primary key for the new social activity limit
SocialActivityLimit remove(long activityLimitId)
throws NoSuchActivityLimitException
activityLimitId - the primary key of the social activity limit
NoSuchActivityLimitException - if a social activity limit with the primary key could not be foundSocialActivityLimit updateImpl(SocialActivityLimit socialActivityLimit)
SocialActivityLimit findByPrimaryKey(long activityLimitId)
throws NoSuchActivityLimitException
NoSuchActivityLimitException if it could not be found.
activityLimitId - the primary key of the social activity limit
NoSuchActivityLimitException - if a social activity limit with the primary key could not be foundSocialActivityLimit fetchByPrimaryKey(long activityLimitId)
null if it could not be found.
activityLimitId - the primary key of the social activity limit
null if a social activity limit with the primary key could not be foundMap<Serializable,SocialActivityLimit> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<SocialActivityLimit>List<SocialActivityLimit> findAll()
List<SocialActivityLimit> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)
List<SocialActivityLimit> findAll(int start,
int end,
OrderByComparator<SocialActivityLimit> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<SocialActivityLimit> findAll(int start,
int end,
OrderByComparator<SocialActivityLimit> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of social activity limitsend - the upper bound of the range of social activity limits (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
void removeAll()
int countAll()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||