com.liferay.portlet.social.service.persistence
Class SocialActivitySettingPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
      extended by com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>, com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence

public class SocialActivitySettingPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
implements com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence

The persistence implementation for the social activity setting service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
SocialActivitySettingPersistence, SocialActivitySettingUtil
Generated:

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

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_A

FINDER_PATH_WITHOUT_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

FINDER_PATH_COUNT_BY_G_C_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_A

FINDER_PATH_FETCH_BY_G_C_A_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_C_A_N

FINDER_PATH_COUNT_BY_G_C_A_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_A_N

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

socialActivityPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence

socialActivityAchievementPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence socialActivityAchievementPersistence

socialActivityCounterPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence socialActivityCounterPersistence

socialActivityLimitPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence socialActivityLimitPersistence

socialActivitySettingPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence socialActivitySettingPersistence

socialRelationPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRelationPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence

socialRequestPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRequestPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

SocialActivitySettingPersistenceImpl

public SocialActivitySettingPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
Caches the social activity setting in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
socialActivitySetting - the social activity setting

cacheResult

public 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.

Specified by:
cacheResult in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
socialActivitySettings - the social activity settings

clearCache

public void clearCache()
Clears the cache for all social activity settings.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>

clearCache

public void clearCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
Clears the cache for the social activity setting.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> socialActivitySettings)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)

create

public com.liferay.portlet.social.model.SocialActivitySetting create(long activitySettingId)
Creates a new social activity setting with the primary key. Does not add the social activity setting to the database.

Specified by:
create in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
activitySettingId - the primary key for the new social activity setting
Returns:
the new social activity setting

remove

public com.liferay.portlet.social.model.SocialActivitySetting remove(long activitySettingId)
                                                              throws com.liferay.portlet.social.NoSuchActivitySettingException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Removes the social activity setting with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
activitySettingId - the primary key of the social activity setting
Returns:
the social activity setting that was removed
Throws:
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

remove

public com.liferay.portlet.social.model.SocialActivitySetting remove(java.io.Serializable primaryKey)
                                                              throws com.liferay.portlet.social.NoSuchActivitySettingException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Removes the social activity setting with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
Parameters:
primaryKey - the primary key of the social activity setting
Returns:
the social activity setting that was removed
Throws:
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

removeImpl

protected com.liferay.portlet.social.model.SocialActivitySetting removeImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)
                                                                     throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.social.model.SocialActivitySetting updateImpl(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting,
                                                                         boolean merge)
                                                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.social.model.SocialActivitySetting toUnwrappedModel(com.liferay.portlet.social.model.SocialActivitySetting socialActivitySetting)

findByPrimaryKey

public com.liferay.portlet.social.model.SocialActivitySetting findByPrimaryKey(java.io.Serializable primaryKey)
                                                                        throws com.liferay.portal.NoSuchModelException,
                                                                               com.liferay.portal.kernel.exception.SystemException
Returns the social activity setting with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
Parameters:
primaryKey - the primary key of the social activity setting
Returns:
the social activity setting
Throws:
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

findByPrimaryKey

public com.liferay.portlet.social.model.SocialActivitySetting findByPrimaryKey(long activitySettingId)
                                                                        throws com.liferay.portlet.social.NoSuchActivitySettingException,
                                                                               com.liferay.portal.kernel.exception.SystemException
Returns the social activity setting with the primary key or throws a NoSuchActivitySettingException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
activitySettingId - the primary key of the social activity setting
Returns:
the social activity setting
Throws:
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

fetchByPrimaryKey

public com.liferay.portlet.social.model.SocialActivitySetting fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns the social activity setting with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialActivitySetting>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialActivitySetting>
Parameters:
primaryKey - the primary key of the social activity setting
Returns:
the social activity setting, or null if a social activity setting with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.social.model.SocialActivitySetting fetchByPrimaryKey(long activitySettingId)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns the social activity setting with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
activitySettingId - the primary key of the social activity setting
Returns:
the social activity setting, or null if a social activity setting with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_A

public java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findByG_A(long groupId,
                                                                                        int activityType)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns all the social activity settings where groupId = ? and activityType = ?.

Specified by:
findByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
Returns:
the matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_A

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
Returns a range of all the social activity settings where groupId = ? and activityType = ?.

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.

Specified by:
findByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
start - the lower bound of the range of social activity settings
end - the upper bound of the range of social activity settings (not inclusive)
Returns:
the range of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_A

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
Returns an ordered range of all the social activity settings where groupId = ? and activityType = ?.

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.

