@ProviderType public interface SocialActivitySettingPersistence extends BasePersistence<SocialActivitySetting>, CTPersistence<SocialActivitySetting>
Caching information and settings can be found in portal.properties
SocialActivitySettingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<SocialActivitySetting> socialActivitySettings)
Caches the social activity settings in the entity cache if it is enabled.
|
void |
cacheResult(SocialActivitySetting socialActivitySetting)
Caches the social activity setting 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_A_N(long groupId,
long classNameId,
int activityType,
String name)
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.
|
int |
countByG_C_A(long groupId,
long classNameId,
int activityType)
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Returns the number of social activity settings where groupId = ? and classNameId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of social activity settings where groupId = ?.
|
SocialActivitySetting |
create(long activitySettingId)
Creates a new social activity setting with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
SocialActivitySetting |
fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns
null if it could not be found. |
SocialActivitySetting |
fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name,
boolean useFinderCache)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
SocialActivitySetting |
fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ?.
|
SocialActivitySetting |
fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ?.
|
SocialActivitySetting |
fetchByPrimaryKey(long activitySettingId)
Returns the social activity setting with the primary key or returns
null if it could not be found. |
List<SocialActivitySetting> |
findAll()
Returns all the social activity settings.
|
List<SocialActivitySetting> |
findAll(int start,
int end)
Returns a range of all the social activity settings.
|
List<SocialActivitySetting> |
findAll(int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings.
|
List<SocialActivitySetting> |
findAll(int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the social activity settings.
|
SocialActivitySetting |
findByG_A_First(long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.
|
SocialActivitySetting |
findByG_A_Last(long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.
|
SocialActivitySetting[] |
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 = ?.
|
List<SocialActivitySetting> |
findByG_A(long groupId,
int activityType)
Returns all the social activity settings where groupId = ? and activityType = ?.
|
List<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<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 = ?.
|
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 = ?.
|
SocialActivitySetting |
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 = ?.
|
SocialActivitySetting |
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 = ?.
|
SocialActivitySetting |
findByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws a
NoSuchActivitySettingException if it could not be found. |
SocialActivitySetting[] |
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 = ?.
|
List<SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType)
Returns all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
SocialActivitySetting |
findByG_C_First(long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
SocialActivitySetting |
findByG_C_Last(long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
SocialActivitySetting[] |
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 = ?.
|
List<SocialActivitySetting> |
findByG_C(long groupId,
long classNameId)
Returns all the social activity settings where groupId = ? and classNameId = ?.
|
List<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<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 = ?.
|
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 = ?.
|
SocialActivitySetting |
findByGroupId_First(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ?.
|
SocialActivitySetting |
findByGroupId_Last(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ?.
|
SocialActivitySetting[] |
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 = ?.
|
List<SocialActivitySetting> |
findByGroupId(long groupId)
Returns all the social activity settings where groupId = ?.
|
List<SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity settings where groupId = ?.
|
List<SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ?.
|
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 = ?.
|
SocialActivitySetting |
findByPrimaryKey(long activitySettingId)
Returns the social activity setting with the primary key or throws a
NoSuchActivitySettingException if it could not be found. |
SocialActivitySetting |
remove(long activitySettingId)
Removes the social activity setting with the primary key from the database.
|
void |
removeAll()
Removes all the social activity settings from the database.
|
void |
removeByG_A(long groupId,
int activityType)
Removes all the social activity settings where groupId = ? and activityType = ? from the database.
|
SocialActivitySetting |
removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.
|
void |
removeByG_C_A(long groupId,
long classNameId,
int activityType)
Removes all the social activity settings where groupId = ? and classNameId = ? and activityType = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Removes all the social activity settings where groupId = ? and classNameId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the social activity settings where groupId = ? from the database.
|
SocialActivitySetting |
updateImpl(SocialActivitySetting socialActivitySetting) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<SocialActivitySetting> findByGroupId(long groupId)
groupId
- the group IDList<SocialActivitySetting> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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)List<SocialActivitySetting> findByGroupId(long groupId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)List<SocialActivitySetting> findByGroupId(long groupId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivitySetting findByGroupId_First(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByGroupId_First(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting findByGroupId_Last(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByGroupId_Last(long groupId, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting[] findByGroupId_PrevAndNext(long activitySettingId, long groupId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
activitySettingId
- the primary key of the current social activity settinggroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a social activity setting with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDList<SocialActivitySetting> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDList<SocialActivitySetting> findByG_C(long groupId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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)List<SocialActivitySetting> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)List<SocialActivitySetting> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivitySetting findByG_C_First(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_C_First(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting findByG_C_Last(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_C_Last(long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting[] findByG_C_PrevAndNext(long activitySettingId, long groupId, long classNameId, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
activitySettingId
- the primary key of the current social activity settinggroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a social activity setting with the primary key could not be foundvoid removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDint countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDList<SocialActivitySetting> findByG_A(long groupId, int activityType)
groupId
- the group IDactivityType
- the activity typeList<SocialActivitySetting> findByG_A(long groupId, int activityType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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)List<SocialActivitySetting> findByG_A(long groupId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)List<SocialActivitySetting> findByG_A(long groupId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivitySetting findByG_A_First(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_A_First(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting findByG_A_Last(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_A_Last(long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting[] findByG_A_PrevAndNext(long activitySettingId, long groupId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
activitySettingId
- the primary key of the current social activity settinggroupId
- the group IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a social activity setting with the primary key could not be foundvoid removeByG_A(long groupId, int activityType)
groupId
- the group IDactivityType
- the activity typeint countByG_A(long groupId, int activityType)
groupId
- the group IDactivityType
- the activity typeList<SocialActivitySetting> findByG_C_A(long groupId, long classNameId, int activityType)
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeList<SocialActivitySetting> findByG_C_A(long groupId, long classNameId, int activityType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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)List<SocialActivitySetting> findByG_C_A(long groupId, long classNameId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)List<SocialActivitySetting> findByG_C_A(long groupId, long classNameId, int activityType, int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSocialActivitySetting findByG_C_A_First(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_C_A_First(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting findByG_C_A_Last(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_C_A_Last(long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching social activity setting could not be foundSocialActivitySetting[] findByG_C_A_PrevAndNext(long activitySettingId, long groupId, long classNameId, int activityType, OrderByComparator<SocialActivitySetting> orderByComparator) throws NoSuchActivitySettingException
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 (optionally null
)NoSuchActivitySettingException
- if a social activity setting with the primary key could not be foundvoid removeByG_C_A(long groupId, long classNameId, int activityType)
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeint countByG_C_A(long groupId, long classNameId, int activityType)
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typeSocialActivitySetting findByG_C_A_N(long groupId, long classNameId, int activityType, String name) throws NoSuchActivitySettingException
NoSuchActivitySettingException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the nameNoSuchActivitySettingException
- if a matching social activity setting could not be foundSocialActivitySetting fetchByG_C_A_N(long groupId, long classNameId, int activityType, String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the namenull
if a matching social activity setting could not be foundSocialActivitySetting fetchByG_C_A_N(long groupId, long classNameId, int activityType, String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching social activity setting could not be foundSocialActivitySetting removeByG_C_A_N(long groupId, long classNameId, int activityType, String name) throws NoSuchActivitySettingException
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the nameNoSuchActivitySettingException
int countByG_C_A_N(long groupId, long classNameId, int activityType, String name)
groupId
- the group IDclassNameId
- the class name IDactivityType
- the activity typename
- the namevoid cacheResult(SocialActivitySetting socialActivitySetting)
socialActivitySetting
- the social activity settingvoid cacheResult(List<SocialActivitySetting> socialActivitySettings)
socialActivitySettings
- the social activity settingsSocialActivitySetting create(long activitySettingId)
activitySettingId
- the primary key for the new social activity settingSocialActivitySetting remove(long activitySettingId) throws NoSuchActivitySettingException
activitySettingId
- the primary key of the social activity settingNoSuchActivitySettingException
- if a social activity setting with the primary key could not be foundSocialActivitySetting updateImpl(SocialActivitySetting socialActivitySetting)
SocialActivitySetting findByPrimaryKey(long activitySettingId) throws NoSuchActivitySettingException
NoSuchActivitySettingException
if it could not be found.activitySettingId
- the primary key of the social activity settingNoSuchActivitySettingException
- if a social activity setting with the primary key could not be foundSocialActivitySetting fetchByPrimaryKey(long activitySettingId)
null
if it could not be found.activitySettingId
- the primary key of the social activity settingnull
if a social activity setting with the primary key could not be foundList<SocialActivitySetting> findAll()
List<SocialActivitySetting> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
start
- the lower bound of the range of social activity settingsend
- the upper bound of the range of social activity settings (not inclusive)List<SocialActivitySetting> findAll(int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)List<SocialActivitySetting> findAll(int start, int end, OrderByComparator<SocialActivitySetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()