Interface SocialActivitySettingPersistence
- All Superinterfaces:
BasePersistence<SocialActivitySetting>
,CTPersistence<SocialActivitySetting>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SocialActivitySetting socialActivitySetting) Caches the social activity setting in the entity cache if it is enabled.void
cacheResult
(List<SocialActivitySetting> socialActivitySettings) Caches the social activity settings in the entity cache if it is enabled.int
countAll()
Returns the number of social activity settings.int
countByG_A
(long groupId, int activityType) Returns the number of social activity settings where groupId = ? and activityType = ?.int
countByG_C
(long groupId, long classNameId) Returns the number of social activity settings where groupId = ? and classNameId = ?.int
countByG_C_A
(long groupId, long classNameId, int activityType) Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.int
countByG_C_A_N
(long groupId, long classNameId, int activityType, String name) Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.int
countByGroupId
(long groupId) Returns the number of social activity settings where groupId = ?.create
(long activitySettingId) Creates a new social activity setting with the primary key.fetchByG_A_First
(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.fetchByG_A_Last
(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.fetchByG_C_A_First
(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.fetchByG_C_A_Last
(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.fetchByG_C_First
(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.fetchByG_C_Last
(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.fetchByGroupId_First
(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ?.fetchByPrimaryKey
(long activitySettingId) Returns the social activity setting with the primary key or returnsnull
if it could not be found.findAll()
Returns all the social activity settings.findAll
(int start, int end) Returns a range of all the social activity settings.findAll
(int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings.findAll
(int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity settings.findByG_A
(long groupId, int activityType) Returns all the social activity settings where groupId = ? and activityType = ?.findByG_A
(long groupId, int activityType, int start, int end) Returns a range of all the social activity settings where groupId = ? and activityType = ?.findByG_A
(long groupId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.findByG_A
(long groupId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.findByG_A_First
(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.findByG_A_Last
(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.findByG_A_PrevAndNext
(long activitySettingId, long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and activityType = ?.findByG_C
(long groupId, long classNameId) Returns all the social activity settings where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the social activity settings where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.findByG_C_A
(long groupId, long classNameId, int activityType) Returns all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.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 = ?.findByG_C_A
(long groupId, long classNameId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.findByG_C_A
(long groupId, long classNameId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.findByG_C_A_First
(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.findByG_C_A_Last
(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.findByG_C_A_N
(long groupId, long classNameId, int activityType, String name) Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws aNoSuchActivitySettingException
if it could not be found.findByG_C_A_PrevAndNext
(long activitySettingId, long groupId, long classNameId, int activityType, OrderByComparator<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 = ?.findByG_C_First
(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.findByG_C_Last
(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.findByG_C_PrevAndNext
(long activitySettingId, long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ?.findByGroupId
(long groupId) Returns all the social activity settings where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the social activity settings where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity settings where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long activitySettingId, long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ?.findByPrimaryKey
(long activitySettingId) Returns the social activity setting with the primary key or throws aNoSuchActivitySettingException
if it could not be found.remove
(long activitySettingId) Removes the social activity setting with the primary key from the database.void
Removes all the social activity settings from the database.void
removeByG_A
(long groupId, int activityType) Removes all the social activity settings where groupId = ? and activityType = ? from the database.void
removeByG_C
(long groupId, long classNameId) Removes all the social activity settings where groupId = ? and classNameId = ? from the database.void
removeByG_C_A
(long groupId, long classNameId, int activityType) Removes all the social activity settings where groupId = ? and classNameId = ? and activityType = ? from the database.removeByG_C_A_N
(long groupId, long classNameId, int activityType, String name) Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.void
removeByGroupId
(long groupId) Removes all the social activity settings where groupId = ? from the database.updateImpl
(SocialActivitySetting socialActivitySetting) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByGroupId
Returns all the social activity settings where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching social activity settings
-
findByGroupId
Returns a range of all the social activity settings where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByGroupId(long groupId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByGroupId(long groupId, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
SocialActivitySetting findByGroupId_First(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the first social activity setting in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching social activity setting
- Throws:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByGroupId_First
SocialActivitySetting fetchByGroupId_First(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching social activity setting, or
null
if a matching social activity setting could not be found
-
findByGroupId_Last
SocialActivitySetting findByGroupId_Last(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the last social activity setting in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching social activity setting
- Throws:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByGroupId_Last
SocialActivitySetting fetchByGroupId_Last(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching social activity setting, or
null
if a matching social activity setting could not be found
-
findByGroupId_PrevAndNext
SocialActivitySetting[] findByGroupId_PrevAndNext(long activitySettingId, long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ?.- 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:
NoSuchActivitySettingException
- if a social activity setting with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the social activity settings where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of social activity settings where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching social activity settings
-
findByG_C
Returns all the social activity settings where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching social activity settings
-
findByG_C
Returns a range of all the social activity settings where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
SocialActivitySetting findByG_C_First(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.- 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:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_C_First
SocialActivitySetting fetchByG_C_First(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.- 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
null
if a matching social activity setting could not be found
-
findByG_C_Last
SocialActivitySetting findByG_C_Last(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.- 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:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_C_Last
SocialActivitySetting fetchByG_C_Last(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.- 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
null
if a matching social activity setting could not be found
-
findByG_C_PrevAndNext
SocialActivitySetting[] findByG_C_PrevAndNext(long activitySettingId, long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ?.- 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:
NoSuchActivitySettingException
- if a social activity setting with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long classNameId) Removes all the social activity settings where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_C
int countByG_C(long groupId, long classNameId) Returns the number of social activity settings where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching social activity settings
-
findByG_A
Returns all the social activity settings where groupId = ? and activityType = ?.- Parameters:
groupId
- the group IDactivityType
- the activity type- Returns:
- the matching social activity settings
-
findByG_A
Returns a range of all the social activity settings where groupId = ? and activityType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByG_A(long groupId, int activityType, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByG_A(long groupId, int activityType, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
SocialActivitySetting findByG_A_First(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.- Parameters:
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching social activity setting
- Throws:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_A_First
SocialActivitySetting fetchByG_A_First(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.- Parameters:
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching social activity setting, or
null
if a matching social activity setting could not be found
-
findByG_A_Last
SocialActivitySetting findByG_A_Last(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.- Parameters:
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching social activity setting
- Throws:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_A_Last
SocialActivitySetting fetchByG_A_Last(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.- Parameters:
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching social activity setting, or
null
if a matching social activity setting could not be found
-
findByG_A_PrevAndNext
SocialActivitySetting[] findByG_A_PrevAndNext(long activitySettingId, long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and activityType = ?.- 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:
NoSuchActivitySettingException
- if a social activity setting with the primary key could not be found
-
removeByG_A
void removeByG_A(long groupId, int activityType) Removes all the social activity settings where groupId = ? and activityType = ? from the database.- Parameters:
groupId
- the group IDactivityType
- the activity type
-
countByG_A
int countByG_A(long groupId, int activityType) Returns the number of social activity settings where groupId = ? and activityType = ?.- Parameters:
groupId
- the group IDactivityType
- the activity type- Returns:
- the number of matching social activity settings
-
findByG_C_A
Returns all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity type- Returns:
- the matching social activity settings
-
findByG_C_A
List<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByG_C_A(long groupId, long classNameId, int activityType, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findByG_C_A(long groupId, long classNameId, int activityType, int start, int end, OrderByComparator<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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
SocialActivitySetting findByG_C_A_First(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- 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:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_C_A_First
SocialActivitySetting fetchByG_C_A_First(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- 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
null
if a matching social activity setting could not be found
-
findByG_C_A_Last
SocialActivitySetting findByG_C_A_Last(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- 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:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_C_A_Last
SocialActivitySetting fetchByG_C_A_Last(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- 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
null
if a matching social activity setting could not be found
-
findByG_C_A_PrevAndNext
SocialActivitySetting[] findByG_C_A_PrevAndNext(long activitySettingId, long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.- 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:
NoSuchActivitySettingException
- if a social activity setting with the primary key could not be found
-
removeByG_C_A
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.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity type
-
countByG_C_A
int countByG_C_A(long groupId, long classNameId, int activityType) Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity type- Returns:
- the number of matching social activity settings
-
findByG_C_A_N
SocialActivitySetting findByG_C_A_N(long groupId, long classNameId, int activityType, String name) throws NoSuchActivitySettingException Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws aNoSuchActivitySettingException
if it could not be found.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the name- Returns:
- the matching social activity setting
- Throws:
NoSuchActivitySettingException
- if a matching social activity setting could not be found
-
fetchByG_C_A_N
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the name- Returns:
- the matching social activity setting, or
null
if a matching social activity setting could not be found
-
fetchByG_C_A_N
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 returnsnull
if it could not be found, optionally using the finder cache.- 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
null
if a matching social activity setting could not be found
-
removeByG_C_A_N
SocialActivitySetting removeByG_C_A_N(long groupId, long classNameId, int activityType, String name) throws NoSuchActivitySettingException Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the name- Returns:
- the social activity setting that was removed
- Throws:
NoSuchActivitySettingException
-
countByG_C_A_N
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the name- Returns:
- the number of matching social activity settings
-
cacheResult
Caches the social activity setting in the entity cache if it is enabled.- Parameters:
socialActivitySetting
- the social activity setting
-
cacheResult
Caches the social activity settings in the entity cache if it is enabled.- Parameters:
socialActivitySettings
- the social activity settings
-
create
Creates a new social activity setting with the primary key. Does not add the social activity setting to the database.- Parameters:
activitySettingId
- the primary key for the new social activity setting- Returns:
- the new social activity setting
-
remove
Removes the social activity setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
activitySettingId
- the primary key of the social activity setting- Returns:
- the social activity setting that was removed
- Throws:
NoSuchActivitySettingException
- if a social activity setting with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
SocialActivitySetting findByPrimaryKey(long activitySettingId) throws NoSuchActivitySettingException Returns the social activity setting with the primary key or throws aNoSuchActivitySettingException
if it could not be found.- Parameters:
activitySettingId
- the primary key of the social activity setting- Returns:
- the social activity setting
- Throws:
NoSuchActivitySettingException
- if a social activity setting with the primary key could not be found
-
fetchByPrimaryKey
Returns the social activity setting with the primary key or returnsnull
if it could not be found.- Parameters:
activitySettingId
- the primary key of the social activity setting- Returns:
- the social activity setting, or
null
if a social activity setting with the primary key could not be found
-
findAll
List<SocialActivitySetting> findAll()Returns all the social activity settings.- Returns:
- the social activity settings
-
findAll
Returns a range of all the social activity settings.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findAll(int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator) Returns an ordered range of all the social activity settings.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
List<SocialActivitySetting> findAll(int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the social activity settings.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSocialActivitySettingModelImpl
.- 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
void removeAll()Removes all the social activity settings from the database. -
countAll
int countAll()Returns the number of social activity settings.- Returns:
- the number of social activity settings
-