001
014
015 package com.liferay.portlet.announcements.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.announcements.model.AnnouncementsDelivery;
020
021
027 public interface AnnouncementsDeliveryPersistence extends BasePersistence<AnnouncementsDelivery> {
028 public void cacheResult(
029 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDeliveries);
033
034 public com.liferay.portlet.announcements.model.AnnouncementsDelivery create(
035 long deliveryId);
036
037 public com.liferay.portlet.announcements.model.AnnouncementsDelivery remove(
038 long deliveryId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.announcements.NoSuchDeliveryException;
041
042 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateImpl(
043 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
044 boolean merge)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByPrimaryKey(
048 long deliveryId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.announcements.NoSuchDeliveryException;
051
052 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByPrimaryKey(
053 long deliveryId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
057 long userId) throws com.liferay.portal.kernel.exception.SystemException;
058
059 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
060 long userId, int start, int end)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
064 long userId, int start, int end,
065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
066 throws com.liferay.portal.kernel.exception.SystemException;
067
068 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByUserId_First(
069 long userId,
070 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071 throws com.liferay.portal.kernel.exception.SystemException,
072 com.liferay.portlet.announcements.NoSuchDeliveryException;
073
074 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByUserId_Last(
075 long userId,
076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077 throws com.liferay.portal.kernel.exception.SystemException,
078 com.liferay.portlet.announcements.NoSuchDeliveryException;
079
080 public com.liferay.portlet.announcements.model.AnnouncementsDelivery[] findByUserId_PrevAndNext(
081 long deliveryId, long userId,
082 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
083 throws com.liferay.portal.kernel.exception.SystemException,
084 com.liferay.portlet.announcements.NoSuchDeliveryException;
085
086 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByU_T(
087 long userId, java.lang.String type)
088 throws com.liferay.portal.kernel.exception.SystemException,
089 com.liferay.portlet.announcements.NoSuchDeliveryException;
090
091 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByU_T(
092 long userId, java.lang.String type)
093 throws com.liferay.portal.kernel.exception.SystemException;
094
095 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByU_T(
096 long userId, java.lang.String type, boolean retrieveFromCache)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll()
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll(
103 int start, int end)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll(
107 int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public void removeByUserId(long userId)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public void removeByU_T(long userId, java.lang.String type)
115 throws com.liferay.portal.kernel.exception.SystemException,
116 com.liferay.portlet.announcements.NoSuchDeliveryException;
117
118 public void removeAll()
119 throws com.liferay.portal.kernel.exception.SystemException;
120
121 public int countByUserId(long userId)
122 throws com.liferay.portal.kernel.exception.SystemException;
123
124 public int countByU_T(long userId, java.lang.String type)
125 throws com.liferay.portal.kernel.exception.SystemException;
126
127 public int countAll()
128 throws com.liferay.portal.kernel.exception.SystemException;
129 }