|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface SocialActivityCounterPersistence
The persistence interface for the social activity counter service.
Caching information and settings can be found in portal.properties
SocialActivityCounterPersistenceImpl,
SocialActivityCounterUtil| Method Summary | |
|---|---|
abstract void |
cacheResult(List<SocialActivityCounter> socialActivityCounters)
Caches the social activity counters in the entity cache if it is enabled. |
abstract void |
cacheResult(SocialActivityCounter socialActivityCounter)
Caches the social activity counter in the entity cache if it is enabled. |
abstract int |
countAll()
Returns the number of social activity counters. |
abstract int |
countByC_C(long classNameId,
long classPK)
Returns the number of social activity counters where classNameId = ? and classPK = ?. |
abstract int |
countByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
Returns the number of social activity counters where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and endPeriod = ?. |
abstract int |
countByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
Returns the number of social activity counters where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and startPeriod = ?. |
abstract int |
countByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType)
Returns the number of social activity counters where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract int |
countByGroupId(long groupId)
Returns the number of social activity counters where groupId = ?. |
abstract SocialActivityCounter |
create(long activityCounterId)
Creates a new social activity counter with the primary key. |
abstract SocialActivityCounter |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first social activity counter in the ordered set where classNameId = ? and classPK = ?. |
abstract SocialActivityCounter |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last social activity counter in the ordered set where classNameId = ? and classPK = ?. |
abstract SocialActivityCounter |
fetchByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
Returns the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and endPeriod = ? or returns null if it could not be found. |
abstract SocialActivityCounter |
fetchByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod,
boolean retrieveFromCache)
Returns the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and endPeriod = ? or returns null if it could not be found, optionally using the finder cache. |
abstract SocialActivityCounter |
fetchByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
Returns the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and startPeriod = ? or returns null if it could not be found. |
abstract SocialActivityCounter |
fetchByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod,
boolean retrieveFromCache)
Returns the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and startPeriod = ? or returns null if it could not be found, optionally using the finder cache. |
abstract SocialActivityCounter |
fetchByG_C_C_O_First(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
Returns the first social activity counter in the ordered set where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract SocialActivityCounter |
fetchByG_C_C_O_Last(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
Returns the last social activity counter in the ordered set where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract SocialActivityCounter |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first social activity counter in the ordered set where groupId = ?. |
abstract SocialActivityCounter |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last social activity counter in the ordered set where groupId = ?. |
abstract SocialActivityCounter |
fetchByPrimaryKey(long activityCounterId)
Returns the social activity counter with the primary key or returns null if it could not be found. |
abstract List<SocialActivityCounter> |
findAll()
Returns all the social activity counters. |
abstract List<SocialActivityCounter> |
findAll(int start,
int end)
Returns a range of all the social activity counters. |
abstract List<SocialActivityCounter> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social activity counters. |
abstract SocialActivityCounter |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first social activity counter in the ordered set where classNameId = ? and classPK = ?. |
abstract SocialActivityCounter |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last social activity counter in the ordered set where classNameId = ? and classPK = ?. |
abstract SocialActivityCounter[] |
findByC_C_PrevAndNext(long activityCounterId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the social activity counters before and after the current social activity counter in the ordered set where classNameId = ? and classPK = ?. |
abstract List<SocialActivityCounter> |
findByC_C(long classNameId,
long classPK)
Returns all the social activity counters where classNameId = ? and classPK = ?. |
abstract List<SocialActivityCounter> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the social activity counters where classNameId = ? and classPK = ?. |
abstract List<SocialActivityCounter> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social activity counters where classNameId = ? and classPK = ?. |
abstract SocialActivityCounter |
findByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
Returns the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and endPeriod = ? or throws a NoSuchActivityCounterException if it could not be found. |
abstract SocialActivityCounter |
findByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
Returns the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and startPeriod = ? or throws a NoSuchActivityCounterException if it could not be found. |
abstract SocialActivityCounter |
findByG_C_C_O_First(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
Returns the first social activity counter in the ordered set where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract SocialActivityCounter |
findByG_C_C_O_Last(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
Returns the last social activity counter in the ordered set where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract SocialActivityCounter[] |
findByG_C_C_O_PrevAndNext(long activityCounterId,
long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
Returns the social activity counters before and after the current social activity counter in the ordered set where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract List<SocialActivityCounter> |
findByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType)
Returns all the social activity counters where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract List<SocialActivityCounter> |
findByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType,
int start,
int end)
Returns a range of all the social activity counters where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract List<SocialActivityCounter> |
findByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social activity counters where groupId = ? and classNameId = ? and classPK = ? and ownerType = ?. |
abstract SocialActivityCounter |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first social activity counter in the ordered set where groupId = ?. |
abstract SocialActivityCounter |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last social activity counter in the ordered set where groupId = ?. |
abstract SocialActivityCounter[] |
findByGroupId_PrevAndNext(long activityCounterId,
long groupId,
OrderByComparator orderByComparator)
Returns the social activity counters before and after the current social activity counter in the ordered set where groupId = ?. |
abstract List<SocialActivityCounter> |
findByGroupId(long groupId)
Returns all the social activity counters where groupId = ?. |
abstract List<SocialActivityCounter> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity counters where groupId = ?. |
abstract List<SocialActivityCounter> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social activity counters where groupId = ?. |
abstract SocialActivityCounter |
findByPrimaryKey(long activityCounterId)
Returns the social activity counter with the primary key or throws a NoSuchActivityCounterException if it could not be found. |
abstract SocialActivityCounter |
remove(long activityCounterId)
Removes the social activity counter with the primary key from the database. |
abstract void |
removeAll()
Removes all the social activity counters from the database. |
abstract void |
removeByC_C(long classNameId,
long classPK)
Removes all the social activity counters where classNameId = ? and classPK = ? from the database. |
abstract SocialActivityCounter |
removeByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
Removes the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and endPeriod = ? from the database. |
abstract SocialActivityCounter |
removeByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
Removes the social activity counter where groupId = ? and classNameId = ? and classPK = ? and name = ? and ownerType = ? and startPeriod = ? from the database. |
abstract void |
removeByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType)
Removes all the social activity counters where groupId = ? and classNameId = ? and classPK = ? and ownerType = ? from the database. |
abstract void |
removeByGroupId(long groupId)
Removes all the social activity counters where groupId = ? from the database. |
abstract SocialActivityCounter |
updateImpl(SocialActivityCounter socialActivityCounter)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<SocialActivityCounter> findByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
List<SocialActivityCounter> 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. 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 SocialActivityCounterModelImpl. 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 countersend - the upper bound of the range of social activity counters (not inclusive)
SystemException - if a system exception occurred
List<SocialActivityCounter> 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. 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 SocialActivityCounterModelImpl. 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 countersend - the upper bound of the range of social activity counters (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
SocialActivityCounter findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter[] findByGroupId_PrevAndNext(long activityCounterId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
activityCounterId - the primary key of the current social activity countergroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a social activity counter with the primary key could not be found
SystemException - if a system exception occurred
void removeByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
int countByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
List<SocialActivityCounter> findByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
List<SocialActivityCounter> findByC_C(long classNameId,
long classPK,
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. 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 SocialActivityCounterModelImpl. 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 countersend - the upper bound of the range of social activity counters (not inclusive)
SystemException - if a system exception occurred
List<SocialActivityCounter> findByC_C(long classNameId,
long classPK,
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. 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 SocialActivityCounterModelImpl. 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 countersend - the upper bound of the range of social activity counters (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
SocialActivityCounter findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter[] findByC_C_PrevAndNext(long activityCounterId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
activityCounterId - the primary key of the current social activity counterclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a social activity counter with the primary key could not be found
SystemException - if a system exception occurred
void removeByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
int countByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
List<SocialActivityCounter> findByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner type
SystemException - if a system exception occurred
List<SocialActivityCounter> findByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType,
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. 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 SocialActivityCounterModelImpl. 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 IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typestart - the lower bound of the range of social activity countersend - the upper bound of the range of social activity counters (not inclusive)
SystemException - if a system exception occurred
List<SocialActivityCounter> findByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType,
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. 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 SocialActivityCounterModelImpl. 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 IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typestart - the lower bound of the range of social activity countersend - the upper bound of the range of social activity counters (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
SocialActivityCounter findByG_C_C_O_First(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByG_C_C_O_First(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter findByG_C_C_O_Last(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByG_C_C_O_Last(long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter[] findByG_C_C_O_PrevAndNext(long activityCounterId,
long groupId,
long classNameId,
long classPK,
int ownerType,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchActivityCounterException
activityCounterId - the primary key of the current social activity countergroupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivityCounterException - if a social activity counter with the primary key could not be found
SystemException - if a system exception occurred
void removeByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner type
SystemException - if a system exception occurred
int countByG_C_C_O(long groupId,
long classNameId,
long classPK,
int ownerType)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kownerType - the owner type
SystemException - if a system exception occurred
SocialActivityCounter findByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
throws SystemException,
NoSuchActivityCounterException
NoSuchActivityCounterException if it could not be found.
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typestartPeriod - the start period
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
throws SystemException
null if it could not be found. Uses the finder cache.
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typestartPeriod - the start period
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typestartPeriod - the start periodretrieveFromCache - whether to use the finder cache
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter removeByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
throws SystemException,
NoSuchActivityCounterException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typestartPeriod - the start period
SystemException - if a system exception occurred
NoSuchActivityCounterException
int countByG_C_C_N_O_S(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int startPeriod)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typestartPeriod - the start period
SystemException - if a system exception occurred
SocialActivityCounter findByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
throws SystemException,
NoSuchActivityCounterException
NoSuchActivityCounterException if it could not be found.
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typeendPeriod - the end period
NoSuchActivityCounterException - if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
throws SystemException
null if it could not be found. Uses the finder cache.
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typeendPeriod - the end period
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typeendPeriod - the end periodretrieveFromCache - whether to use the finder cache
null if a matching social activity counter could not be found
SystemException - if a system exception occurred
SocialActivityCounter removeByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
throws SystemException,
NoSuchActivityCounterException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typeendPeriod - the end period
SystemException - if a system exception occurred
NoSuchActivityCounterException
int countByG_C_C_N_O_E(long groupId,
long classNameId,
long classPK,
String name,
int ownerType,
int endPeriod)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kname - the nameownerType - the owner typeendPeriod - the end period
SystemException - if a system exception occurredvoid cacheResult(SocialActivityCounter socialActivityCounter)
socialActivityCounter - the social activity countervoid cacheResult(List<SocialActivityCounter> socialActivityCounters)
socialActivityCounters - the social activity countersSocialActivityCounter create(long activityCounterId)
activityCounterId - the primary key for the new social activity counter
SocialActivityCounter remove(long activityCounterId)
throws SystemException,
NoSuchActivityCounterException
activityCounterId - the primary key of the social activity counter
NoSuchActivityCounterException - if a social activity counter with the primary key could not be found
SystemException - if a system exception occurred
SocialActivityCounter updateImpl(SocialActivityCounter socialActivityCounter)
throws SystemException
SystemException
SocialActivityCounter findByPrimaryKey(long activityCounterId)
throws SystemException,
NoSuchActivityCounterException
NoSuchActivityCounterException if it could not be found.
activityCounterId - the primary key of the social activity counter
NoSuchActivityCounterException - if a social activity counter with the primary key could not be found
SystemException - if a system exception occurred
SocialActivityCounter fetchByPrimaryKey(long activityCounterId)
throws SystemException
null if it could not be found.
activityCounterId - the primary key of the social activity counter
null if a social activity counter with the primary key could not be found
SystemException - if a system exception occurred
List<SocialActivityCounter> findAll()
throws SystemException
SystemException - if a system exception occurred
List<SocialActivityCounter> 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. 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 SocialActivityCounterModelImpl. 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 countersend - the upper bound of the range of social activity counters (not inclusive)
SystemException - if a system exception occurred
List<SocialActivityCounter> 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. 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 SocialActivityCounterModelImpl. 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 countersend - the upper bound of the range of social activity counters (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||