com.liferay.portlet.announcements.service.persistence
Interface AnnouncementsDeliveryPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AnnouncementsDeliveryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByU_T(long userId,
java.lang.String type)
|
int |
countByUserId(long userId)
|
AnnouncementsDelivery |
create(long deliveryId)
|
AnnouncementsDelivery |
fetchByPrimaryKey(long deliveryId)
|
AnnouncementsDelivery |
fetchByU_T(long userId,
java.lang.String type)
|
java.util.List<AnnouncementsDelivery> |
findAll()
|
java.util.List<AnnouncementsDelivery> |
findAll(int start,
int end)
|
java.util.List<AnnouncementsDelivery> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsDelivery |
findByPrimaryKey(long deliveryId)
|
AnnouncementsDelivery |
findByU_T(long userId,
java.lang.String type)
|
AnnouncementsDelivery |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsDelivery |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
AnnouncementsDelivery[] |
findByUserId_PrevAndNext(long deliveryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<AnnouncementsDelivery> |
findByUserId(long userId)
|
java.util.List<AnnouncementsDelivery> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<AnnouncementsDelivery> |
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)
|
AnnouncementsDelivery |
remove(AnnouncementsDelivery announcementsDelivery)
|
AnnouncementsDelivery |
remove(long deliveryId)
|
void |
removeAll()
|
void |
removeByU_T(long userId,
java.lang.String type)
|
void |
removeByUserId(long userId)
|
AnnouncementsDelivery |
update(AnnouncementsDelivery announcementsDelivery)
Deprecated. Use update(AnnouncementsDelivery announcementsDelivery, boolean merge) . |
AnnouncementsDelivery |
update(AnnouncementsDelivery announcementsDelivery,
boolean merge)
Add, update, or merge, the entity. |
AnnouncementsDelivery |
updateImpl(AnnouncementsDelivery announcementsDelivery,
boolean merge)
|
create
AnnouncementsDelivery create(long deliveryId)
remove
AnnouncementsDelivery remove(long deliveryId)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
remove
AnnouncementsDelivery remove(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
AnnouncementsDelivery update(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(AnnouncementsDelivery announcementsDelivery, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
AnnouncementsDelivery update(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
announcementsDelivery
- 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 announcementsDelivery is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
AnnouncementsDelivery updateImpl(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery findByPrimaryKey(long deliveryId)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
fetchByPrimaryKey
AnnouncementsDelivery fetchByPrimaryKey(long deliveryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
findByUserId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
findByUserId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery[] findByUserId_PrevAndNext(long deliveryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
findByU_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery findByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
fetchByU_T
AnnouncementsDelivery fetchByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@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
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@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
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU_T
void removeByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException,
NoSuchDeliveryException
- Throws:
com.liferay.portal.SystemException
NoSuchDeliveryException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByU_T(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException