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.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_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_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.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.SocialActivitySettingfetchByPrimaryKey(long activitySettingId) Returns the social activity setting with the primary key or returnsnullif it could not be found.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 = ?.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, 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_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.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 = ?.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.SocialActivitySettingfindByPrimaryKey(long activitySettingId) Returns the social activity setting with the primary key or throws aNoSuchActivitySettingExceptionif it could not be found.getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelperprotected 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.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, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.social.kernel.service.persistence.SocialActivitySettingPersistence
fetchByG_C_A_N, findByG_A, findByG_A, findByG_A, findByG_C, findByG_C, findByG_C, findByG_C_A, findByG_C_A, findByG_C_A, findByGroupId, findByGroupId, findByGroupId
-
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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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
-
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
-
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,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
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,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
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
-
getCTPersistenceHelper
protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()- Overrides:
getCTPersistenceHelperin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
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
-
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,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
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,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.social.kernel.model.SocialActivitySetting>- Overrides:
getTableNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.social.kernel.model.SocialActivitySetting,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-
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,com.liferay.social.kernel.exception.NoSuchActivitySettingException>
-