Specified by:
findByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
start - the lower bound of the range of social activity settings
end - the upper bound of the range of social activity settings (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_A_First

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
Returns the first social activity setting in the ordered set where groupId = ? and activityType = ?.

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.

Specified by:
findByG_A_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity setting
Throws:
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

findByG_A_Last

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
Returns the last social activity setting in the ordered set where groupId = ? and activityType = ?.

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.

Specified by:
findByG_A_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity setting
Throws:
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

findByG_A_PrevAndNext

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
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and activityType = ?.

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.

Specified by:
findByG_A_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
activitySettingId - the primary key of the current social activity setting
groupId - the group ID
activityType - the activity type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity setting
Throws:
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

getByG_A_PrevAndNext

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)

findByG_C_A

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
Returns all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.

Specified by:
findByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
Returns:
the matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_C_A

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
Returns a range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.

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.

Specified by:
findByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
start - the lower bound of the range of social activity settings
end - the upper bound of the range of social activity settings (not inclusive)
Returns:
the range of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_C_A

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
Returns an ordered range of all the social activity settings where groupId = ? and classNameId = ? and activityType = ?.

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.

Specified by:
findByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
start - the lower bound of the range of social activity settings
end - the upper bound of the range of social activity settings (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_C_A_First

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
Returns the first social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.

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.

Specified by:
findByG_C_A_First in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity setting
Throws:
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

findByG_C_A_Last

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
Returns the last social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.

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.

Specified by:
findByG_C_A_Last in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity setting
Throws:
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

findByG_C_A_PrevAndNext

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
Returns the social activity settings before and after the current social activity setting in the ordered set where groupId = ? and classNameId = ? and activityType = ?.

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.

Specified by:
findByG_C_A_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
activitySettingId - the primary key of the current social activity setting
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity setting
Throws:
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

getByG_C_A_PrevAndNext

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)

findByG_C_A_N

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
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or throws a NoSuchActivitySettingException if it could not be found.

Specified by:
findByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
name - the name
Returns:
the matching social activity setting
Throws:
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

fetchByG_C_A_N

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
Returns the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
name - the name
Returns:
the matching social activity setting, or null if a matching social activity setting could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByG_C_A_N

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
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.

Specified by:
fetchByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
name - the name
retrieveFromCache - whether to use the finder cache
Returns:
the matching social activity setting, or null if a matching social activity setting could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findAll()
                                                                               throws com.liferay.portal.kernel.exception.SystemException
Returns all the social activity settings.

Specified by:
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Returns:
the social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> findAll(int start,
                                                                                      int end)
                                                                               throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the social activity settings.

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.

Specified by:
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
start - the lower bound of the range of social activity settings
end - the upper bound of the range of social activity settings (not inclusive)
Returns:
the range of social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

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
Returns an ordered range of all the social activity settings.

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.

Specified by:
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
start - the lower bound of the range of social activity settings
end - the upper bound of the range of social activity settings (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_A

public void removeByG_A(long groupId,
                        int activityType)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the social activity settings where groupId = ? and activityType = ? from the database.

Specified by:
removeByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_C_A

public void removeByG_C_A(long groupId,
                          long classNameId,
                          int activityType)
                   throws com.liferay.portal.kernel.exception.SystemException
Removes all the social activity settings where groupId = ? and classNameId = ? and activityType = ? from the database.

Specified by:
removeByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_C_A_N

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
Removes the social activity setting where groupId = ? and classNameId = ? and activityType = ? and name = ? from the database.

Specified by:
removeByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
name - the name
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.social.NoSuchActivitySettingException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the social activity settings from the database.

Specified by:
removeAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_A

public int countByG_A(long groupId,
                      int activityType)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of social activity settings where groupId = ? and activityType = ?.

Specified by:
countByG_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
activityType - the activity type
Returns:
the number of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_C_A

public int countByG_C_A(long groupId,
                        long classNameId,
                        int activityType)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ?.

Specified by:
countByG_C_A in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
Returns:
the number of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_C_A_N

public int countByG_C_A_N(long groupId,
                          long classNameId,
                          int activityType,
                          java.lang.String name)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of social activity settings where groupId = ? and classNameId = ? and activityType = ? and name = ?.

Specified by:
countByG_C_A_N in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
activityType - the activity type
name - the name
Returns:
the number of matching social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of social activity settings.

Specified by:
countAll in interface com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence
Returns:
the number of social activity settings
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the social activity setting persistence.


destroy

public void destroy()