Class SubscriptionPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
com.liferay.portal.service.persistence.impl.SubscriptionPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>, com.liferay.portal.kernel.service.persistence.SubscriptionPersistence

@Deprecated public class SubscriptionPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription> implements com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
Deprecated.
The persistence implementation for the subscription service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     
    static final String
    Deprecated.
     
    static final String
    Deprecated.
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Initializes the subscription persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.Subscription subscription)
    Deprecated.
    Caches the subscription in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.Subscription> subscriptions)
    Deprecated.
    Caches the subscriptions in the entity cache if it is enabled.
    protected void
    Deprecated.
     
    void
    Deprecated.
    Clears the cache for all subscriptions.
    void
    clearCache(com.liferay.portal.kernel.model.Subscription subscription)
    Deprecated.
    Clears the cache for the subscription.
    void
    clearCache(List<com.liferay.portal.kernel.model.Subscription> subscriptions)
    Deprecated.
     
    void
    clearCache(Set<Serializable> primaryKeys)
    Deprecated.
     
    int
    Deprecated.
    Returns the number of subscriptions.
    int
    countByC_C_C(long companyId, long classNameId, long classPK)
    Deprecated.
    Returns the number of subscriptions where companyId = ? and classNameId = ? and classPK = ?.
    int
    countByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
    Deprecated.
    Returns the number of subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = ?.
    int
    countByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs)
    Deprecated.
    Returns the number of subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.
    int
    countByG_U(long groupId, long userId)
    Deprecated.
    Returns the number of subscriptions where groupId = ? and userId = ?.
    int
    countByU_C(long userId, long classNameId)
    Deprecated.
    Returns the number of subscriptions where userId = ? and classNameId = ?.
    int
    countByUserId(long userId)
    Deprecated.
    Returns the number of subscriptions where userId = ?.
    com.liferay.portal.kernel.model.Subscription
    create(long subscriptionId)
    Deprecated.
    Creates a new subscription with the primary key.
    void
    Deprecated.
     
    com.liferay.portal.kernel.model.Subscription
    fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
    Deprecated.
    Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.Subscription
    fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK, boolean useFinderCache)
    Deprecated.
    Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.Subscription
    fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where groupId = ? and userId = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where groupId = ? and userId = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByPrimaryKey(long subscriptionId)
    Deprecated.
    Returns the subscription with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.Subscription
    fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where userId = ? and classNameId = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where userId = ? and classNameId = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.Subscription
    fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    Deprecated.
    Returns all the subscriptions.
    List<com.liferay.portal.kernel.model.Subscription>
    findAll(int start, int end)
    Deprecated.
    Returns a range of all the subscriptions.
    List<com.liferay.portal.kernel.model.Subscription>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns an ordered range of all the subscriptions.
    List<com.liferay.portal.kernel.model.Subscription>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
    Deprecated.
    Returns an ordered range of all the subscriptions.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_C_C(long companyId, long classNameId, long classPK)
    Deprecated.
    Returns all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
    Deprecated.
    Returns a range of all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns an ordered range of all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
    Deprecated.
    Returns an ordered range of all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.
    com.liferay.portal.kernel.model.Subscription
    findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    com.liferay.portal.kernel.model.Subscription
    findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    com.liferay.portal.kernel.model.Subscription[]
    findByC_C_C_PrevAndNext(long subscriptionId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the subscriptions before and after the current subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    com.liferay.portal.kernel.model.Subscription
    findByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
    Deprecated.
    Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or throws a NoSuchSubscriptionException if it could not be found.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs)
    Deprecated.
    Returns all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end)
    Deprecated.
    Returns a range of all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns an ordered range of all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
    Deprecated.
    Returns an ordered range of all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.
    List<com.liferay.portal.kernel.model.Subscription>
    findByG_U(long groupId, long userId)
    Deprecated.
    Returns all the subscriptions where groupId = ? and userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByG_U(long groupId, long userId, int start, int end)
    Deprecated.
    Returns a range of all the subscriptions where groupId = ? and userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns an ordered range of all the subscriptions where groupId = ? and userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
    Deprecated.
    Returns an ordered range of all the subscriptions where groupId = ? and userId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where groupId = ? and userId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where groupId = ? and userId = ?.
    com.liferay.portal.kernel.model.Subscription[]
    findByG_U_PrevAndNext(long subscriptionId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the subscriptions before and after the current subscription in the ordered set where groupId = ? and userId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByPrimaryKey(long subscriptionId)
    Deprecated.
    Returns the subscription with the primary key or throws a NoSuchSubscriptionException if it could not be found.
    com.liferay.portal.kernel.model.Subscription
    Deprecated.
    Returns the subscription with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.portal.kernel.model.Subscription>
    findByU_C(long userId, long classNameId)
    Deprecated.
    Returns all the subscriptions where userId = ? and classNameId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByU_C(long userId, long classNameId, int start, int end)
    Deprecated.
    Returns a range of all the subscriptions where userId = ? and classNameId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns an ordered range of all the subscriptions where userId = ? and classNameId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
    Deprecated.
    Returns an ordered range of all the subscriptions where userId = ? and classNameId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where userId = ? and classNameId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where userId = ? and classNameId = ?.
    com.liferay.portal.kernel.model.Subscription[]
    findByU_C_PrevAndNext(long subscriptionId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the subscriptions before and after the current subscription in the ordered set where userId = ? and classNameId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByUserId(long userId)
    Deprecated.
    Returns all the subscriptions where userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByUserId(long userId, int start, int end)
    Deprecated.
    Returns a range of all the subscriptions where userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns an ordered range of all the subscriptions where userId = ?.
    List<com.liferay.portal.kernel.model.Subscription>
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
    Deprecated.
    Returns an ordered range of all the subscriptions where userId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the first subscription in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.Subscription
    findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the last subscription in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.Subscription[]
    findByUserId_PrevAndNext(long subscriptionId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
    Deprecated.
    Returns the subscriptions before and after the current subscription in the ordered set where userId = ?.
    protected com.liferay.portal.kernel.model.Subscription
    getByC_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
    Deprecated.
     
    protected com.liferay.portal.kernel.model.Subscription
    getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
    Deprecated.
     
    protected com.liferay.portal.kernel.model.Subscription
    getByU_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
    Deprecated.
     
    protected com.liferay.portal.kernel.model.Subscription
    getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
    Deprecated.
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
    Deprecated.
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
    Deprecated.
     
    protected String
    Deprecated.
     
    protected String
    Deprecated.
     
    protected Map<String,Integer>
    Deprecated.
     
    com.liferay.portal.kernel.model.Subscription
    remove(long subscriptionId)
    Deprecated.
    Removes the subscription with the primary key from the database.
    com.liferay.portal.kernel.model.Subscription
    remove(Serializable primaryKey)
    Deprecated.
    Removes the subscription with the primary key from the database.
    void
    Deprecated.
    Removes all the subscriptions from the database.
    void
    removeByC_C_C(long companyId, long classNameId, long classPK)
    Deprecated.
    Removes all the subscriptions where companyId = ? and classNameId = ? and classPK = ? from the database.
    com.liferay.portal.kernel.model.Subscription
    removeByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
    Deprecated.
    Removes the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? from the database.
    void
    removeByG_U(long groupId, long userId)
    Deprecated.
    Removes all the subscriptions where groupId = ? and userId = ? from the database.
    void
    removeByU_C(long userId, long classNameId)
    Deprecated.
    Removes all the subscriptions where userId = ? and classNameId = ? from the database.
    void
    removeByUserId(long userId)
    Deprecated.
    Removes all the subscriptions where userId = ? from the database.
    protected com.liferay.portal.kernel.model.Subscription
    removeImpl(com.liferay.portal.kernel.model.Subscription subscription)
    Deprecated.
     
    com.liferay.portal.kernel.model.Subscription
    updateImpl(com.liferay.portal.kernel.model.Subscription subscription)
    Deprecated.
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      public static final String FINDER_CLASS_NAME_ENTITY
      Deprecated.
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
      Deprecated.
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
      Deprecated.
  • Constructor Details

    • SubscriptionPersistenceImpl

      public SubscriptionPersistenceImpl()
      Deprecated.
  • Method Details

    • findByUserId

      public List<com.liferay.portal.kernel.model.Subscription> findByUserId(long userId)
      Deprecated.
      Returns all the subscriptions where userId = ?.
      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      Returns:
      the matching subscriptions
    • findByUserId

      public List<com.liferay.portal.kernel.model.Subscription> findByUserId(long userId, int start, int end)
      Deprecated.
      Returns a range of all the subscriptions 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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      Returns:
      the range of matching subscriptions
    • findByUserId

      public List<com.liferay.portal.kernel.model.Subscription> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns an ordered range of all the subscriptions 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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching subscriptions
    • findByUserId

      public List<com.liferay.portal.kernel.model.Subscription> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the subscriptions 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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching subscriptions
    • findByUserId_First

      public com.liferay.portal.kernel.model.Subscription findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the first subscription in the ordered set where userId = ?.
      Specified by:
      findByUserId_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByUserId_First

      public com.liferay.portal.kernel.model.Subscription fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the first subscription in the ordered set where userId = ?.
      Specified by:
      fetchByUserId_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription, or null if a matching subscription could not be found
    • findByUserId_Last

      public com.liferay.portal.kernel.model.Subscription findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the last subscription in the ordered set where userId = ?.
      Specified by:
      findByUserId_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByUserId_Last

      public com.liferay.portal.kernel.model.Subscription fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the last subscription in the ordered set where userId = ?.
      Specified by:
      fetchByUserId_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription, or null if a matching subscription could not be found
    • findByUserId_PrevAndNext

      public com.liferay.portal.kernel.model.Subscription[] findByUserId_PrevAndNext(long subscriptionId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscriptions before and after the current subscription in the ordered set where userId = ?.
      Specified by:
      findByUserId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the current subscription
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • getByUserId_PrevAndNext

      protected com.liferay.portal.kernel.model.Subscription getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
      Deprecated.
    • removeByUserId

      public void removeByUserId(long userId)
      Deprecated.
      Removes all the subscriptions where userId = ? from the database.
      Specified by:
      removeByUserId in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
    • countByUserId

      public int countByUserId(long userId)
      Deprecated.
      Returns the number of subscriptions where userId = ?.
      Specified by:
      countByUserId in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      Returns:
      the number of matching subscriptions
    • findByG_U

      public List<com.liferay.portal.kernel.model.Subscription> findByG_U(long groupId, long userId)
      Deprecated.
      Returns all the subscriptions where groupId = ? and userId = ?.
      Specified by:
      findByG_U in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching subscriptions
    • findByG_U

      public List<com.liferay.portal.kernel.model.Subscription> findByG_U(long groupId, long userId, int start, int end)
      Deprecated.
      Returns a range of all the subscriptions where groupId = ? and 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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByG_U in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      Returns:
      the range of matching subscriptions
    • findByG_U

      public List<com.liferay.portal.kernel.model.Subscription> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns an ordered range of all the subscriptions where groupId = ? and 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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByG_U in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching subscriptions
    • findByG_U

      public List<com.liferay.portal.kernel.model.Subscription> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the subscriptions where groupId = ? and 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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByG_U in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching subscriptions
    • findByG_U_First

      public com.liferay.portal.kernel.model.Subscription findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the first subscription in the ordered set where groupId = ? and userId = ?.
      Specified by:
      findByG_U_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByG_U_First

      public com.liferay.portal.kernel.model.Subscription fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the first subscription in the ordered set where groupId = ? and userId = ?.
      Specified by:
      fetchByG_U_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription, or null if a matching subscription could not be found
    • findByG_U_Last

      public com.liferay.portal.kernel.model.Subscription findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the last subscription in the ordered set where groupId = ? and userId = ?.
      Specified by:
      findByG_U_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByG_U_Last

      public com.liferay.portal.kernel.model.Subscription fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the last subscription in the ordered set where groupId = ? and userId = ?.
      Specified by:
      fetchByG_U_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription, or null if a matching subscription could not be found
    • findByG_U_PrevAndNext

      public com.liferay.portal.kernel.model.Subscription[] findByG_U_PrevAndNext(long subscriptionId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscriptions before and after the current subscription in the ordered set where groupId = ? and userId = ?.
      Specified by:
      findByG_U_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the current subscription
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • getByG_U_PrevAndNext

      protected com.liferay.portal.kernel.model.Subscription getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
      Deprecated.
    • removeByG_U

      public void removeByG_U(long groupId, long userId)
      Deprecated.
      Removes all the subscriptions where groupId = ? and userId = ? from the database.
      Specified by:
      removeByG_U in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
    • countByG_U

      public int countByG_U(long groupId, long userId)
      Deprecated.
      Returns the number of subscriptions where groupId = ? and userId = ?.
      Specified by:
      countByG_U in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the number of matching subscriptions
    • findByU_C

      public List<com.liferay.portal.kernel.model.Subscription> findByU_C(long userId, long classNameId)
      Deprecated.
      Returns all the subscriptions where userId = ? and classNameId = ?.
      Specified by:
      findByU_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      Returns:
      the matching subscriptions
    • findByU_C

      public List<com.liferay.portal.kernel.model.Subscription> findByU_C(long userId, long classNameId, int start, int end)
      Deprecated.
      Returns a range of all the subscriptions where userId = ? and classNameId = ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByU_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      Returns:
      the range of matching subscriptions
    • findByU_C

      public List<com.liferay.portal.kernel.model.Subscription> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns an ordered range of all the subscriptions where userId = ? and classNameId = ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByU_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching subscriptions
    • findByU_C

      public List<com.liferay.portal.kernel.model.Subscription> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the subscriptions where userId = ? and classNameId = ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByU_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching subscriptions
    • findByU_C_First

      public com.liferay.portal.kernel.model.Subscription findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the first subscription in the ordered set where userId = ? and classNameId = ?.
      Specified by:
      findByU_C_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByU_C_First

      public com.liferay.portal.kernel.model.Subscription fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the first subscription in the ordered set where userId = ? and classNameId = ?.
      Specified by:
      fetchByU_C_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription, or null if a matching subscription could not be found
    • findByU_C_Last

      public com.liferay.portal.kernel.model.Subscription findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the last subscription in the ordered set where userId = ? and classNameId = ?.
      Specified by:
      findByU_C_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByU_C_Last

      public com.liferay.portal.kernel.model.Subscription fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the last subscription in the ordered set where userId = ? and classNameId = ?.
      Specified by:
      fetchByU_C_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription, or null if a matching subscription could not be found
    • findByU_C_PrevAndNext

      public com.liferay.portal.kernel.model.Subscription[] findByU_C_PrevAndNext(long subscriptionId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscriptions before and after the current subscription in the ordered set where userId = ? and classNameId = ?.
      Specified by:
      findByU_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the current subscription
      userId - the user ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • getByU_C_PrevAndNext

      protected com.liferay.portal.kernel.model.Subscription getByU_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
      Deprecated.
    • removeByU_C

      public void removeByU_C(long userId, long classNameId)
      Deprecated.
      Removes all the subscriptions where userId = ? and classNameId = ? from the database.
      Specified by:
      removeByU_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
    • countByU_C

      public int countByU_C(long userId, long classNameId)
      Deprecated.
      Returns the number of subscriptions where userId = ? and classNameId = ?.
      Specified by:
      countByU_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      Returns:
      the number of matching subscriptions
    • findByC_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_C_C(long companyId, long classNameId, long classPK)
      Deprecated.
      Returns all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      findByC_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching subscriptions
    • findByC_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
      Deprecated.
      Returns a range of all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      Returns:
      the range of matching subscriptions
    • findByC_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns an ordered range of all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching subscriptions
    • findByC_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the subscriptions where companyId = ? and classNameId = ? and classPK = ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching subscriptions
    • findByC_C_C_First

      public com.liferay.portal.kernel.model.Subscription findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the first subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      findByC_C_C_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByC_C_C_First

      public com.liferay.portal.kernel.model.Subscription fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the first subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      fetchByC_C_C_First in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching subscription, or null if a matching subscription could not be found
    • findByC_C_C_Last

      public com.liferay.portal.kernel.model.Subscription findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the last subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      findByC_C_C_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByC_C_C_Last

      public com.liferay.portal.kernel.model.Subscription fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns the last subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      fetchByC_C_C_Last in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching subscription, or null if a matching subscription could not be found
    • findByC_C_C_PrevAndNext

      public com.liferay.portal.kernel.model.Subscription[] findByC_C_C_PrevAndNext(long subscriptionId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscriptions before and after the current subscription in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      findByC_C_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the current subscription
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • getByC_C_C_PrevAndNext

      protected com.liferay.portal.kernel.model.Subscription getByC_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Subscription subscription, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean previous)
      Deprecated.
    • removeByC_C_C

      public void removeByC_C_C(long companyId, long classNameId, long classPK)
      Deprecated.
      Removes all the subscriptions where companyId = ? and classNameId = ? and classPK = ? from the database.
      Specified by:
      removeByC_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
    • countByC_C_C

      public int countByC_C_C(long companyId, long classNameId, long classPK)
      Deprecated.
      Returns the number of subscriptions where companyId = ? and classNameId = ? and classPK = ?.
      Specified by:
      countByC_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching subscriptions
    • findByC_U_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs)
      Deprecated.
      Returns all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPKs - the class pks
      Returns:
      the matching subscriptions
    • findByC_U_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end)
      Deprecated.
      Returns a range of all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPKs - the class pks
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      Returns:
      the range of matching subscriptions
    • findByC_U_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns an ordered range of all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPKs - the class pks
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching subscriptions
    • findByC_U_C_C

      public List<com.liferay.portal.kernel.model.Subscription> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPKs - the class pks
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching subscriptions
    • findByC_U_C_C

      public com.liferay.portal.kernel.model.Subscription findByC_U_C_C(long companyId, long userId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or throws a NoSuchSubscriptionException if it could not be found.
      Specified by:
      findByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a matching subscription could not be found
    • fetchByC_U_C_C

      public com.liferay.portal.kernel.model.Subscription fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
      Deprecated.
      Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching subscription, or null if a matching subscription could not be found
    • fetchByC_U_C_C

      public com.liferay.portal.kernel.model.Subscription fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK, boolean useFinderCache)
      Deprecated.
      Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching subscription, or null if a matching subscription could not be found
    • removeByC_U_C_C

      public com.liferay.portal.kernel.model.Subscription removeByC_U_C_C(long companyId, long userId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Removes the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? from the database.
      Specified by:
      removeByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the subscription that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException
    • countByC_U_C_C

      public int countByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
      Deprecated.
      Returns the number of subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = ?.
      Specified by:
      countByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching subscriptions
    • countByC_U_C_C

      public int countByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs)
      Deprecated.
      Returns the number of subscriptions where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.
      Specified by:
      countByC_U_C_C in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      companyId - the company ID
      userId - the user ID
      classNameId - the class name ID
      classPKs - the class pks
      Returns:
      the number of matching subscriptions
    • cacheResult

      public void cacheResult(com.liferay.portal.kernel.model.Subscription subscription)
      Deprecated.
      Caches the subscription in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
      Parameters:
      subscription - the subscription
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.Subscription> subscriptions)
      Deprecated.
      Caches the subscriptions in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptions - the subscriptions
    • clearCache

      public void clearCache()
      Deprecated.
      Clears the cache for all subscriptions.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.Subscription subscription)
      Deprecated.
      Clears the cache for the subscription.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.Subscription> subscriptions)
      Deprecated.
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Deprecated.
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(SubscriptionModelImpl subscriptionModelImpl)
      Deprecated.
    • create

      public com.liferay.portal.kernel.model.Subscription create(long subscriptionId)
      Deprecated.
      Creates a new subscription with the primary key. Does not add the subscription to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key for the new subscription
      Returns:
      the new subscription
    • remove

      public com.liferay.portal.kernel.model.Subscription remove(long subscriptionId) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Removes the subscription with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the subscription
      Returns:
      the subscription that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.Subscription remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Removes the subscription with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
      Parameters:
      primaryKey - the primary key of the subscription
      Returns:
      the subscription that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.Subscription removeImpl(com.liferay.portal.kernel.model.Subscription subscription)
      Deprecated.
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • updateImpl

      public com.liferay.portal.kernel.model.Subscription updateImpl(com.liferay.portal.kernel.model.Subscription subscription)
      Deprecated.
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.Subscription findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscription with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
      Parameters:
      primaryKey - the primary key of the subscription
      Returns:
      the subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.Subscription findByPrimaryKey(long subscriptionId) throws com.liferay.portal.kernel.exception.NoSuchSubscriptionException
      Deprecated.
      Returns the subscription with the primary key or throws a NoSuchSubscriptionException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the subscription
      Returns:
      the subscription
      Throws:
      com.liferay.portal.kernel.exception.NoSuchSubscriptionException - if a subscription with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.Subscription fetchByPrimaryKey(long subscriptionId)
      Deprecated.
      Returns the subscription with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      subscriptionId - the primary key of the subscription
      Returns:
      the subscription, or null if a subscription with the primary key could not be found
    • findAll

      public List<com.liferay.portal.kernel.model.Subscription> findAll()
      Deprecated.
      Returns all the subscriptions.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Returns:
      the subscriptions
    • findAll

      public List<com.liferay.portal.kernel.model.Subscription> findAll(int start, int end)
      Deprecated.
      Returns a range of all the subscriptions.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      Returns:
      the range of subscriptions
    • findAll

      public List<com.liferay.portal.kernel.model.Subscription> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator)
      Deprecated.
      Returns an ordered range of all the subscriptions.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of subscriptions
    • findAll

      public List<com.liferay.portal.kernel.model.Subscription> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Subscription> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the subscriptions.

      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, then the query will include the default ORDER BY logic from SubscriptionModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Parameters:
      start - the lower bound of the range of subscriptions
      end - the upper bound of the range of subscriptions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of subscriptions
    • removeAll

      public void removeAll()
      Deprecated.
      Removes all the subscriptions from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
    • countAll

      public int countAll()
      Deprecated.
      Returns the number of subscriptions.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.SubscriptionPersistence
      Returns:
      the number of subscriptions
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Deprecated.
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • getPKDBName

      protected String getPKDBName()
      Deprecated.
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • getSelectSQL

      protected String getSelectSQL()
      Deprecated.
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • getTableColumnsMap

      protected Map<String,Integer> getTableColumnsMap()
      Deprecated.
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Deprecated.
      Initializes the subscription persistence.
    • destroy

      public void destroy()
      Deprecated.
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Deprecated.
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>