|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SubscriptionPersistence
| 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<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 |
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)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
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)
|
void |
unregisterListener(ModelListener listener)
|
Subscription |
update(Subscription subscription)
Deprecated. Use update(Subscription subscription, boolean merge). |
Subscription |
update(Subscription subscription,
boolean merge)
Add, update, or merge, the entity. |
Subscription |
updateImpl(Subscription subscription,
boolean merge)
|
| Method Detail |
|---|
Subscription create(long subscriptionId)
Subscription remove(long subscriptionId)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
Subscription remove(Subscription subscription)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Subscription update(Subscription subscription)
throws com.liferay.portal.SystemException
update(Subscription subscription, boolean merge).
com.liferay.portal.SystemException
Subscription update(Subscription subscription,
boolean merge)
throws com.liferay.portal.SystemException
subscription - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when subscription is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
Subscription updateImpl(Subscription subscription,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription findByPrimaryKey(long subscriptionId)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
Subscription fetchByPrimaryKey(long subscriptionId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findByUserId(long userId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription[] findByUserId_PrevAndNext(long subscriptionId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription findByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription findByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
Subscription fetchByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUserId(long userId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws NoSuchSubscriptionException,
com.liferay.portal.SystemException
NoSuchSubscriptionException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId(long userId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_U_C_C(long companyId,
long userId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||