All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.social.kernel.service.persistence.SocialActivitySetPersistence Maven / Gradle / Ivy

Go to download

Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.

There is a newer version: 156.0.0
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.social.kernel.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.service.persistence.BasePersistence;

import com.liferay.social.kernel.exception.NoSuchActivitySetException;
import com.liferay.social.kernel.model.SocialActivitySet;

/**
 * The persistence interface for the social activity set service.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Brian Wing Shun Chan * @see com.liferay.portlet.social.service.persistence.impl.SocialActivitySetPersistenceImpl * @see SocialActivitySetUtil * @generated */ @ProviderType public interface SocialActivitySetPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link SocialActivitySetUtil} to access the social activity set persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the social activity sets where groupId = ?. * * @param groupId the group ID * @return the matching social activity sets */ public java.util.List findByGroupId(long groupId); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of matching social activity sets */ public java.util.List findByGroupId(long groupId, int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching social activity sets */ public java.util.List findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching social activity sets */ public java.util.List findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first social activity set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the first social activity set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last social activity set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the last social activity set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the social activity sets before and after the current social activity set in the ordered set where groupId = ?. * * @param activitySetId the primary key of the current social activity set * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet[] findByGroupId_PrevAndNext(long activitySetId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Removes all the social activity sets where groupId = ? from the database. * * @param groupId the group ID */ public void removeByGroupId(long groupId); /** * Returns the number of social activity sets where groupId = ?. * * @param groupId the group ID * @return the number of matching social activity sets */ public int countByGroupId(long groupId); /** * Returns all the social activity sets where userId = ?. * * @param userId the user ID * @return the matching social activity sets */ public java.util.List findByUserId(long userId); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param userId the user ID * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of matching social activity sets */ public java.util.List findByUserId(long userId, int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param userId the user ID * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching social activity sets */ public java.util.List findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param userId the user ID * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching social activity sets */ public java.util.List findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first social activity set in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the first social activity set in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last social activity set in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the last social activity set in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the social activity sets before and after the current social activity set in the ordered set where userId = ?. * * @param activitySetId the primary key of the current social activity set * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet[] findByUserId_PrevAndNext(long activitySetId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Removes all the social activity sets where userId = ? from the database. * * @param userId the user ID */ public void removeByUserId(long userId); /** * Returns the number of social activity sets where userId = ?. * * @param userId the user ID * @return the number of matching social activity sets */ public int countByUserId(long userId); /** * Returns all the social activity sets where groupId = ? and userId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param type the type * @return the matching social activity sets */ public java.util.List findByG_U_T(long groupId, long userId, int type); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param userId the user ID * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of matching social activity sets */ public java.util.List findByG_U_T(long groupId, long userId, int type, int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param userId the user ID * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching social activity sets */ public java.util.List findByG_U_T(long groupId, long userId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param userId the user ID * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching social activity sets */ public java.util.List findByG_U_T(long groupId, long userId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first social activity set in the ordered set where groupId = ? and userId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByG_U_T_First(long groupId, long userId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the first social activity set in the ordered set where groupId = ? and userId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByG_U_T_First(long groupId, long userId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last social activity set in the ordered set where groupId = ? and userId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByG_U_T_Last(long groupId, long userId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the last social activity set in the ordered set where groupId = ? and userId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByG_U_T_Last(long groupId, long userId, int type, com.liferay.portal.kernel.util.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 = ?. * * @param activitySetId the primary key of the current social activity set * @param groupId the group ID * @param userId the user ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet[] findByG_U_T_PrevAndNext(long activitySetId, long groupId, long userId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Removes all the social activity sets where groupId = ? and userId = ? and type = ? from the database. * * @param groupId the group ID * @param userId the user ID * @param type the type */ public void removeByG_U_T(long groupId, long userId, int type); /** * Returns the number of social activity sets where groupId = ? and userId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param type the type * @return the number of matching social activity sets */ public int countByG_U_T(long groupId, long userId, int type); /** * Returns all the social activity sets where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @return the matching social activity sets */ public java.util.List findByC_C_T(long classNameId, long classPK, int type); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of matching social activity sets */ public java.util.List findByC_C_T(long classNameId, long classPK, int type, int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching social activity sets */ public java.util.List findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching social activity sets */ public java.util.List findByC_C_T(long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the first social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByC_C_T_First(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the last social activity set in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByC_C_T_Last(long classNameId, long classPK, int type, com.liferay.portal.kernel.util.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 = ?. * * @param activitySetId the primary key of the current social activity set * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet[] findByC_C_T_PrevAndNext(long activitySetId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Removes all the social activity sets where classNameId = ? and classPK = ? and type = ? from the database. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type */ public void removeByC_C_T(long classNameId, long classPK, int type); /** * Returns the number of social activity sets where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @return the number of matching social activity sets */ public int countByC_C_T(long classNameId, long classPK, int type); /** * Returns all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @return the matching social activity sets */ public java.util.List findByG_U_C_T(long groupId, long userId, long classNameId, int type); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of matching social activity sets */ public java.util.List findByG_U_C_T(long groupId, long userId, long classNameId, int type, int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching social activity sets */ public java.util.List findByG_U_C_T(long groupId, long userId, long classNameId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching social activity sets */ public java.util.List findByG_U_C_T(long groupId, long userId, long classNameId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByG_U_C_T_First(long groupId, long userId, long classNameId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the first social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByG_U_C_T_First(long groupId, long userId, long classNameId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByG_U_C_T_Last(long groupId, long userId, long classNameId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the last social activity set in the ordered set where groupId = ? and userId = ? and classNameId = ? and type = ?. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByG_U_C_T_Last(long groupId, long userId, long classNameId, int type, com.liferay.portal.kernel.util.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 = ?. * * @param activitySetId the primary key of the current social activity set * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet[] findByG_U_C_T_PrevAndNext(long activitySetId, long groupId, long userId, long classNameId, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Removes all the social activity sets where groupId = ? and userId = ? and classNameId = ? and type = ? from the database. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type */ public void removeByG_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 = ?. * * @param groupId the group ID * @param userId the user ID * @param classNameId the class name ID * @param type the type * @return the number of matching social activity sets */ public int countByG_U_C_T(long groupId, long userId, long classNameId, int type); /** * Returns all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ?. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @return the matching social activity sets */ public java.util.List findByU_C_C_T(long userId, long classNameId, long classPK, int type); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of matching social activity sets */ public java.util.List findByU_C_C_T(long userId, long classNameId, long classPK, int type, int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching social activity sets */ public java.util.List findByU_C_C_T(long userId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching social activity sets */ public java.util.List findByU_C_C_T(long userId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByU_C_C_T_First(long userId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the first social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByU_C_C_T_First(long userId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set * @throws NoSuchActivitySetException if a matching social activity set could not be found */ public SocialActivitySet findByU_C_C_T_Last(long userId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Returns the last social activity set in the ordered set where userId = ? and classNameId = ? and classPK = ? and type = ?. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching social activity set, or null if a matching social activity set could not be found */ public SocialActivitySet fetchByU_C_C_T_Last(long userId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.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 = ?. * * @param activitySetId the primary key of the current social activity set * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet[] findByU_C_C_T_PrevAndNext(long activitySetId, long userId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchActivitySetException; /** * Removes all the social activity sets where userId = ? and classNameId = ? and classPK = ? and type = ? from the database. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type */ public void removeByU_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 = ?. * * @param userId the user ID * @param classNameId the class name ID * @param classPK the class p k * @param type the type * @return the number of matching social activity sets */ public int countByU_C_C_T(long userId, long classNameId, long classPK, int type); /** * Caches the social activity set in the entity cache if it is enabled. * * @param socialActivitySet the social activity set */ public void cacheResult(SocialActivitySet socialActivitySet); /** * Caches the social activity sets in the entity cache if it is enabled. * * @param socialActivitySets the social activity sets */ public void cacheResult( java.util.List socialActivitySets); /** * Creates a new social activity set with the primary key. Does not add the social activity set to the database. * * @param activitySetId the primary key for the new social activity set * @return the new social activity set */ public SocialActivitySet create(long activitySetId); /** * Removes the social activity set with the primary key from the database. Also notifies the appropriate model listeners. * * @param activitySetId the primary key of the social activity set * @return the social activity set that was removed * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet remove(long activitySetId) throws NoSuchActivitySetException; public SocialActivitySet updateImpl(SocialActivitySet socialActivitySet); /** * Returns the social activity set with the primary key or throws a {@link NoSuchActivitySetException} if it could not be found. * * @param activitySetId the primary key of the social activity set * @return the social activity set * @throws NoSuchActivitySetException if a social activity set with the primary key could not be found */ public SocialActivitySet findByPrimaryKey(long activitySetId) throws NoSuchActivitySetException; /** * Returns the social activity set with the primary key or returns null if it could not be found. * * @param activitySetId the primary key of the social activity set * @return the social activity set, or null if a social activity set with the primary key could not be found */ public SocialActivitySet fetchByPrimaryKey(long activitySetId); @Override public java.util.Map fetchByPrimaryKeys( java.util.Set primaryKeys); /** * Returns all the social activity sets. * * @return the social activity sets */ public java.util.List findAll(); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @return the range of social activity sets */ public java.util.List findAll(int start, int end); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of social activity sets */ public java.util.List findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * 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 {@link 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 {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link 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. *

* * @param start the lower bound of the range of social activity sets * @param end the upper bound of the range of social activity sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of social activity sets */ public java.util.List findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the social activity sets from the database. */ public void removeAll(); /** * Returns the number of social activity sets. * * @return the number of social activity sets */ public int countAll(); @Override public java.util.Set getBadColumnNames(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy