public class SocialActivityLimitPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
implements com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
SocialActivityLimitPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the social activity limit persistence.
|
void |
cacheResult(List<com.liferay.social.kernel.model.SocialActivityLimit> socialActivityLimits)
Caches the social activity limits in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit)
Caches the social activity limit in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(SocialActivityLimitModelImpl socialActivityLimitModelImpl) |
void |
clearCache()
Clears the cache for all social activity limits.
|
void |
clearCache(List<com.liferay.social.kernel.model.SocialActivityLimit> socialActivityLimits) |
void |
clearCache(Set<Serializable> primaryKeys) |
void |
clearCache(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit)
Clears the cache for the social activity limit.
|
protected void |
clearUniqueFindersCache(SocialActivityLimitModelImpl socialActivityLimitModelImpl,
boolean clearCurrent) |
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 = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
create(long activityLimitId)
Creates a new social activity limit with the primary key.
|
void |
destroy() |
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.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. |
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByG_U_C_C_A_A(long groupId,
long userId,
long classNameId,
long classPK,
int activityType,
String activityCounterName,
boolean useFinderCache)
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. |
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByPrimaryKey(long activityLimitId)
Returns the social activity limit with the primary key or returns
null if it could not be found. |
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByPrimaryKey(Serializable primaryKey)
Returns the social activity limit with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.social.kernel.model.SocialActivityLimit> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where userId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where userId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findAll()
Returns all the social activity limits.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findAll(int start,
int end)
Returns a range of all the social activity limits.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity limits.
|
com.liferay.social.kernel.model.SocialActivityLimit |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit[] |
findByC_C_PrevAndNext(long activityLimitId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the social activity limits before and after the current social activity limit in the ordered set where classNameId = ? and classPK = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByC_C(long classNameId,
long classPK)
Returns all the social activity limits where classNameId = ? and classPK = ?.
|
List<com.liferay.social.kernel.model.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<com.liferay.social.kernel.model.SocialActivityLimit> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits where classNameId = ? and classPK = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity limits where classNameId = ? and classPK = ?.
|
com.liferay.social.kernel.model.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. |
com.liferay.social.kernel.model.SocialActivityLimit |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit[] |
findByGroupId_PrevAndNext(long activityLimitId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the social activity limits before and after the current social activity limit in the ordered set where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByGroupId(long groupId)
Returns all the social activity limits where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity limits where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity limits where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
findByPrimaryKey(long activityLimitId)
Returns the social activity limit with the primary key or throws a
NoSuchActivityLimitException if it could not be found. |
com.liferay.social.kernel.model.SocialActivityLimit |
findByPrimaryKey(Serializable primaryKey)
Returns the social activity limit with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.social.kernel.model.SocialActivityLimit |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the first social activity limit in the ordered set where userId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the last social activity limit in the ordered set where userId = ?.
|
com.liferay.social.kernel.model.SocialActivityLimit[] |
findByUserId_PrevAndNext(long activityLimitId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns the social activity limits before and after the current social activity limit in the ordered set where userId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByUserId(long userId)
Returns all the social activity limits where userId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the social activity limits where userId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
Returns an ordered range of all the social activity limits where userId = ?.
|
List<com.liferay.social.kernel.model.SocialActivityLimit> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity limits where userId = ?.
|
protected com.liferay.social.kernel.model.SocialActivityLimit |
getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean previous) |
protected com.liferay.social.kernel.model.SocialActivityLimit |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean previous) |
protected com.liferay.social.kernel.model.SocialActivityLimit |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator,
boolean previous) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
com.liferay.social.kernel.model.SocialActivityLimit |
remove(long activityLimitId)
Removes the social activity limit with the primary key from the database.
|
com.liferay.social.kernel.model.SocialActivityLimit |
remove(Serializable primaryKey)
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.
|
com.liferay.social.kernel.model.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.
|
protected com.liferay.social.kernel.model.SocialActivityLimit |
removeImpl(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit) |
com.liferay.social.kernel.model.SocialActivityLimit |
updateImpl(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.social.kernel.model.SocialActivityLimit> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDpublic List<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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)public List<com.liferay.social.kernel.model.SocialActivityLimit> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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
)public List<com.liferay.social.kernel.model.SocialActivityLimit> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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
)useFinderCache
- whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivityLimit findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByGroupId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
fetchByGroupId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByGroupId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit[] findByGroupId_PrevAndNext(long activityLimitId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByGroupId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key of the current social activity limitgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivityLimit getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDpublic List<com.liferay.social.kernel.model.SocialActivityLimit> findByUserId(long userId)
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDpublic List<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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)public List<com.liferay.social.kernel.model.SocialActivityLimit> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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
)public List<com.liferay.social.kernel.model.SocialActivityLimit> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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
)useFinderCache
- whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivityLimit findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByUserId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
fetchByUserId_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByUserId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
fetchByUserId_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit[] findByUserId_PrevAndNext(long activityLimitId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByUserId_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key of the current social activity limituserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivityLimit getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean previous)
public void removeByUserId(long userId)
removeByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDpublic int countByUserId(long userId)
countByUserId
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
userId
- the user IDpublic List<com.liferay.social.kernel.model.SocialActivityLimit> findByC_C(long classNameId, long classPK)
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of social activity limitsend
- the upper bound of the range of social activity limits (not inclusive)public List<com.liferay.social.kernel.model.SocialActivityLimit> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkstart
- 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
)public List<com.liferay.social.kernel.model.SocialActivityLimit> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkstart
- 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
)useFinderCache
- whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivityLimit findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByC_C_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
fetchByC_C_First
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByC_C_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator)
fetchByC_C_Last
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit[] findByC_C_PrevAndNext(long activityLimitId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
findByC_C_PrevAndNext
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key of the current social activity limitclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivityLimit getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean previous)
public void removeByC_C(long classNameId, long classPK)
removeByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkpublic int countByC_C(long classNameId, long classPK)
countByC_C
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
classNameId
- the class name IDclassPK
- the class pkpublic com.liferay.social.kernel.model.SocialActivityLimit findByG_U_C_C_A_A(long groupId, long userId, long classNameId, long classPK, int activityType, String activityCounterName) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
NoSuchActivityLimitException
if it could not be found.findByG_U_C_C_A_A
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkactivityType
- the activity typeactivityCounterName
- the activity counter namecom.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.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.fetchByG_U_C_C_A_A
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkactivityType
- the activity typeactivityCounterName
- the activity counter namenull
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByG_U_C_C_A_A(long groupId, long userId, long classNameId, long classPK, int activityType, String activityCounterName, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByG_U_C_C_A_A
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkactivityType
- the activity typeactivityCounterName
- the activity counter nameuseFinderCache
- whether to use the finder cachenull
if a matching social activity limit could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit removeByG_U_C_C_A_A(long groupId, long userId, long classNameId, long classPK, int activityType, String activityCounterName) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
removeByG_U_C_C_A_A
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkactivityType
- the activity typeactivityCounterName
- the activity counter namecom.liferay.social.kernel.exception.NoSuchActivityLimitException
public int countByG_U_C_C_A_A(long groupId, long userId, long classNameId, long classPK, int activityType, String activityCounterName)
countByG_U_C_C_A_A
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkactivityType
- the activity typeactivityCounterName
- the activity counter namepublic void cacheResult(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit)
cacheResult
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
socialActivityLimit
- the social activity limitpublic void cacheResult(List<com.liferay.social.kernel.model.SocialActivityLimit> socialActivityLimits)
cacheResult
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
socialActivityLimits
- the social activity limitspublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public void clearCache(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public void clearCache(List<com.liferay.social.kernel.model.SocialActivityLimit> socialActivityLimits)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
protected void cacheUniqueFindersCache(SocialActivityLimitModelImpl socialActivityLimitModelImpl)
protected void clearUniqueFindersCache(SocialActivityLimitModelImpl socialActivityLimitModelImpl, boolean clearCurrent)
public com.liferay.social.kernel.model.SocialActivityLimit create(long activityLimitId)
create
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key for the new social activity limitpublic com.liferay.social.kernel.model.SocialActivityLimit remove(long activityLimitId) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
remove
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key of the social activity limitcom.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit remove(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
primaryKey
- the primary key of the social activity limitcom.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivityLimit removeImpl(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public com.liferay.social.kernel.model.SocialActivityLimit updateImpl(com.liferay.social.kernel.model.SocialActivityLimit socialActivityLimit)
updateImpl
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public com.liferay.social.kernel.model.SocialActivityLimit findByPrimaryKey(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
primaryKey
- the primary key of the social activity limitcom.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit findByPrimaryKey(long activityLimitId) throws com.liferay.social.kernel.exception.NoSuchActivityLimitException
NoSuchActivityLimitException
if it could not be found.findByPrimaryKey
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key of the social activity limitcom.liferay.social.kernel.exception.NoSuchActivityLimitException
- if a social activity limit with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
primaryKey
- the primary key of the social activity limitnull
if a social activity limit with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivityLimit fetchByPrimaryKey(long activityLimitId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
activityLimitId
- the primary key of the social activity limitnull
if a social activity limit with the primary key could not be foundpublic Map<Serializable,com.liferay.social.kernel.model.SocialActivityLimit> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivityLimit>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public List<com.liferay.social.kernel.model.SocialActivityLimit> findAll()
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
public List<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
start
- the lower bound of the range of social activity limitsend
- the upper bound of the range of social activity limits (not inclusive)public List<com.liferay.social.kernel.model.SocialActivityLimit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.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, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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
)public List<com.liferay.social.kernel.model.SocialActivityLimit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivityLimit> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivityLimitModelImpl
.
findAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
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
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
public int countAll()
countAll
in interface com.liferay.social.kernel.service.persistence.SocialActivityLimitPersistence
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityLimit>
public List<String> getMappingTableNames()
getMappingTableNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityLimit>
public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityLimit>
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivityLimit>
public String getTableName()
getTableName
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityLimit>
public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames
in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivityLimit>
public void afterPropertiesSet()
public void destroy()