com.liferay.portal.service.persistence
Interface SubscriptionPersistence
- public interface SubscriptionPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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 |
countByUserId(long userId)
|
Subscription |
create(long subscriptionId)
|
Subscription |
fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
|
Subscription |
fetchByPrimaryKey(long subscriptionId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
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 |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
java.util.List |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int begin,
int end)
|
java.util.List |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int begin,
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 |
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 |
findByUserId(long userId)
|
java.util.List |
findByUserId(long userId,
int begin,
int end)
|
java.util.List |
findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
Subscription |
remove(long subscriptionId)
|
Subscription |
remove(Subscription subscription)
|
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 |
removeByUserId(long userId)
|
Subscription |
update(Subscription subscription)
|
Subscription |
update(Subscription subscription,
boolean merge)
|
Subscription |
updateImpl(Subscription subscription,
boolean merge)
|
create
public Subscription create(long subscriptionId)
remove
public Subscription remove(long subscriptionId)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
remove
public Subscription remove(Subscription subscription)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public Subscription update(Subscription subscription)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public Subscription update(Subscription subscription,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public Subscription updateImpl(Subscription subscription,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public Subscription findByPrimaryKey(long subscriptionId)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
fetchByPrimaryKey
public Subscription fetchByPrimaryKey(long subscriptionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List findByUserId(long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
public Subscription findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
findByUserId_Last
public Subscription findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
findByUserId_PrevAndNext
public Subscription[] findByUserId_PrevAndNext(long subscriptionId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
findByC_C_C
public java.util.List findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_C
public java.util.List findByC_C_C(long companyId,
long classNameId,
long classPK,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_C
public java.util.List findByC_C_C(long companyId,
long classNameId,
long classPK,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_C_First
public Subscription findByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
findByC_C_C_Last
public Subscription findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
findByC_C_C_PrevAndNext
public Subscription[] findByC_C_C_PrevAndNext(long subscriptionId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
findByC_U_C_C
public Subscription findByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
fetchByC_U_C_C
public Subscription fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
public void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C_C
public void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_U_C_C
public void removeByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchSubscriptionException
- Throws:
com.liferay.portal.SystemException
NoSuchSubscriptionException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
public int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C_C
public int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_U_C_C
public int countByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException