|
|||||||||
| 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<com.liferay.portlet.social.model.SocialActivitySetting>
com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceImpl
public class SocialActivitySettingPersistenceImpl
The persistence implementation for the social activity setting service.
Caching information and settings can be found in portal.properties
SocialActivitySettingPersistence,
SocialActivitySettingUtil| Field Summary | |
|---|---|
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_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_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_A
|
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_A
|
protected com.liferay.portal.service.persistence.GroupPersistence |
groupPersistence
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence |
socialActivityAchievementPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence |
socialActivityCounterPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence |
socialActivityLimitPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence |
socialActivityPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence |
socialActivitySettingPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence |
socialRelationPersistence
|
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence |
socialRequestPersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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 Summary | |
|---|---|
SocialActivitySettingPersistenceImpl()
|
|
| Method Summary | |
|---|---|
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. |
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 = ?. |
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_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 |
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 |
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)
|
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. |
void |
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. |
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,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public 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_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 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
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRelationPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRequestPersistence.class) protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class) protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public SocialActivitySettingPersistenceImpl()
| Method Detail |
|---|
public 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 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 setting
public 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 setting
com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 setting
com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected 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.SystemException
public com.liferay.portlet.social.model.SocialActivitySetting updateImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
boolean merge)
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.portal.NoSuchModelException,
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 setting
com.liferay.portal.NoSuchModelException - if a social activity setting with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 setting
com.liferay.portlet.social.NoSuchActivitySettingException - if a social activity setting with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 setting
null if a social activity setting with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 setting
null if a social activity setting with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public 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.
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 occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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)
public 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 type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public 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.
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 occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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)
public 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 name
com.liferay.portlet.social.NoSuchActivitySettingException - if a matching social activity setting could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 name
null if a matching social activity setting could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 cache
null if a matching social activity setting could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 occurred
public 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.
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 occurred
public 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.
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 occurred
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 type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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 type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void 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 name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.social.NoSuchActivitySettingException
public 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 occurred
public 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 type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||