Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialActivitySet>
      extended by com.liferay.portlet.social.service.persistence.SocialActivitySetPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<SocialActivitySet>, SocialActivitySetPersistence

public class SocialActivitySetPersistenceImpl
extends BasePersistenceImpl<SocialActivitySet>
implements SocialActivitySetPersistence

The persistence implementation for the social activity set service.

Caching information and settings can be found in portal.properties

See Also:
SocialActivitySetPersistence, SocialActivitySetUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_C_T
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_C_T
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_T
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_U_C_C_T
           
static FinderPath FINDER_PATH_COUNT_BY_USERID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_C_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_C_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
           
 
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
SocialActivitySetPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the social activity set persistence.
 void cacheResult(List<SocialActivitySet> socialActivitySets)
          Caches the social activity sets in the entity cache if it is enabled.
 void cacheResult(SocialActivitySet socialActivitySet)
          Caches the social activity set in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all social activity sets.
 void clearCache(List<SocialActivitySet> socialActivitySets)
          Clears the cache for a List instances of this model.
 void clearCache(SocialActivitySet socialActivitySet)
          Clears the cache for the social activity set.
 int countAll()
          Returns the number of social activity sets.
 int countByC_C_T(long classNameId, long classPK, int type)
          Returns the number of social activity sets where classNameId = ? and classPK = ? and type = ?.
 int countByG_U_C_T(long groupId, long userId, long classNameId, int type)
          Returns the number of social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.
 int countByG_U_T(long groupId, long userId, int type)
          Returns the number of social activity sets where groupId = ? and userId = ? and type = ?.
 int countByGroupId(long groupId)
          Returns the number of social activity sets where groupId = ?.
 int countByU_C_C_T(long userId, long classNameId, long classPK, int type)
          Returns the number of social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.
 int countByUserId(long userId)
          Returns the number of social activity sets where userId = ?.
 SocialActivitySet create(long activitySetId)
          Creates a new social activity set with the primary key.
 void destroy()
           
 SocialActivitySet fetchByC_C_T_First(long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet fetchByC_C_T_Last(long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet fetchByG_U_C_T_First(long groupId, long userId, long classNameId, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.
 SocialActivitySet fetchByG_U_C_T_Last(long groupId, long userId, long classNameId, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.
 SocialActivitySet fetchByG_U_T_First(long groupId, long userId, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where groupId = ? and userId = ? and type = ?.
 SocialActivitySet fetchByG_U_T_Last(long groupId, long userId, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where groupId = ? and userId = ? and type = ?.
 SocialActivitySet fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where groupId = ?.
 SocialActivitySet fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where groupId = ?.
 SocialActivitySet fetchByPrimaryKey(long activitySetId)
          Returns the social activity set with the primary key or returns null if it could not be found.
 SocialActivitySet fetchByPrimaryKey(Serializable primaryKey)
          Returns the social activity set with the primary key or returns null if it could not be found.
 SocialActivitySet fetchByU_C_C_T_First(long userId, long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet fetchByU_C_C_T_Last(long userId, long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet fetchByUserId_First(long userId, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where userId = ?.
 SocialActivitySet fetchByUserId_Last(long userId, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where userId = ?.
 List<SocialActivitySet> findAll()
          Returns all the social activity sets.
 List<SocialActivitySet> findAll(int start, int end)
          Returns a range of all the social activity sets.
 List<SocialActivitySet> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets.
 SocialActivitySet findByC_C_T_First(long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet findByC_C_T_Last(long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet[] findByC_C_T_PrevAndNext(long activitySetId, long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the social activity sets before and after the current social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.
 List<SocialActivitySet> findByC_C_T(long classNameId, long classPK, int type)
          Returns all the social activity sets where classNameId = ? and classPK = ? and type = ?.
 List<SocialActivitySet> findByC_C_T(long classNameId, long classPK, int type, int start, int end)
          Returns a range of all the social activity sets where classNameId = ? and classPK = ? and type = ?.
 List<SocialActivitySet> findByC_C_T(long classNameId, long classPK, int type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets where classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet findByG_U_C_T_First(long groupId, long userId, long classNameId, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.
 SocialActivitySet findByG_U_C_T_Last(long groupId, long userId, long classNameId, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.
 SocialActivitySet[] findByG_U_C_T_PrevAndNext(long activitySetId, long groupId, long userId, long classNameId, int type, OrderByComparator orderByComparator)
          Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.
 List<SocialActivitySet> findByG_U_C_T(long groupId, long userId, long classNameId, int type)
          Returns all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.
 List<SocialActivitySet> findByG_U_C_T(long groupId, long userId, long classNameId, int type, int start, int end)
          Returns a range of all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.
 List<SocialActivitySet> findByG_U_C_T(long groupId, long userId, long classNameId, int type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.
 SocialActivitySet findByG_U_T_First(long groupId, long userId, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where groupId = ? and userId = ? and type = ?.
 SocialActivitySet findByG_U_T_Last(long groupId, long userId, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where groupId = ? and userId = ? and type = ?.
 SocialActivitySet[] findByG_U_T_PrevAndNext(long activitySetId, long groupId, long userId, int type, OrderByComparator orderByComparator)
          Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ? and userId = ? and type = ?.
 List<SocialActivitySet> findByG_U_T(long groupId, long userId, int type)
          Returns all the social activity sets where groupId = ? and userId = ? and type = ?.
 List<SocialActivitySet> findByG_U_T(long groupId, long userId, int type, int start, int end)
          Returns a range of all the social activity sets where groupId = ? and userId = ? and type = ?.
 List<SocialActivitySet> findByG_U_T(long groupId, long userId, int type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets where groupId = ? and userId = ? and type = ?.
 SocialActivitySet findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where groupId = ?.
 SocialActivitySet findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where groupId = ?.
 SocialActivitySet[] findByGroupId_PrevAndNext(long activitySetId, long groupId, OrderByComparator orderByComparator)
          Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ?.
 List<SocialActivitySet> findByGroupId(long groupId)
          Returns all the social activity sets where groupId = ?.
 List<SocialActivitySet> findByGroupId(long groupId, int start, int end)
          Returns a range of all the social activity sets where groupId = ?.
 List<SocialActivitySet> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets where groupId = ?.
 SocialActivitySet findByPrimaryKey(long activitySetId)
          Returns the social activity set with the primary key or throws a NoSuchActivitySetException if it could not be found.
 SocialActivitySet findByPrimaryKey(Serializable primaryKey)
          Returns the social activity set with the primary key or throws a NoSuchModelException if it could not be found.
 SocialActivitySet findByU_C_C_T_First(long userId, long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet findByU_C_C_T_Last(long userId, long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet[] findByU_C_C_T_PrevAndNext(long activitySetId, long userId, long classNameId, long classPK, int type, OrderByComparator orderByComparator)
          Returns the social activity sets before and after the current social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.
 List<SocialActivitySet> findByU_C_C_T(long userId, long classNameId, long classPK, int type)
          Returns all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.
 List<SocialActivitySet> findByU_C_C_T(long userId, long classNameId, long classPK, int type, int start, int end)
          Returns a range of all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.
 List<SocialActivitySet> findByU_C_C_T(long userId, long classNameId, long classPK, int type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.
 SocialActivitySet findByUserId_First(long userId, OrderByComparator orderByComparator)
          Returns the first social activity set in the ordered set where userId = ?.
 SocialActivitySet findByUserId_Last(long userId, OrderByComparator orderByComparator)
          Returns the last social activity set in the ordered set where userId = ?.
 SocialActivitySet[] findByUserId_PrevAndNext(long activitySetId, long userId, OrderByComparator orderByComparator)
          Returns the social activity sets before and after the current social activity set in the ordered set where userId = ?.
 List<SocialActivitySet> findByUserId(long userId)
          Returns all the social activity sets where userId = ?.
 List<SocialActivitySet> findByUserId(long userId, int start, int end)
          Returns a range of all the social activity sets where userId = ?.
 List<SocialActivitySet> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the social activity sets where userId = ?.
protected  Set<String> getBadColumnNames()
           
protected  SocialActivitySet getByC_C_T_PrevAndNext(Session session, SocialActivitySet socialActivitySet, long classNameId, long classPK, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialActivitySet getByG_U_C_T_PrevAndNext(Session session, SocialActivitySet socialActivitySet, long groupId, long userId, long classNameId, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialActivitySet getByG_U_T_PrevAndNext(Session session, SocialActivitySet socialActivitySet, long groupId, long userId, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialActivitySet getByGroupId_PrevAndNext(Session session, SocialActivitySet socialActivitySet, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialActivitySet getByU_C_C_T_PrevAndNext(Session session, SocialActivitySet socialActivitySet, long userId, long classNameId, long classPK, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialActivitySet getByUserId_PrevAndNext(Session session, SocialActivitySet socialActivitySet, long userId, OrderByComparator orderByComparator, boolean previous)
           
 SocialActivitySet remove(long activitySetId)
          Removes the social activity set with the primary key from the database.
 SocialActivitySet remove(Serializable primaryKey)
          Removes the social activity set with the primary key from the database.
 void removeAll()
          Removes all the social activity sets from the database.
 void removeByC_C_T(long classNameId, long classPK, int type)
          Removes all the social activity sets where classNameId = ? and classPK = ? and type = ? from the database.
 void removeByG_U_C_T(long groupId, long userId, long classNameId, int type)
          Removes all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ? from the database.
 void removeByG_U_T(long groupId, long userId, int type)
          Removes all the social activity sets where groupId = ? and userId = ? and type = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the social activity sets where groupId = ? from the database.
 void removeByU_C_C_T(long userId, long classNameId, long classPK, int type)
          Removes all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ? from the database.
 void removeByUserId(long userId)
          Removes all the social activity sets where userId = ? from the database.
protected  SocialActivitySet removeImpl(SocialActivitySet socialActivitySet)
          Removes the model instance from the database.
protected  SocialActivitySet toUnwrappedModel(SocialActivitySet socialActivitySet)
           
 SocialActivitySet updateImpl(SocialActivitySet socialActivitySet)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID

FINDER_PATH_COUNT_BY_USERID

public static final FinderPath FINDER_PATH_COUNT_BY_USERID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_T

FINDER_PATH_COUNT_BY_G_U_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_T

FINDER_PATH_COUNT_BY_C_C_T

public static final FinderPath FINDER_PATH_COUNT_BY_C_C_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_C_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_C_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_C_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_C_T

FINDER_PATH_COUNT_BY_G_U_C_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_C_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C_T

FINDER_PATH_COUNT_BY_U_C_C_T

public static final FinderPath FINDER_PATH_COUNT_BY_U_C_C_T
Constructor Detail

SocialActivitySetPersistenceImpl

public SocialActivitySetPersistenceImpl()
Method Detail

findByGroupId

public List<SocialActivitySet> findByGroupId(long groupId)
                                      throws SystemException
Returns all the social activity sets where groupId = ?.

Specified by:
findByGroupId in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
Returns:
the matching social activity sets
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<SocialActivitySet> findByGroupId(long groupId,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the social activity sets where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<SocialActivitySet> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the social activity sets where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public SocialActivitySet findByGroupId_First(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchActivitySetException,
                                             SystemException
Returns the first social activity set in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public SocialActivitySet fetchByGroupId_First(long groupId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first social activity set in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public SocialActivitySet findByGroupId_Last(long groupId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchActivitySetException,
                                            SystemException
Returns the last social activity set in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public SocialActivitySet fetchByGroupId_Last(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last social activity set in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public SocialActivitySet[] findByGroupId_PrevAndNext(long activitySetId,
                                                     long groupId,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchActivitySetException,
                                                     SystemException
Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the current social activity set
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected SocialActivitySet getByGroupId_PrevAndNext(Session session,
                                                     SocialActivitySet socialActivitySet,
                                                     long groupId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Removes all the social activity sets where groupId = ? from the database.

Specified by:
removeByGroupId in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Returns the number of social activity sets where groupId = ?.

Specified by:
countByGroupId in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByUserId

public List<SocialActivitySet> findByUserId(long userId)
                                     throws SystemException
Returns all the social activity sets where userId = ?.

Specified by:
findByUserId in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
Returns:
the matching social activity sets
Throws:
SystemException - if a system exception occurred

findByUserId

public List<SocialActivitySet> findByUserId(long userId,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the social activity sets where userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUserId in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByUserId

public List<SocialActivitySet> findByUserId(long userId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the social activity sets where userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUserId in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByUserId_First

public SocialActivitySet findByUserId_First(long userId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchActivitySetException,
                                            SystemException
Returns the first social activity set in the ordered set where userId = ?.

Specified by:
findByUserId_First in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByUserId_First

public SocialActivitySet fetchByUserId_First(long userId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first social activity set in the ordered set where userId = ?.

Specified by:
fetchByUserId_First in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByUserId_Last

public SocialActivitySet findByUserId_Last(long userId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchActivitySetException,
                                           SystemException
Returns the last social activity set in the ordered set where userId = ?.

Specified by:
findByUserId_Last in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByUserId_Last

public SocialActivitySet fetchByUserId_Last(long userId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last social activity set in the ordered set where userId = ?.

Specified by:
fetchByUserId_Last in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByUserId_PrevAndNext

public SocialActivitySet[] findByUserId_PrevAndNext(long activitySetId,
                                                    long userId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchActivitySetException,
                                                    SystemException
Returns the social activity sets before and after the current social activity set in the ordered set where userId = ?.

Specified by:
findByUserId_PrevAndNext in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the current social activity set
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

getByUserId_PrevAndNext

protected SocialActivitySet getByUserId_PrevAndNext(Session session,
                                                    SocialActivitySet socialActivitySet,
                                                    long userId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

removeByUserId

public void removeByUserId(long userId)
                    throws SystemException
Removes all the social activity sets where userId = ? from the database.

Specified by:
removeByUserId in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
Throws:
SystemException - if a system exception occurred

countByUserId

public int countByUserId(long userId)
                  throws SystemException
Returns the number of social activity sets where userId = ?.

Specified by:
countByUserId in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
Returns:
the number of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_T

public List<SocialActivitySet> findByG_U_T(long groupId,
                                           long userId,
                                           int type)
                                    throws SystemException
Returns all the social activity sets where groupId = ? and userId = ? and type = ?.

Specified by:
findByG_U_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
Returns:
the matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_T

public List<SocialActivitySet> findByG_U_T(long groupId,
                                           long userId,
                                           int type,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the social activity sets where groupId = ? and userId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_T

public List<SocialActivitySet> findByG_U_T(long groupId,
                                           long userId,
                                           int type,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the social activity sets where groupId = ? and userId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_T_First

public SocialActivitySet findByG_U_T_First(long groupId,
                                           long userId,
                                           int type,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchActivitySetException,
                                           SystemException
Returns the first social activity set in the ordered set where groupId = ? and userId = ? and type = ?.

Specified by:
findByG_U_T_First in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByG_U_T_First

public SocialActivitySet fetchByG_U_T_First(long groupId,
                                            long userId,
                                            int type,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the first social activity set in the ordered set where groupId = ? and userId = ? and type = ?.

Specified by:
fetchByG_U_T_First in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_T_Last

public SocialActivitySet findByG_U_T_Last(long groupId,
                                          long userId,
                                          int type,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchActivitySetException,
                                          SystemException
Returns the last social activity set in the ordered set where groupId = ? and userId = ? and type = ?.

Specified by:
findByG_U_T_Last in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByG_U_T_Last

public SocialActivitySet fetchByG_U_T_Last(long groupId,
                                           long userId,
                                           int type,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the last social activity set in the ordered set where groupId = ? and userId = ? and type = ?.

Specified by:
fetchByG_U_T_Last in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_T_PrevAndNext

public SocialActivitySet[] findByG_U_T_PrevAndNext(long activitySetId,
                                                   long groupId,
                                                   long userId,
                                                   int type,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchActivitySetException,
                                                   SystemException
Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ? and userId = ? and type = ?.

Specified by:
findByG_U_T_PrevAndNext in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the current social activity set
groupId - the group ID
userId - the user ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_T_PrevAndNext

protected SocialActivitySet getByG_U_T_PrevAndNext(Session session,
                                                   SocialActivitySet socialActivitySet,
                                                   long groupId,
                                                   long userId,
                                                   int type,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

removeByG_U_T

public void removeByG_U_T(long groupId,
                          long userId,
                          int type)
                   throws SystemException
Removes all the social activity sets where groupId = ? and userId = ? and type = ? from the database.

Specified by:
removeByG_U_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
Throws:
SystemException - if a system exception occurred

countByG_U_T

public int countByG_U_T(long groupId,
                        long userId,
                        int type)
                 throws SystemException
Returns the number of social activity sets where groupId = ? and userId = ? and type = ?.

Specified by:
countByG_U_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
type - the type
Returns:
the number of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByC_C_T

public List<SocialActivitySet> findByC_C_T(long classNameId,
                                           long classPK,
                                           int type)
                                    throws SystemException
Returns all the social activity sets where classNameId = ? and classPK = ? and type = ?.

Specified by:
findByC_C_T in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
Returns:
the matching social activity sets
Throws:
SystemException - if a system exception occurred

findByC_C_T

public List<SocialActivitySet> findByC_C_T(long classNameId,
                                           long classPK,
                                           int type,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the social activity sets where classNameId = ? and classPK = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_C_T in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByC_C_T

public List<SocialActivitySet> findByC_C_T(long classNameId,
                                           long classPK,
                                           int type,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the social activity sets where classNameId = ? and classPK = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_C_T in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByC_C_T_First

public SocialActivitySet findByC_C_T_First(long classNameId,
                                           long classPK,
                                           int type,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchActivitySetException,
                                           SystemException
Returns the first social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.

Specified by:
findByC_C_T_First in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByC_C_T_First

public SocialActivitySet fetchByC_C_T_First(long classNameId,
                                            long classPK,
                                            int type,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the first social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.

Specified by:
fetchByC_C_T_First in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByC_C_T_Last

public SocialActivitySet findByC_C_T_Last(long classNameId,
                                          long classPK,
                                          int type,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchActivitySetException,
                                          SystemException
Returns the last social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.

Specified by:
findByC_C_T_Last in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByC_C_T_Last

public SocialActivitySet fetchByC_C_T_Last(long classNameId,
                                           long classPK,
                                           int type,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the last social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.

Specified by:
fetchByC_C_T_Last in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByC_C_T_PrevAndNext

public SocialActivitySet[] findByC_C_T_PrevAndNext(long activitySetId,
                                                   long classNameId,
                                                   long classPK,
                                                   int type,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchActivitySetException,
                                                   SystemException
Returns the social activity sets before and after the current social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?.

Specified by:
findByC_C_T_PrevAndNext in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the current social activity set
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

getByC_C_T_PrevAndNext

protected SocialActivitySet getByC_C_T_PrevAndNext(Session session,
                                                   SocialActivitySet socialActivitySet,
                                                   long classNameId,
                                                   long classPK,
                                                   int type,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

removeByC_C_T

public void removeByC_C_T(long classNameId,
                          long classPK,
                          int type)
                   throws SystemException
Removes all the social activity sets where classNameId = ? and classPK = ? and type = ? from the database.

Specified by:
removeByC_C_T in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
Throws:
SystemException - if a system exception occurred

countByC_C_T

public int countByC_C_T(long classNameId,
                        long classPK,
                        int type)
                 throws SystemException
Returns the number of social activity sets where classNameId = ? and classPK = ? and type = ?.

Specified by:
countByC_C_T in interface SocialActivitySetPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
type - the type
Returns:
the number of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_C_T

public List<SocialActivitySet> findByG_U_C_T(long groupId,
                                             long userId,
                                             long classNameId,
                                             int type)
                                      throws SystemException
Returns all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
findByG_U_C_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
Returns:
the matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_C_T

public List<SocialActivitySet> findByG_U_C_T(long groupId,
                                             long userId,
                                             long classNameId,
                                             int type,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U_C_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_C_T

public List<SocialActivitySet> findByG_U_C_T(long groupId,
                                             long userId,
                                             long classNameId,
                                             int type,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U_C_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByG_U_C_T_First

public SocialActivitySet findByG_U_C_T_First(long groupId,
                                             long userId,
                                             long classNameId,
                                             int type,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchActivitySetException,
                                             SystemException
Returns the first social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
findByG_U_C_T_First in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByG_U_C_T_First

public SocialActivitySet fetchByG_U_C_T_First(long groupId,
                                              long userId,
                                              long classNameId,
                                              int type,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
fetchByG_U_C_T_First in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_C_T_Last

public SocialActivitySet findByG_U_C_T_Last(long groupId,
                                            long userId,
                                            long classNameId,
                                            int type,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchActivitySetException,
                                            SystemException
Returns the last social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
findByG_U_C_T_Last in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByG_U_C_T_Last

public SocialActivitySet fetchByG_U_C_T_Last(long groupId,
                                             long userId,
                                             long classNameId,
                                             int type,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
fetchByG_U_C_T_Last in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_C_T_PrevAndNext

public SocialActivitySet[] findByG_U_C_T_PrevAndNext(long activitySetId,
                                                     long groupId,
                                                     long userId,
                                                     long classNameId,
                                                     int type,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchActivitySetException,
                                                     SystemException
Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
findByG_U_C_T_PrevAndNext in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the current social activity set
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_C_T_PrevAndNext

protected SocialActivitySet getByG_U_C_T_PrevAndNext(Session session,
                                                     SocialActivitySet socialActivitySet,
                                                     long groupId,
                                                     long userId,
                                                     long classNameId,
                                                     int type,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

removeByG_U_C_T

public void removeByG_U_C_T(long groupId,
                            long userId,
                            long classNameId,
                            int type)
                     throws SystemException
Removes all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ? from the database.

Specified by:
removeByG_U_C_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
Throws:
SystemException - if a system exception occurred

countByG_U_C_T

public int countByG_U_C_T(long groupId,
                          long userId,
                          long classNameId,
                          int type)
                   throws SystemException
Returns the number of social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?.

Specified by:
countByG_U_C_T in interface SocialActivitySetPersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
type - the type
Returns:
the number of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByU_C_C_T

public List<SocialActivitySet> findByU_C_C_T(long userId,
                                             long classNameId,
                                             long classPK,
                                             int type)
                                      throws SystemException
Returns all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
findByU_C_C_T in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
Returns:
the matching social activity sets
Throws:
SystemException - if a system exception occurred

findByU_C_C_T

public List<SocialActivitySet> findByU_C_C_T(long userId,
                                             long classNameId,
                                             long classPK,
                                             int type,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByU_C_C_T in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByU_C_C_T

public List<SocialActivitySet> findByU_C_C_T(long userId,
                                             long classNameId,
                                             long classPK,
                                             int type,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByU_C_C_T in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching social activity sets
Throws:
SystemException - if a system exception occurred

findByU_C_C_T_First

public SocialActivitySet findByU_C_C_T_First(long userId,
                                             long classNameId,
                                             long classPK,
                                             int type,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchActivitySetException,
                                             SystemException
Returns the first social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
findByU_C_C_T_First in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByU_C_C_T_First

public SocialActivitySet fetchByU_C_C_T_First(long userId,
                                              long classNameId,
                                              long classPK,
                                              int type,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
fetchByU_C_C_T_First in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByU_C_C_T_Last

public SocialActivitySet findByU_C_C_T_Last(long userId,
                                            long classNameId,
                                            long classPK,
                                            int type,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchActivitySetException,
                                            SystemException
Returns the last social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
findByU_C_C_T_Last in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set
Throws:
NoSuchActivitySetException - if a matching social activity set could not be found
SystemException - if a system exception occurred

fetchByU_C_C_T_Last

public SocialActivitySet fetchByU_C_C_T_Last(long userId,
                                             long classNameId,
                                             long classPK,
                                             int type,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
fetchByU_C_C_T_Last in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching social activity set, or null if a matching social activity set could not be found
Throws:
SystemException - if a system exception occurred

findByU_C_C_T_PrevAndNext

public SocialActivitySet[] findByU_C_C_T_PrevAndNext(long activitySetId,
                                                     long userId,
                                                     long classNameId,
                                                     long classPK,
                                                     int type,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchActivitySetException,
                                                     SystemException
Returns the social activity sets before and after the current social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
findByU_C_C_T_PrevAndNext in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the current social activity set
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

getByU_C_C_T_PrevAndNext

protected SocialActivitySet getByU_C_C_T_PrevAndNext(Session session,
                                                     SocialActivitySet socialActivitySet,
                                                     long userId,
                                                     long classNameId,
                                                     long classPK,
                                                     int type,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

removeByU_C_C_T

public void removeByU_C_C_T(long userId,
                            long classNameId,
                            long classPK,
                            int type)
                     throws SystemException
Removes all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ? from the database.

Specified by:
removeByU_C_C_T in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
Throws:
SystemException - if a system exception occurred

countByU_C_C_T

public int countByU_C_C_T(long userId,
                          long classNameId,
                          long classPK,
                          int type)
                   throws SystemException
Returns the number of social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?.

Specified by:
countByU_C_C_T in interface SocialActivitySetPersistence
Parameters:
userId - the user ID
classNameId - the class name ID
classPK - the class p k
type - the type
Returns:
the number of matching social activity sets
Throws:
SystemException - if a system exception occurred

cacheResult

public void cacheResult(SocialActivitySet socialActivitySet)
Caches the social activity set in the entity cache if it is enabled.

Specified by:
cacheResult in interface SocialActivitySetPersistence
Parameters:
socialActivitySet - the social activity set

cacheResult

public void cacheResult(List<SocialActivitySet> socialActivitySets)
Caches the social activity sets in the entity cache if it is enabled.

Specified by:
cacheResult in interface SocialActivitySetPersistence
Parameters:
socialActivitySets - the social activity sets

clearCache

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

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SocialActivitySet>
Overrides:
clearCache in class BasePersistenceImpl<SocialActivitySet>

clearCache

public void clearCache(SocialActivitySet socialActivitySet)
Clears the cache for the social activity set.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SocialActivitySet>
Overrides:
clearCache in class BasePersistenceImpl<SocialActivitySet>
Parameters:
socialActivitySet - the instance of this model to clear the cache for

clearCache

public void clearCache(List<SocialActivitySet> socialActivitySets)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SocialActivitySet>
Overrides:
clearCache in class BasePersistenceImpl<SocialActivitySet>
Parameters:
socialActivitySets - the List instances of this model to clear the cache for

create

public SocialActivitySet create(long activitySetId)
Creates a new social activity set with the primary key. Does not add the social activity set to the database.

Specified by:
create in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key for the new social activity set
Returns:
the new social activity set

remove

public SocialActivitySet remove(long activitySetId)
                         throws NoSuchActivitySetException,
                                SystemException
Removes the social activity set with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the social activity set
Returns:
the social activity set that was removed
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

remove

public SocialActivitySet remove(Serializable primaryKey)
                         throws NoSuchActivitySetException,
                                SystemException
Removes the social activity set with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<SocialActivitySet>
Overrides:
remove in class BasePersistenceImpl<SocialActivitySet>
Parameters:
primaryKey - the primary key of the social activity set
Returns:
the social activity set that was removed
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected SocialActivitySet removeImpl(SocialActivitySet socialActivitySet)
                                throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<SocialActivitySet>
Parameters:
socialActivitySet - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public SocialActivitySet updateImpl(SocialActivitySet socialActivitySet)
                             throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface SocialActivitySetPersistence
Overrides:
updateImpl in class BasePersistenceImpl<SocialActivitySet>
Parameters:
socialActivitySet - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected SocialActivitySet toUnwrappedModel(SocialActivitySet socialActivitySet)

findByPrimaryKey

public SocialActivitySet findByPrimaryKey(Serializable primaryKey)
                                   throws NoSuchActivitySetException,
                                          SystemException
Returns the social activity set with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<SocialActivitySet>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<SocialActivitySet>
Parameters:
primaryKey - the primary key of the social activity set
Returns:
the social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public SocialActivitySet findByPrimaryKey(long activitySetId)
                                   throws NoSuchActivitySetException,
                                          SystemException
Returns the social activity set with the primary key or throws a NoSuchActivitySetException if it could not be found.

Specified by:
findByPrimaryKey in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the social activity set
Returns:
the social activity set
Throws:
NoSuchActivitySetException - if a social activity set with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public SocialActivitySet fetchByPrimaryKey(Serializable primaryKey)
                                    throws SystemException
Returns the social activity set with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<SocialActivitySet>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<SocialActivitySet>
Parameters:
primaryKey - the primary key of the social activity set
Returns:
the social activity set, or null if a social activity set with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public SocialActivitySet fetchByPrimaryKey(long activitySetId)
                                    throws SystemException
Returns the social activity set with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface SocialActivitySetPersistence
Parameters:
activitySetId - the primary key of the social activity set
Returns:
the social activity set, or null if a social activity set with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

public List<SocialActivitySet> findAll()
                                throws SystemException
Returns all the social activity sets.

Specified by:
findAll in interface SocialActivitySetPersistence
Returns:
the social activity sets
Throws:
SystemException - if a system exception occurred

findAll

public List<SocialActivitySet> findAll(int start,
                                       int end)
                                throws SystemException
Returns a range of all the social activity sets.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface SocialActivitySetPersistence
Parameters:
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
Returns:
the range of social activity sets
Throws:
SystemException - if a system exception occurred

findAll

public List<SocialActivitySet> findAll(int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns an ordered range of all the social activity sets.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface SocialActivitySetPersistence
Parameters:
start - the lower bound of the range of social activity sets
end - the upper bound of the range of social activity sets (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of social activity sets
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the social activity sets from the database.

Specified by:
removeAll in interface SocialActivitySetPersistence
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of social activity sets.

Specified by:
countAll in interface SocialActivitySetPersistence
Returns:
the number of social activity sets
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<SocialActivitySet>

afterPropertiesSet

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


destroy

public void destroy()

Liferay 6.2-ce-ga5