public class SocialActivitySettingPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
implements com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence
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, dummyEntityCache, dummyFinderCache, 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 |
|---|
SocialActivitySettingPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the social activity setting persistence.
|
void |
cacheResult(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings)
Caches the social activity settings in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting)
Caches the social activity setting in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl) |
void |
clearCache()
Clears the cache for all social activity settings.
|
void |
clearCache(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings) |
void |
clearCache(Set<Serializable> primaryKeys) |
void |
clearCache(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting)
Clears the cache for the social activity setting.
|
int |
countAll()
Returns the number of social activity settings.
|
int |
countByG_A(long groupId,
int activityType)
Returns the number of social activity settings where groupId = ? and activityType = ?.
|
int |
countByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.
|
int |
countByG_C_A(long groupId,
long classNameId,
int activityType)
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Returns the number of social activity settings where groupId = ? and classNameId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of social activity settings where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
create(long activitySettingId)
Creates a new social activity setting with the primary key.
|
void |
destroy() |
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns
null if it could not be found. |
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name,
boolean useFinderCache)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByPrimaryKey(long activitySettingId)
Returns the social activity setting with the primary key or returns
null if it could not be found. |
com.liferay.social.kernel.model.SocialActivitySetting |
fetchByPrimaryKey(Serializable primaryKey)
Returns the social activity setting with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.social.kernel.model.SocialActivitySetting> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findAll()
Returns all the social activity settings.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findAll(int start,
int end)
Returns a range of all the social activity settings.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity settings.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting[] |
findByG_A_PrevAndNext(long activitySettingId,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType)
Returns all the social activity settings where groupId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType,
int start,
int end)
Returns a range of all the social activity settings where groupId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws a
NoSuchActivitySettingException if it could not be found. |
com.liferay.social.kernel.model.SocialActivitySetting[] |
findByG_C_A_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType)
Returns all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end)
Returns a range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting[] |
findByG_C_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId)
Returns all the social activity settings where groupId = ? and classNameId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the social activity settings where groupId = ? and classNameId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting[] |
findByGroupId_PrevAndNext(long activitySettingId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByGroupId(long groupId)
Returns all the social activity settings where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity settings where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ?.
|
List<com.liferay.social.kernel.model.SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity settings where groupId = ?.
|
com.liferay.social.kernel.model.SocialActivitySetting |
findByPrimaryKey(long activitySettingId)
Returns the social activity setting with the primary key or throws a
NoSuchActivitySettingException if it could not be found. |
com.liferay.social.kernel.model.SocialActivitySetting |
findByPrimaryKey(Serializable primaryKey)
Returns the social activity setting with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
protected com.liferay.social.kernel.model.SocialActivitySetting |
getByG_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous) |
protected com.liferay.social.kernel.model.SocialActivitySetting |
getByG_C_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous) |
protected com.liferay.social.kernel.model.SocialActivitySetting |
getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous) |
protected com.liferay.social.kernel.model.SocialActivitySetting |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
com.liferay.social.kernel.model.SocialActivitySetting |
remove(long activitySettingId)
Removes the social activity setting with the primary key from the database.
|
com.liferay.social.kernel.model.SocialActivitySetting |
remove(Serializable primaryKey)
Removes the social activity setting with the primary key from the database.
|
void |
removeAll()
Removes all the social activity settings from the database.
|
void |
removeByG_A(long groupId,
int activityType)
Removes all the social activity settings where groupId = ? and activityType = ? from the database.
|
com.liferay.social.kernel.model.SocialActivitySetting |
removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.
|
void |
removeByG_C_A(long groupId,
long classNameId,
int activityType)
Removes all the social activity settings where groupId = ? and classNameId = ? and activityType = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Removes all the social activity settings where groupId = ? and classNameId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the social activity settings where groupId = ? from the database.
|
protected com.liferay.social.kernel.model.SocialActivitySetting |
removeImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) |
com.liferay.social.kernel.model.SocialActivitySetting |
updateImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) |
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic 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 SocialActivitySettingPersistenceImpl()
public List<com.liferay.social.kernel.model.SocialActivitySetting> findByGroupId(long groupId)
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDpublic List<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivitySetting findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByGroupId_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByGroupId_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByGroupId_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByGroupId_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting[] findByGroupId_PrevAndNext(long activitySettingId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByGroupId_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivitySetting getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDpublic List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId)
findByG_C in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDpublic List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId,
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 SocialActivitySettingModelImpl.
findByG_C in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByG_C in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByG_C in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivitySetting findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_C_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByG_C_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_C_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByG_C_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting[] findByG_C_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_C_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivitySetting getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByG_C(long groupId,
long classNameId)
removeByG_C in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDpublic int countByG_C(long groupId,
long classNameId)
countByG_C in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDpublic List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_A(long groupId,
int activityType)
findByG_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typepublic List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_A(long groupId,
int activityType,
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 SocialActivitySettingModelImpl.
findByG_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByG_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByG_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivitySetting findByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_A_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByG_A_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting findByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_A_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByG_A_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting[] findByG_A_PrevAndNext(long activitySettingId,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_A_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivitySetting getByG_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByG_A(long groupId,
int activityType)
removeByG_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typepublic int countByG_A(long groupId,
int activityType)
countByG_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typepublic List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType)
findByG_C_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typepublic List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
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 SocialActivitySettingModelImpl.
findByG_C_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByG_C_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findByG_C_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.social.kernel.model.SocialActivitySetting findByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_C_A_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByG_C_A_First in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting findByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_C_A_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
fetchByG_C_A_Last in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting[] findByG_C_A_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
findByG_C_A_PrevAndNext in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivitySetting getByG_C_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByG_C_A(long groupId,
long classNameId,
int activityType)
removeByG_C_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typepublic int countByG_C_A(long groupId,
long classNameId,
int activityType)
countByG_C_A in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typepublic com.liferay.social.kernel.model.SocialActivitySetting findByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
NoSuchActivitySettingException if it could not be found.findByG_C_A_N in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namecom.liferay.social.kernel.exception.NoSuchActivitySettingException - if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
null if it could not be found. Uses the finder cache.fetchByG_C_A_N in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namenull if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByG_C_A_N in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the nameuseFinderCache - whether to use the finder cachenull if a matching social activity setting could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
removeByG_C_A_N in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namecom.liferay.social.kernel.exception.NoSuchActivitySettingExceptionpublic int countByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
countByG_C_A_N in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namepublic void cacheResult(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting)
cacheResult in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>socialActivitySetting - the social activity settingpublic void cacheResult(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings)
cacheResult in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencesocialActivitySettings - the social activity settingspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public void clearCache(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public void clearCache(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>protected void cacheUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl)
public com.liferay.social.kernel.model.SocialActivitySetting create(long activitySettingId)
create in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key for the new social activity settingpublic com.liferay.social.kernel.model.SocialActivitySetting remove(long activitySettingId)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
remove in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity settingcom.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting remove(Serializable primaryKey)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>primaryKey - the primary key of the social activity settingcom.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundprotected com.liferay.social.kernel.model.SocialActivitySetting removeImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public com.liferay.social.kernel.model.SocialActivitySetting updateImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting)
updateImpl in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public com.liferay.social.kernel.model.SocialActivitySetting findByPrimaryKey(Serializable primaryKey)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
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.SocialActivitySetting>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>primaryKey - the primary key of the social activity settingcom.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting findByPrimaryKey(long activitySettingId)
throws com.liferay.social.kernel.exception.NoSuchActivitySettingException
NoSuchActivitySettingException if it could not be found.findByPrimaryKey in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity settingcom.liferay.social.kernel.exception.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting 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.SocialActivitySetting>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>primaryKey - the primary key of the social activity settingnull if a social activity setting with the primary key could not be foundpublic com.liferay.social.kernel.model.SocialActivitySetting fetchByPrimaryKey(long activitySettingId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity settingnull if a social activity setting with the primary key could not be foundpublic Map<Serializable,com.liferay.social.kernel.model.SocialActivitySetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public List<com.liferay.social.kernel.model.SocialActivitySetting> findAll()
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencepublic List<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)public List<com.liferay.social.kernel.model.SocialActivitySetting> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.social.kernel.model.SocialActivitySetting> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialActivitySetting> 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 SocialActivitySettingModelImpl.
findAll in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (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.SocialActivitySettingPersistencepublic int countAll()
countAll in interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistenceprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>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.SocialActivitySetting>public List<String> getMappingTableNames()
getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>public String getTableName()
getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>