Class SocialActivitySettingPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>,com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the social activity setting persistence.voidcacheResult(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) Caches the social activity setting in the entity cache if it is enabled.voidcacheResult(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings) Caches the social activity settings in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl) voidClears the cache for all social activity settings.voidclearCache(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) Clears the cache for the social activity setting.voidclearCache(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of social activity settings.intcountByG_A(long groupId, int activityType) Returns the number of social activity settings where groupId = ? and activityType = ?.intcountByG_C(long groupId, long classNameId) Returns the number of social activity settings where groupId = ? and classNameId = ?.intcountByG_C_A(long groupId, long classNameId, int activityType) Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.intcountByG_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 = ?.intcountByGroupId(long groupId) Returns the number of social activity settings where groupId = ?.com.liferay.social.kernel.model.SocialActivitySettingcreate(long activitySettingId) Creates a new social activity setting with the primary key.voiddestroy()com.liferay.social.kernel.model.SocialActivitySettingfetchByG_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.SocialActivitySettingfetchByG_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.SocialActivitySettingfetchByG_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.SocialActivitySettingfetchByG_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.SocialActivitySettingfetchByG_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 returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivitySettingfetchByG_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 returnsnullif it could not be found, optionally using the finder cache.com.liferay.social.kernel.model.SocialActivitySettingfetchByG_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.SocialActivitySettingfetchByG_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.SocialActivitySettingfetchByGroupId_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.SocialActivitySettingfetchByGroupId_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.SocialActivitySettingfetchByPrimaryKey(long activitySettingId) Returns the social activity setting with the primary key or returnsnullif it could not be found.com.liferay.social.kernel.model.SocialActivitySettingfetchByPrimaryKey(Serializable primaryKey) Returns the social activity setting with the primary key or returnsnullif 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.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.SocialActivitySettingfindByG_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.SocialActivitySettingfindByG_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_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 = ?.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.SocialActivitySettingfindByG_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.SocialActivitySettingfindByG_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.SocialActivitySettingfindByG_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 aNoSuchActivitySettingExceptionif 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 = ?.com.liferay.social.kernel.model.SocialActivitySettingfindByG_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.SocialActivitySettingfindByG_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>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.SocialActivitySettingfindByGroupId_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.SocialActivitySettingfindByGroupId_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 = ?.com.liferay.social.kernel.model.SocialActivitySettingfindByPrimaryKey(long activitySettingId) Returns the social activity setting with the primary key or throws aNoSuchActivitySettingExceptionif it could not be found.com.liferay.social.kernel.model.SocialActivitySettingfindByPrimaryKey(Serializable primaryKey) Returns the social activity setting with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.protected com.liferay.social.kernel.model.SocialActivitySettinggetByG_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.SocialActivitySettinggetByG_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.SocialActivitySettinggetByG_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.SocialActivitySettinggetByGroupId_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) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.social.kernel.model.SocialActivitySettingremove(long activitySettingId) Removes the social activity setting with the primary key from the database.com.liferay.social.kernel.model.SocialActivitySettingremove(Serializable primaryKey) Removes the social activity setting with the primary key from the database.voidRemoves all the social activity settings from the database.voidremoveByG_A(long groupId, int activityType) Removes all the social activity settings where groupId = ? and activityType = ? from the database.voidremoveByG_C(long groupId, long classNameId) Removes all the social activity settings where groupId = ? and classNameId = ? from the database.voidremoveByG_C_A(long groupId, long classNameId, int activityType) Removes all the social activity settings where groupId = ? and classNameId = ? and activityType = ? from the database.com.liferay.social.kernel.model.SocialActivitySettingremoveByG_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.voidremoveByGroupId(long groupId) Removes all the social activity settings where groupId = ? from the database.protected com.liferay.social.kernel.model.SocialActivitySettingremoveImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) com.liferay.social.kernel.model.SocialActivitySettingupdateImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
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, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
SocialActivitySettingPersistenceImpl
public SocialActivitySettingPersistenceImpl()
-
-
Method Details
-
findByGroupId
Returns all the social activity settings where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group ID- Returns:
- the matching social activity settings
-
findByGroupId
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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)- Returns:
- the range of matching social activity settings
-
findByGroupId
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) Returns an ordered range of all the social activity settings where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)- Returns:
- the ordered range of matching social activity settings
-
findByGroupId
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) Returns an ordered range of all the social activity settings where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity settings
-
findByGroupId_First
public 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 Returns the first social activity setting in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByGroupId_First
public 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 = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByGroupId_Last
public 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 Returns the last social activity setting in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByGroupId_Last
public 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 = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByGroupId_PrevAndNext
public 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 Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key of the current social activity settinggroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
getByGroupId_PrevAndNext
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) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the social activity settings where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of social activity settings where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching social activity settings
-
findByG_C
public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_C(long groupId, long classNameId) Returns all the social activity settings where groupId = ? and classNameId = ?.- Specified by:
findByG_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the matching social activity settings
-
findByG_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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)- Returns:
- the range of matching social activity settings
-
findByG_C
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) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)- Returns:
- the ordered range of matching social activity settings
-
findByG_C
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) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity settings
-
findByG_C_First
public 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 Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.- Specified by:
findByG_C_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_C_First
public 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 = ?.- Specified by:
fetchByG_C_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByG_C_Last
public 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 Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.- Specified by:
findByG_C_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_C_Last
public 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 = ?.- Specified by:
fetchByG_C_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByG_C_PrevAndNext
public 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 Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ?.- Specified by:
findByG_C_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key of the current social activity settinggroupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
getByG_C_PrevAndNext
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) -
removeByG_C
public void removeByG_C(long groupId, long classNameId) Removes all the social activity settings where groupId = ? and classNameId = ? from the database.- Specified by:
removeByG_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name ID
-
countByG_C
public int countByG_C(long groupId, long classNameId) Returns the number of social activity settings where groupId = ? and classNameId = ?.- Specified by:
countByG_Cin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching social activity settings
-
findByG_A
public List<com.liferay.social.kernel.model.SocialActivitySetting> findByG_A(long groupId, int activityType) Returns all the social activity settings where groupId = ? and activityType = ?.- Specified by:
findByG_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity type- Returns:
- the matching social activity settings
-
findByG_A
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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)- Returns:
- the range of matching social activity settings
-
findByG_A
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) Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)- Returns:
- the ordered range of matching social activity settings
-
findByG_A
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) Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity settings
-
findByG_A_First
public 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 Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.- Specified by:
findByG_A_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_A_First
public 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 = ?.- Specified by:
fetchByG_A_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByG_A_Last
public 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 Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.- Specified by:
findByG_A_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_A_Last
public 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 = ?.- Specified by:
fetchByG_A_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByG_A_PrevAndNext
public 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 Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and activityType = ?.- Specified by:
findByG_A_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key of the current social activity settinggroupId- the group IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
getByG_A_PrevAndNext
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) -
removeByG_A
public void removeByG_A(long groupId, int activityType) Removes all the social activity settings where groupId = ? and activityType = ? from the database.- Specified by:
removeByG_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity type
-
countByG_A
public int countByG_A(long groupId, int activityType) Returns the number of social activity settings where groupId = ? and activityType = ?.- Specified by:
countByG_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDactivityType- the activity type- Returns:
- the number of matching social activity settings
-
findByG_C_A
public 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 = ?.- Specified by:
findByG_C_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity type- Returns:
- the matching social activity settings
-
findByG_C_A
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_C_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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)- Returns:
- the range of matching social activity settings
-
findByG_C_A
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) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_C_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)- Returns:
- the ordered range of matching social activity settings
-
findByG_C_A
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) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findByG_C_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching social activity settings
-
findByG_C_A_First
public 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 Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- Specified by:
findByG_C_A_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_C_A_First
public 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 = ?.- Specified by:
fetchByG_C_A_Firstin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByG_C_A_Last
public 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 Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- Specified by:
findByG_C_A_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_C_A_Last
public 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 = ?.- Specified by:
fetchByG_C_A_Lastin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching social activity setting, or
nullif a matching social activity setting could not be found
-
findByG_C_A_PrevAndNext
public 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 Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- Specified by:
findByG_C_A_PrevAndNextin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- 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 (optionallynull)- Returns:
- the previous, current, and next social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
getByG_C_A_PrevAndNext
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) -
removeByG_C_A
public 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.- Specified by:
removeByG_C_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity type
-
countByG_C_A
public int countByG_C_A(long groupId, long classNameId, int activityType) Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.- Specified by:
countByG_C_Ain interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity type- Returns:
- the number of matching social activity settings
-
findByG_C_A_N
public 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 Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws aNoSuchActivitySettingExceptionif it could not be found.- Specified by:
findByG_C_A_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typename- the name- Returns:
- the matching social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a matching social activity setting could not be found
-
fetchByG_C_A_N
public 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 returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_C_A_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typename- the name- Returns:
- the matching social activity setting, or
nullif a matching social activity setting could not be found
-
fetchByG_C_A_N
public 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_C_A_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typename- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching social activity setting, or
nullif a matching social activity setting could not be found
-
removeByG_C_A_N
public 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 Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.- Specified by:
removeByG_C_A_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typename- the name- Returns:
- the social activity setting that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException
-
countByG_C_A_N
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.- Specified by:
countByG_C_A_Nin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDactivityType- the activity typename- the name- Returns:
- the number of matching social activity settings
-
cacheResult
public void cacheResult(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) Caches the social activity setting in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>- Parameters:
socialActivitySetting- the social activity setting
-
cacheResult
public void cacheResult(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings) Caches the social activity settings in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
socialActivitySettings- the social activity settings
-
clearCache
public void clearCache()Clears the cache for all social activity settings.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
clearCache
public void clearCache(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) Clears the cache for the social activity setting.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
clearCache
public void clearCache(List<com.liferay.social.kernel.model.SocialActivitySetting> socialActivitySettings) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>
-
cacheUniqueFindersCache
protected void cacheUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl) -
create
public com.liferay.social.kernel.model.SocialActivitySetting create(long activitySettingId) Creates a new social activity setting with the primary key. Does not add the social activity setting to the database.- Specified by:
createin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key for the new social activity setting- Returns:
- the new social activity setting
-
remove
public com.liferay.social.kernel.model.SocialActivitySetting remove(long activitySettingId) throws com.liferay.social.kernel.exception.NoSuchActivitySettingException Removes the social activity setting with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key of the social activity setting- Returns:
- the social activity setting that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
remove
public com.liferay.social.kernel.model.SocialActivitySetting remove(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivitySettingException Removes the social activity setting with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>- Parameters:
primaryKey- the primary key of the social activity setting- Returns:
- the social activity setting that was removed
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
removeImpl
protected com.liferay.social.kernel.model.SocialActivitySetting removeImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
updateImpl
public com.liferay.social.kernel.model.SocialActivitySetting updateImpl(com.liferay.social.kernel.model.SocialActivitySetting socialActivitySetting) - Specified by:
updateImplin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
findByPrimaryKey
public com.liferay.social.kernel.model.SocialActivitySetting findByPrimaryKey(Serializable primaryKey) throws com.liferay.social.kernel.exception.NoSuchActivitySettingException Returns the social activity setting with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>- Parameters:
primaryKey- the primary key of the social activity setting- Returns:
- the social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
findByPrimaryKey
public com.liferay.social.kernel.model.SocialActivitySetting findByPrimaryKey(long activitySettingId) throws com.liferay.social.kernel.exception.NoSuchActivitySettingException Returns the social activity setting with the primary key or throws aNoSuchActivitySettingExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key of the social activity setting- Returns:
- the social activity setting
- Throws:
com.liferay.social.kernel.exception.NoSuchActivitySettingException- if a social activity setting with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.social.kernel.model.SocialActivitySetting fetchByPrimaryKey(Serializable primaryKey) Returns the social activity setting with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>- Parameters:
primaryKey- the primary key of the social activity setting- Returns:
- the social activity setting, or
nullif a social activity setting with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.social.kernel.model.SocialActivitySetting fetchByPrimaryKey(long activitySettingId) Returns the social activity setting with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
activitySettingId- the primary key of the social activity setting- Returns:
- the social activity setting, or
nullif a social activity setting with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.social.kernel.model.SocialActivitySetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
findAll
Returns all the social activity settings.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Returns:
- the social activity settings
-
findAll
Returns a range of all the social activity settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
start- the lower bound of the range of social activity settingsend- the upper bound of the range of social activity settings (not inclusive)- Returns:
- the range of social activity settings
-
findAll
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) Returns an ordered range of all the social activity settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
start- 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 (optionallynull)- Returns:
- the ordered range of social activity settings
-
findAll
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) Returns an ordered range of all the social activity settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl.- Specified by:
findAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Parameters:
start- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of social activity settings
-
removeAll
public void removeAll()Removes all the social activity settings from the database.- Specified by:
removeAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence
-
countAll
public int countAll()Returns the number of social activity settings.- Specified by:
countAllin interfacecom.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence- Returns:
- the number of social activity settings
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the social activity setting persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting>
-