com.liferay.portal.service.persistence
Interface SubscriptionPersistence
- All Superinterfaces:
- BasePersistence<Subscription>
public interface SubscriptionPersistence
- extends BasePersistence<Subscription>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
SubscriptionPersistenceImpl
,
SubscriptionUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<Subscription> subscriptions)
|
void |
cacheResult(Subscription subscription)
|
int |
countAll()
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
|
int |
countByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
|
int |
countByU_C(long userId,
long classNameId)
|
int |
countByUserId(long userId)
|
Subscription |
create(long subscriptionId)
|
Subscription |
fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
|
Subscription |
fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
Subscription |
fetchByPrimaryKey(long subscriptionId)
|
java.util.List<Subscription> |
findAll()
|
java.util.List<Subscription> |
findAll(int start,
int end)
|
java.util.List<Subscription> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
findByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription[] |
findByC_C_C_PrevAndNext(long subscriptionId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Subscription> |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
java.util.List<Subscription> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end)
|
java.util.List<Subscription> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
findByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
|
Subscription |
findByPrimaryKey(long subscriptionId)
|
Subscription |
findByU_C_First(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
findByU_C_Last(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription[] |
findByU_C_PrevAndNext(long subscriptionId,
long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Subscription> |
findByU_C(long userId,
long classNameId)
|
java.util.List<Subscription> |
findByU_C(long userId,
long classNameId,
int start,
int end)
|
java.util.List<Subscription> |
findByU_C(long userId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription[] |
findByUserId_PrevAndNext(long subscriptionId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Subscription> |
findByUserId(long userId)
|
java.util.List<Subscription> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<Subscription> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Subscription |
remove(long subscriptionId)
|
void |
removeAll()
|
void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
|
void |
removeByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
|
void |
removeByU_C(long userId,
long classNameId)
|
void |
removeByUserId(long userId)
|
Subscription |
updateImpl(Subscription subscription,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update |
cacheResult
void cacheResult(Subscription subscription)
cacheResult
void cacheResult(java.util.List<Subscription> subscriptions)
create
Subscription create(long subscriptionId)
remove
Subscription remove(long subscriptionId)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
updateImpl
Subscription updateImpl(Subscription subscription,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
Subscription findByPrimaryKey(long subscriptionId)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
Subscription fetchByPrimaryKey(long subscriptionId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
java.util.List<Subscription> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
java.util.List<Subscription> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
java.util.List<Subscription> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId_First
Subscription findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByUserId_Last
Subscription findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByUserId_PrevAndNext
Subscription[] findByUserId_PrevAndNext(long subscriptionId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByU_C
java.util.List<Subscription> findByU_C(long userId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByU_C
java.util.List<Subscription> findByU_C(long userId,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByU_C
java.util.List<Subscription> findByU_C(long userId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByU_C_First
Subscription findByU_C_First(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByU_C_Last
Subscription findByU_C_Last(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByU_C_PrevAndNext
Subscription[] findByU_C_PrevAndNext(long subscriptionId,
long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByC_C_C
java.util.List<Subscription> findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C_C
java.util.List<Subscription> findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C_C
java.util.List<Subscription> findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C_C_First
Subscription findByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByC_C_C_Last
Subscription findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByC_C_C_PrevAndNext
Subscription[] findByC_C_C_PrevAndNext(long subscriptionId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
findByC_U_C_C
Subscription findByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
fetchByC_U_C_C
Subscription fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByC_U_C_C
Subscription fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Subscription> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Subscription> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Subscription> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByUserId
void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByU_C
void removeByU_C(long userId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_C_C
void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_U_C_C
void removeByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws NoSuchSubscriptionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchSubscriptionException
com.liferay.portal.kernel.exception.SystemException
removeAll
void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUserId
int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByU_C
int countByU_C(long userId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_C_C
int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_U_C_C
int countByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException