Class 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
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
cacheUniqueFindersCache
(SubscriptionModelImpl subscriptionModelImpl) 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
countAll()
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
destroy()
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 returnsnull
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 returnsnull
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 returnsnull
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>
findAll()
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 aNoSuchSubscriptionException
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 aNoSuchSubscriptionException
if it could not be found.com.liferay.portal.kernel.model.Subscription
findByPrimaryKey
(Serializable primaryKey) Deprecated.Returns the subscription with the primary key or throws acom.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.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
Deprecated. -
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
Deprecated. -
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
Deprecated.
-
-
Constructor Details
-
SubscriptionPersistenceImpl
public SubscriptionPersistenceImpl()Deprecated.
-
-
Method Details
-
findByUserId
Deprecated.Returns all the subscriptions where userId = ?.- Specified by:
findByUserId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDstart
- the lower bound of the range of subscriptionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
subscriptionId
- the primary key of the current subscriptionuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user ID- Returns:
- the number of matching subscriptions
-
findByG_U
Deprecated.Returns all the subscriptions where groupId = ? and userId = ?.- Specified by:
findByG_U
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByG_U
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of subscriptionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByG_U
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByG_U
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
subscriptionId
- the primary key of the current subscriptiongroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching subscriptions
-
findByU_C
Deprecated.Returns all the subscriptions where userId = ? and classNameId = ?.- Specified by:
findByU_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByU_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of subscriptionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByU_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByU_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
subscriptionId
- the primary key of the current subscriptionuserId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
userId
- the user IDclassNameId
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of subscriptionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
subscriptionId
- the primary key of the current subscriptioncompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksstart
- the lower bound of the range of subscriptionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- the class pksstart
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 aNoSuchSubscriptionException
if it could not be found.- Specified by:
findByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByC_U_C_C
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- 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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
- Parameters:
subscription
- the subscription
-
cacheResult
Deprecated.Caches the subscriptions in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
subscriptions
- the subscriptions
-
clearCache
public void clearCache()Deprecated.Clears the cache for all subscriptions.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
- Overrides:
clearCache
in classcom.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
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
clearCache
Deprecated.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
clearCache
Deprecated.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
-
cacheUniqueFindersCache
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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
- Overrides:
remove
in classcom.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 classcom.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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Overrides:
updateImpl
in classcom.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 acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>
- Overrides:
findByPrimaryKey
in classcom.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 aNoSuchSubscriptionException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.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
Deprecated.Returns all the subscriptions.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Returns:
- the subscriptions
-
findAll
Deprecated.Returns a range of all the subscriptions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
start
- the lower bound of the range of subscriptionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
start
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
- Parameters:
start
- the lower bound of the range of subscriptionsend
- the upper bound of the range of subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
-
countAll
public int countAll()Deprecated.Returns the number of subscriptions.- Specified by:
countAll
in interfacecom.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 classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
getPKDBName
Deprecated.- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
getSelectSQL
Deprecated.- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
getTableColumnsMap
Deprecated.- Overrides:
getTableColumnsMap
in classcom.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 classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-