public class SocialActivitySettingPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
implements com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Caching information and settings can be found in portal.properties
SocialActivitySettingPersistence,
SocialActivitySettingUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_A_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_C_A_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
SocialActivitySettingPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the social activity setting persistence.
|
void |
cacheResult(java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> socialActivitySettings)
Caches the social activity settings in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
Caches the social activity setting in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting) |
void |
clearCache()
Clears the cache for all social activity settings.
|
void |
clearCache(java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> socialActivitySettings) |
void |
clearCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
Clears the cache for the social activity setting.
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting) |
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,
java.lang.String name)
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.
|
int |
countByG_C_A(long groupId,
long classNameId,
int activityType)
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Returns the number of social activity settings where groupId = ? and classNameId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of social activity settings where groupId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
create(long activitySettingId)
Creates a new social activity setting with the primary key.
|
void |
destroy() |
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns
null if it could not be found. |
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name,
boolean retrieveFromCache)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByPrimaryKey(long activitySettingId)
Returns the social activity setting with the primary key or returns
null if it could not be found. |
com.liferay.portlet.social.model.SocialActivitySetting |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the social activity setting with the primary key or returns
null if it could not be found. |
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findAll()
Returns all the social activity settings.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findAll(int start,
int end)
Returns a range of all the social activity settings.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity settings.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting[] |
findByG_A_PrevAndNext(long activitySettingId,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and activityType = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType)
Returns all the social activity settings where groupId = ? and activityType = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType,
int start,
int end)
Returns a range of all the social activity settings where groupId = ? and activityType = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_A(long groupId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws a
NoSuchActivitySettingException if it could not be found. |
com.liferay.portlet.social.model.SocialActivitySetting[] |
findByG_C_A_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType)
Returns all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end)
Returns a range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting[] |
findByG_C_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId)
Returns all the social activity settings where groupId = ? and classNameId = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the social activity settings where groupId = ? and classNameId = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last social activity setting in the ordered set where groupId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting[] |
findByGroupId_PrevAndNext(long activitySettingId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByGroupId(long groupId)
Returns all the social activity settings where groupId = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the social activity settings where groupId = ?.
|
java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ?.
|
com.liferay.portlet.social.model.SocialActivitySetting |
findByPrimaryKey(long activitySettingId)
Returns the social activity setting with the primary key or throws a
NoSuchActivitySettingException if it could not be found. |
com.liferay.portlet.social.model.SocialActivitySetting |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the social activity setting with the primary key or throws a
NoSuchModelException if it could not be found. |
protected com.liferay.portlet.social.model.SocialActivitySetting |
getByG_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.social.model.SocialActivitySetting |
getByG_C_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.social.model.SocialActivitySetting |
getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.social.model.SocialActivitySetting |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.social.model.SocialActivitySetting |
remove(long activitySettingId)
Removes the social activity setting with the primary key from the database.
|
com.liferay.portlet.social.model.SocialActivitySetting |
remove(java.io.Serializable primaryKey)
Removes the social activity setting with the primary key from the database.
|
void |
removeAll()
Removes all the social activity settings from the database.
|
void |
removeByG_A(long groupId,
int activityType)
Removes all the social activity settings where groupId = ? and activityType = ? from the database.
|
com.liferay.portlet.social.model.SocialActivitySetting |
removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.
|
void |
removeByG_C_A(long groupId,
long classNameId,
int activityType)
Removes all the social activity settings where groupId = ? and classNameId = ? and activityType = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Removes all the social activity settings where groupId = ? and classNameId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the social activity settings where groupId = ? from the database.
|
protected com.liferay.portlet.social.model.SocialActivitySetting |
removeImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting) |
protected com.liferay.portlet.social.model.SocialActivitySetting |
toUnwrappedModel(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting) |
com.liferay.portlet.social.model.SocialActivitySetting |
updateImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_C_A_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_A_N
public SocialActivitySettingPersistenceImpl()
public java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting[] findByGroupId_PrevAndNext(long activitySettingId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.social.model.SocialActivitySetting getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_C in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_C_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_C_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting[] findByG_C_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.social.model.SocialActivitySetting getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_C(long groupId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_C in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_C(long groupId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_C in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_A(long groupId,
int activityType)
throws com.liferay.portal.kernel.exception.SystemException
findByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_A_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_A_First(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_A_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_A_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_A_Last(long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_A_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting[] findByG_A_PrevAndNext(long activitySettingId,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_A_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.social.model.SocialActivitySetting getByG_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_A(long groupId,
int activityType)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_A(long groupId,
int activityType)
throws com.liferay.portal.kernel.exception.SystemException
countByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType)
throws com.liferay.portal.kernel.exception.SystemException
findByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_A_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_C_A_First(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_C_A_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_A_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_C_A_Last(long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_C_A_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)null if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting[] findByG_C_A_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_A_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the current social activity settinggroupId - the group IDclassNameId - the class name IDactivityType - the activity typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.social.model.SocialActivitySetting getByG_C_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_C_A(long groupId,
long classNameId,
int activityType)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_C_A(long groupId,
long classNameId,
int activityType)
throws com.liferay.portal.kernel.exception.SystemException
countByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
NoSuchActivitySettingException if it could not be found.findByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namecom.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namenull if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the nameretrieveFromCache - whether to use the finder cachenull if a matching social activity setting could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
removeByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.social.NoSuchActivitySettingExceptionpublic int countByG_C_A_N(long groupId,
long classNameId,
int activityType,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencesocialActivitySetting - the social activity settingpublic void cacheResult(java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> socialActivitySettings)
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencesocialActivitySettings - the social activity settingspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>public void clearCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>public void clearCache(java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> socialActivitySettings)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>protected void cacheUniqueFindersCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
protected void clearUniqueFindersCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
public com.liferay.portlet.social.model.SocialActivitySetting create(long activitySettingId)
create in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key for the new social activity settingpublic com.liferay.portlet.social.model.SocialActivitySetting remove(long activitySettingId)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity settingcom.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>primaryKey - the primary key of the social activity settingcom.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.social.model.SocialActivitySetting removeImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.social.model.SocialActivitySetting updateImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.social.model.SocialActivitySetting toUnwrappedModel(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
public com.liferay.portlet.social.model.SocialActivitySetting findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>primaryKey - the primary key of the social activity settingcom.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting findByPrimaryKey(long activitySettingId)
throws com.liferay.portlet.social.NoSuchActivitySettingException,
com.liferay.portal.kernel.exception.SystemException
NoSuchActivitySettingException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity settingcom.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>primaryKey - the primary key of the social activity settingnull if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.social.model.SocialActivitySetting fetchByPrimaryKey(long activitySettingId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity settingnull if a social activity setting with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySettingModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()