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 StringDeprecated.static final StringDeprecated.static final StringDeprecated.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 TypeMethodDescriptionvoidDeprecated.Initializes the subscription persistence.voidcacheResult(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Caches the subscription in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.Subscription> subscriptions) Deprecated.Caches the subscriptions in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(SubscriptionModelImpl subscriptionModelImpl) Deprecated.voidDeprecated.Clears the cache for all subscriptions.voidclearCache(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Clears the cache for the subscription.voidclearCache(List<com.liferay.portal.kernel.model.Subscription> subscriptions) Deprecated.voidclearCache(Set<Serializable> primaryKeys) Deprecated.intcountAll()Deprecated.Returns the number of subscriptions.intcountByC_C_C(long companyId, long classNameId, long classPK) Deprecated.Returns the number of subscriptions where companyId = ? and classNameId = ? and classPK = ?.intcountByC_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 = ?.intcountByC_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 ?.intcountByG_U(long groupId, long userId) Deprecated.Returns the number of subscriptions where groupId = ? and userId = ?.intcountByU_C(long userId, long classNameId) Deprecated.Returns the number of subscriptions where userId = ? and classNameId = ?.intcountByUserId(long userId) Deprecated.Returns the number of subscriptions where userId = ?.com.liferay.portal.kernel.model.Subscriptioncreate(long subscriptionId) Deprecated.Creates a new subscription with the primary key.voiddestroy()Deprecated.com.liferay.portal.kernel.model.SubscriptionfetchByC_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.SubscriptionfetchByC_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.SubscriptionfetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Deprecated.Returns the subscription where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.SubscriptionfetchByC_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 returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.SubscriptionfetchByG_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.SubscriptionfetchByG_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.SubscriptionfetchByPrimaryKey(long subscriptionId) Deprecated.Returns the subscription with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.SubscriptionfetchByU_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.SubscriptionfetchByU_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.SubscriptionfetchByUserId_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.SubscriptionfetchByUserId_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.SubscriptionfindByC_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.SubscriptionfindByC_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.SubscriptionfindByC_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 aNoSuchSubscriptionExceptionif 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.SubscriptionfindByG_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.SubscriptionfindByG_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.SubscriptionfindByPrimaryKey(long subscriptionId) Deprecated.Returns the subscription with the primary key or throws aNoSuchSubscriptionExceptionif it could not be found.com.liferay.portal.kernel.model.SubscriptionfindByPrimaryKey(Serializable primaryKey) Deprecated.Returns the subscription with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif 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.SubscriptionfindByU_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.SubscriptionfindByU_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.SubscriptionfindByUserId_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.SubscriptionfindByUserId_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.SubscriptiongetByC_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.SubscriptiongetByG_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.SubscriptiongetByU_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.SubscriptiongetByUserId_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.EntityCacheDeprecated.protected com.liferay.portal.kernel.dao.orm.FinderCacheDeprecated.protected StringDeprecated.protected StringDeprecated.Deprecated.com.liferay.portal.kernel.model.Subscriptionremove(long subscriptionId) Deprecated.Removes the subscription with the primary key from the database.com.liferay.portal.kernel.model.Subscriptionremove(Serializable primaryKey) Deprecated.Removes the subscription with the primary key from the database.voidDeprecated.Removes all the subscriptions from the database.voidremoveByC_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.SubscriptionremoveByC_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.voidremoveByG_U(long groupId, long userId) Deprecated.Removes all the subscriptions where groupId = ? and userId = ? from the database.voidremoveByU_C(long userId, long classNameId) Deprecated.Removes all the subscriptions where userId = ? and classNameId = ? from the database.voidremoveByUserId(long userId) Deprecated.Removes all the subscriptions where userId = ? from the database.protected com.liferay.portal.kernel.model.SubscriptionremoveImpl(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.com.liferay.portal.kernel.model.SubscriptionupdateImpl(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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
findByUserIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByUserIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByUserIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByUserIdin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByUserIdin 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:
countByUserIdin 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_Uin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByG_Uin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByG_Uin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByG_Uin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Uin 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_Uin 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_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByU_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByU_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByU_Cin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Cin 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_Cin 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_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_C_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_C_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_C_Cin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Cin 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_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_U_C_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_U_C_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_U_C_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findByC_U_C_Cin 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 aNoSuchSubscriptionExceptionif it could not be found.- Specified by:
findByC_U_C_Cin 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 returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_U_C_Cin 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
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_U_C_Cin 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
nullif 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_Cin 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_Cin 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_Cin 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:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence- Overrides:
cacheResultin 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:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence- Parameters:
subscriptions- the subscriptions
-
clearCache
public void clearCache()Deprecated.Clears the cache for all subscriptions.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>- Overrides:
clearCachein 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
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
clearCache
Deprecated.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
clearCache
Deprecated.- Specified by:
clearCachein 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:
createin 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:
removein 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:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>- Overrides:
removein 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:
removeImplin 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:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence- Overrides:
updateImplin 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.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>- Overrides:
findByPrimaryKeyin 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 aNoSuchSubscriptionExceptionif it could not be found.- Specified by:
findByPrimaryKeyin 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 returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence- Parameters:
subscriptionId- the primary key of the subscription- Returns:
- the subscription, or
nullif a subscription with the primary key could not be found
-
findAll
Deprecated.Returns all the subscriptions.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSubscriptionModelImpl.- Specified by:
findAllin 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:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence
-
countAll
public int countAll()Deprecated.Returns the number of subscriptions.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.SubscriptionPersistence- Returns:
- the number of subscriptions
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()Deprecated.- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
getPKDBName
Deprecated.- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
getSelectSQL
Deprecated.- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-
getTableColumnsMap
Deprecated.- Overrides:
getTableColumnsMapin 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:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Subscription>
-