|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialActivitySetting>
com.liferay.portlet.social.service.persistence.impl.SocialActivitySettingPersistenceImpl
@ProviderType public class SocialActivitySettingPersistenceImpl
The persistence implementation for the social activity setting service.
Caching information and settings can be found in portal.properties
SocialActivitySettingPersistence,
SocialActivitySettingUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
SocialActivitySettingPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the social activity setting persistence. |
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. |
protected void |
cacheUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all social activity settings. |
void |
clearCache(List<SocialActivitySetting> socialActivitySettings)
Clears the cache for a List instances of this model. |
void |
clearCache(SocialActivitySetting socialActivitySetting)
Clears the cache for the social activity setting. |
protected void |
clearUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl)
|
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. |
void |
destroy()
|
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 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. |
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. |
SocialActivitySetting |
fetchByPrimaryKey(Serializable primaryKey)
Returns the social activity setting with the primary key or returns null if it could not be found. |
Map<Serializable,SocialActivitySetting> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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 retrieveFromCache)
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 retrieveFromCache)
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 retrieveFromCache)
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 retrieveFromCache)
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 retrieveFromCache)
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 |
findByPrimaryKey(Serializable primaryKey)
Returns the social activity setting with the primary key or throws a NoSuchModelException if it could not be found. |
protected SocialActivitySetting |
getByG_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
|
protected SocialActivitySetting |
getByG_C_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
|
protected SocialActivitySetting |
getByG_C_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
|
protected SocialActivitySetting |
getByGroupId_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
SocialActivitySetting |
remove(long activitySettingId)
Removes the social activity setting with the primary key from the database. |
SocialActivitySetting |
remove(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. |
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. |
protected SocialActivitySetting |
removeImpl(SocialActivitySetting socialActivitySetting)
Removes the model instance from the database. |
protected SocialActivitySetting |
toUnwrappedModel(SocialActivitySetting socialActivitySetting)
|
SocialActivitySetting |
updateImpl(SocialActivitySetting socialActivitySetting)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_A
public static final FinderPath FINDER_PATH_FETCH_BY_G_C_A_N
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_A_N
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public SocialActivitySettingPersistenceImpl()
| Method Detail |
|---|
public List<SocialActivitySetting> findByGroupId(long groupId)
findByGroupId in interface SocialActivitySettingPersistencegroupId - the group ID
public List<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 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 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)
public 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 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 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)
public List<SocialActivitySetting> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean retrieveFromCache)
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 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)retrieveFromCache - whether to retrieve from the finder cache
public SocialActivitySetting findByGroupId_First(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByGroupId_First in interface SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivitySettingException - if a matching social activity setting could not be found
public SocialActivitySetting fetchByGroupId_First(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByGroupId_First in interface SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity setting could not be found
public SocialActivitySetting findByGroupId_Last(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByGroupId_Last in interface SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchActivitySettingException - if a matching social activity setting could not be found
public SocialActivitySetting fetchByGroupId_Last(long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByGroupId_Last in interface SocialActivitySettingPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching social activity setting could not be found
public SocialActivitySetting[] findByGroupId_PrevAndNext(long activitySettingId,
long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByGroupId_PrevAndNext in interface SocialActivitySettingPersistenceactivitySettingId - 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 found
protected SocialActivitySetting getByGroupId_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface SocialActivitySettingPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface SocialActivitySettingPersistencegroupId - the group ID
public List<SocialActivitySetting> findByG_C(long groupId,
long classNameId)
findByG_C in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name ID
public List<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 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 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)
public 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 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 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)
public List<SocialActivitySetting> findByG_C(long groupId,
long classNameId,
int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean retrieveFromCache)
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 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)retrieveFromCache - whether to retrieve from the finder cache
public SocialActivitySetting findByG_C_First(long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_C_First in interface SocialActivitySettingPersistencegroupId - 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 found
public SocialActivitySetting fetchByG_C_First(long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByG_C_First in interface 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 found
public SocialActivitySetting findByG_C_Last(long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_C_Last in interface SocialActivitySettingPersistencegroupId - 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 found
public SocialActivitySetting fetchByG_C_Last(long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByG_C_Last in interface 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 found
public SocialActivitySetting[] findByG_C_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_C_PrevAndNext in interface 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)
NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
protected SocialActivitySetting getByG_C_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByG_C(long groupId,
long classNameId)
removeByG_C in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name ID
public int countByG_C(long groupId,
long classNameId)
countByG_C in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name ID
public List<SocialActivitySetting> findByG_A(long groupId,
int activityType)
findByG_A in interface SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity type
public List<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 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 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)
public 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 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 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)
public List<SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean retrieveFromCache)
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 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)retrieveFromCache - whether to retrieve from the finder cache
public SocialActivitySetting findByG_A_First(long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_A_First in interface SocialActivitySettingPersistencegroupId - 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 found
public SocialActivitySetting fetchByG_A_First(long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByG_A_First in interface 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 found
public SocialActivitySetting findByG_A_Last(long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_A_Last in interface SocialActivitySettingPersistencegroupId - 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 found
public SocialActivitySetting fetchByG_A_Last(long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByG_A_Last in interface 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 found
public SocialActivitySetting[] findByG_A_PrevAndNext(long activitySettingId,
long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_A_PrevAndNext in interface 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)
NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
protected SocialActivitySetting getByG_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByG_A(long groupId,
int activityType)
removeByG_A in interface SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity type
public int countByG_A(long groupId,
int activityType)
countByG_A in interface SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity type
public List<SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType)
findByG_C_A in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity type
public List<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 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 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)
public 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 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 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)
public List<SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean retrieveFromCache)
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 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)retrieveFromCache - whether to retrieve from the finder cache
public SocialActivitySetting findByG_C_A_First(long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_C_A_First in interface SocialActivitySettingPersistencegroupId - 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 found
public SocialActivitySetting fetchByG_C_A_First(long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByG_C_A_First in interface 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 found
public SocialActivitySetting findByG_C_A_Last(long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_C_A_Last in interface SocialActivitySettingPersistencegroupId - 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 found
public SocialActivitySetting fetchByG_C_A_Last(long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
fetchByG_C_A_Last in interface 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 found
public SocialActivitySetting[] findByG_C_A_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator)
throws NoSuchActivitySettingException
findByG_C_A_PrevAndNext in interface 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)
NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
protected SocialActivitySetting getByG_C_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean previous)
public void removeByG_C_A(long groupId,
long classNameId,
int activityType)
removeByG_C_A in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity type
public int countByG_C_A(long groupId,
long classNameId,
int activityType)
countByG_C_A in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity type
public SocialActivitySetting findByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws NoSuchActivitySettingException
NoSuchActivitySettingException if it could not be found.
findByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the name
NoSuchActivitySettingException - if a matching social activity setting could not be found
public SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
null if it could not be found. Uses the finder cache.
fetchByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the name
null if a matching social activity setting could not be found
public SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the nameretrieveFromCache - whether to retrieve from the finder cache
null if a matching social activity setting could not be found
public SocialActivitySetting removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws NoSuchActivitySettingException
removeByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the name
NoSuchActivitySettingException
public int countByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
countByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the name
public void cacheResult(SocialActivitySetting socialActivitySetting)
cacheResult in interface SocialActivitySettingPersistencesocialActivitySetting - the social activity settingpublic void cacheResult(List<SocialActivitySetting> socialActivitySettings)
cacheResult in interface SocialActivitySettingPersistencesocialActivitySettings - the social activity settingspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SocialActivitySetting>clearCache in class BasePersistenceImpl<SocialActivitySetting>public void clearCache(SocialActivitySetting socialActivitySetting)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SocialActivitySetting>clearCache in class BasePersistenceImpl<SocialActivitySetting>socialActivitySetting - the instance of this model to clear the cache forpublic void clearCache(List<SocialActivitySetting> socialActivitySettings)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<SocialActivitySetting>clearCache in class BasePersistenceImpl<SocialActivitySetting>socialActivitySettings - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(SocialActivitySettingModelImpl socialActivitySettingModelImpl)
public SocialActivitySetting create(long activitySettingId)
create in interface SocialActivitySettingPersistenceactivitySettingId - the primary key for the new social activity setting
public SocialActivitySetting remove(long activitySettingId)
throws NoSuchActivitySettingException
remove in interface SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity setting
NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
public SocialActivitySetting remove(Serializable primaryKey)
throws NoSuchActivitySettingException
remove in interface BasePersistence<SocialActivitySetting>remove in class BasePersistenceImpl<SocialActivitySetting>primaryKey - the primary key of the social activity setting
NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundprotected SocialActivitySetting removeImpl(SocialActivitySetting socialActivitySetting)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<SocialActivitySetting>socialActivitySetting - the model instance to remove
public SocialActivitySetting updateImpl(SocialActivitySetting socialActivitySetting)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SocialActivitySettingPersistenceupdateImpl in class BasePersistenceImpl<SocialActivitySetting>socialActivitySetting - the model instance to update
protected SocialActivitySetting toUnwrappedModel(SocialActivitySetting socialActivitySetting)
public SocialActivitySetting findByPrimaryKey(Serializable primaryKey)
throws NoSuchActivitySettingException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<SocialActivitySetting>findByPrimaryKey in class BasePersistenceImpl<SocialActivitySetting>primaryKey - the primary key of the social activity setting
NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
public SocialActivitySetting findByPrimaryKey(long activitySettingId)
throws NoSuchActivitySettingException
NoSuchActivitySettingException if it could not be found.
findByPrimaryKey in interface SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity setting
NoSuchActivitySettingException - if a social activity setting with the primary key could not be foundpublic SocialActivitySetting fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SocialActivitySetting>fetchByPrimaryKey in class BasePersistenceImpl<SocialActivitySetting>primaryKey - the primary key of the social activity setting
null if a social activity setting with the primary key could not be foundpublic SocialActivitySetting fetchByPrimaryKey(long activitySettingId)
null if it could not be found.
fetchByPrimaryKey in interface SocialActivitySettingPersistenceactivitySettingId - the primary key of the social activity setting
null if a social activity setting with the primary key could not be foundpublic Map<Serializable,SocialActivitySetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<SocialActivitySetting>fetchByPrimaryKeys in interface SocialActivitySettingPersistencefetchByPrimaryKeys in class BasePersistenceImpl<SocialActivitySetting>public List<SocialActivitySetting> findAll()
findAll in interface SocialActivitySettingPersistence
public 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 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 SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)
public 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 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 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)
public List<SocialActivitySetting> findAll(int start,
int end,
OrderByComparator<SocialActivitySetting> orderByComparator,
boolean retrieveFromCache)
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 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface SocialActivitySettingPersistencepublic int countAll()
countAll in interface SocialActivitySettingPersistenceprotected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<SocialActivitySetting>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||