|
Liferay 6.1.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.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| 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(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. |
void |
clearCache()
Clears the cache for all social activity settings. |
void |
clearCache(SocialActivitySetting socialActivitySetting)
Clears the cache for the social activity setting. |
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 = ?. |
SocialActivitySetting |
create(long activitySettingId)
Creates a new social activity setting with the primary key. |
void |
destroy()
|
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 |
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. |
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 orderByComparator)
Returns an ordered range of all the social activity settings. |
SocialActivitySetting |
findByG_A_First(long groupId,
int activityType,
OrderByComparator orderByComparator)
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?. |
SocialActivitySetting |
findByG_A_Last(long groupId,
int activityType,
OrderByComparator 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 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 orderByComparator)
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 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 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 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 orderByComparator)
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?. |
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 orderByComparator,
boolean previous)
|
protected SocialActivitySetting |
getByG_C_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
OrderByComparator orderByComparator,
boolean previous)
|
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. |
SocialActivitySetting |
remove(SocialActivitySetting socialActivitySetting)
Removes the social activity setting 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,
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 SocialActivitySetting |
removeImpl(SocialActivitySetting socialActivitySetting)
Removes the model instance from the database. |
protected SocialActivitySetting |
toUnwrappedModel(SocialActivitySetting socialActivitySetting)
|
SocialActivitySetting |
updateImpl(SocialActivitySetting socialActivitySetting,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, 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, setDataSource, unregisterListener, 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_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
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
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
@BeanReference(type=SocialActivityAchievementPersistence.class) protected SocialActivityAchievementPersistence socialActivityAchievementPersistence
@BeanReference(type=SocialActivityCounterPersistence.class) protected SocialActivityCounterPersistence socialActivityCounterPersistence
@BeanReference(type=SocialActivityLimitPersistence.class) protected SocialActivityLimitPersistence socialActivityLimitPersistence
@BeanReference(type=SocialActivitySettingPersistence.class) protected SocialActivitySettingPersistence socialActivitySettingPersistence
@BeanReference(type=SocialRelationPersistence.class) protected SocialRelationPersistence socialRelationPersistence
@BeanReference(type=SocialRequestPersistence.class) protected SocialRequestPersistence socialRequestPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public SocialActivitySettingPersistenceImpl()
| Method Detail |
|---|
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 SocialActivitySetting create(long activitySettingId)
create in interface SocialActivitySettingPersistenceactivitySettingId - the primary key for the new social activity setting
public SocialActivitySetting remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
remove in interface BasePersistence<SocialActivitySetting>remove in class BasePersistenceImpl<SocialActivitySetting>primaryKey - the primary key of the social activity setting
NoSuchModelException - if a social activity setting with the primary key could not be found
SystemException - if a system exception occurred
public SocialActivitySetting remove(long activitySettingId)
throws NoSuchActivitySettingException,
SystemException
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
SystemException - if a system exception occurred
public SocialActivitySetting remove(SocialActivitySetting socialActivitySetting)
throws SystemException
remove in interface BasePersistence<SocialActivitySetting>remove in interface SocialActivitySettingPersistenceremove in class BasePersistenceImpl<SocialActivitySetting>socialActivitySetting - the social activity setting
SystemException - if a system exception occurred
protected SocialActivitySetting removeImpl(SocialActivitySetting socialActivitySetting)
throws SystemException
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
SystemException - if a system exception occurred
public SocialActivitySetting updateImpl(SocialActivitySetting socialActivitySetting,
boolean merge)
throws SystemException
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 updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected SocialActivitySetting toUnwrappedModel(SocialActivitySetting socialActivitySetting)
public SocialActivitySetting findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
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
NoSuchModelException - if a social activity setting with the primary key could not be found
SystemException - if a system exception occurred
public SocialActivitySetting findByPrimaryKey(long activitySettingId)
throws NoSuchActivitySettingException,
SystemException
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 found
SystemException - if a system exception occurred
public SocialActivitySetting fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
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 found
SystemException - if a system exception occurred
public SocialActivitySetting fetchByPrimaryKey(long activitySettingId)
throws SystemException
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 found
SystemException - if a system exception occurred
public List<SocialActivitySetting> findByG_A(long groupId,
int activityType)
throws SystemException
findByG_A in interface SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity type
SystemException - if a system exception occurred
public List<SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end)
throws 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 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)
SystemException - if a system exception occurred
public List<SocialActivitySetting> findByG_A(long groupId,
int activityType,
int start,
int end,
OrderByComparator orderByComparator)
throws 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 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)
SystemException - if a system exception occurred
public SocialActivitySetting findByG_A_First(long groupId,
int activityType,
OrderByComparator orderByComparator)
throws NoSuchActivitySettingException,
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 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
SystemException - if a system exception occurred
public SocialActivitySetting findByG_A_Last(long groupId,
int activityType,
OrderByComparator orderByComparator)
throws NoSuchActivitySettingException,
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 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
SystemException - if a system exception occurred
public SocialActivitySetting[] findByG_A_PrevAndNext(long activitySettingId,
long groupId,
int activityType,
OrderByComparator orderByComparator)
throws NoSuchActivitySettingException,
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 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
SystemException - if a system exception occurred
protected SocialActivitySetting getByG_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
int activityType,
OrderByComparator orderByComparator,
boolean previous)
public List<SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType)
throws SystemException
findByG_C_A in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity type
SystemException - if a system exception occurred
public List<SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end)
throws 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 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)
SystemException - if a system exception occurred
public List<SocialActivitySetting> findByG_C_A(long groupId,
long classNameId,
int activityType,
int start,
int end,
OrderByComparator orderByComparator)
throws 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 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)
SystemException - if a system exception occurred
public SocialActivitySetting findByG_C_A_First(long groupId,
long classNameId,
int activityType,
OrderByComparator orderByComparator)
throws NoSuchActivitySettingException,
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 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
SystemException - if a system exception occurred
public SocialActivitySetting findByG_C_A_Last(long groupId,
long classNameId,
int activityType,
OrderByComparator orderByComparator)
throws NoSuchActivitySettingException,
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 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
SystemException - if a system exception occurred
public SocialActivitySetting[] findByG_C_A_PrevAndNext(long activitySettingId,
long groupId,
long classNameId,
int activityType,
OrderByComparator orderByComparator)
throws NoSuchActivitySettingException,
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 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
SystemException - if a system exception occurred
protected SocialActivitySetting getByG_C_A_PrevAndNext(Session session,
SocialActivitySetting socialActivitySetting,
long groupId,
long classNameId,
int activityType,
OrderByComparator orderByComparator,
boolean previous)
public SocialActivitySetting findByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws NoSuchActivitySettingException,
SystemException
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
SystemException - if a system exception occurred
public SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws SystemException
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
SystemException - if a system exception occurred
public SocialActivitySetting fetchByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name,
boolean retrieveFromCache)
throws SystemException
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 use the finder cache
null if a matching social activity setting could not be found
SystemException - if a system exception occurred
public List<SocialActivitySetting> findAll()
throws SystemException
findAll in interface SocialActivitySettingPersistenceSystemException - if a system exception occurred
public List<SocialActivitySetting> findAll(int start,
int end)
throws 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 SocialActivitySettingPersistencestart - the lower bound of the range of social activity settingsend - the upper bound of the range of social activity settings (not inclusive)
SystemException - if a system exception occurred
public List<SocialActivitySetting> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws 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 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)
SystemException - if a system exception occurred
public void removeByG_A(long groupId,
int activityType)
throws SystemException
removeByG_A in interface SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity type
SystemException - if a system exception occurred
public void removeByG_C_A(long groupId,
long classNameId,
int activityType)
throws SystemException
removeByG_C_A in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity type
SystemException - if a system exception occurred
public void removeByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws NoSuchActivitySettingException,
SystemException
removeByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the name
SystemException - if a system exception occurred
NoSuchActivitySettingException
public void removeAll()
throws SystemException
removeAll in interface SocialActivitySettingPersistenceSystemException - if a system exception occurred
public int countByG_A(long groupId,
int activityType)
throws SystemException
countByG_A in interface SocialActivitySettingPersistencegroupId - the group IDactivityType - the activity type
SystemException - if a system exception occurred
public int countByG_C_A(long groupId,
long classNameId,
int activityType)
throws SystemException
countByG_C_A in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity type
SystemException - if a system exception occurred
public int countByG_C_A_N(long groupId,
long classNameId,
int activityType,
String name)
throws SystemException
countByG_C_A_N in interface SocialActivitySettingPersistencegroupId - the group IDclassNameId - the class name IDactivityType - the activity typename - the name
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface SocialActivitySettingPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||