1
19
20 package com.liferay.portlet.announcements.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface AnnouncementsDeliveryPersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDeliveries);
36
37 public void clearCache();
38
39 public com.liferay.portlet.announcements.model.AnnouncementsDelivery create(
40 long deliveryId);
41
42 public com.liferay.portlet.announcements.model.AnnouncementsDelivery remove(
43 long deliveryId)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.announcements.NoSuchDeliveryException;
46
47 public com.liferay.portlet.announcements.model.AnnouncementsDelivery remove(
48 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
49 throws com.liferay.portal.SystemException;
50
51
54 public com.liferay.portlet.announcements.model.AnnouncementsDelivery update(
55 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
56 throws com.liferay.portal.SystemException;
57
58
71 public com.liferay.portlet.announcements.model.AnnouncementsDelivery update(
72 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
73 boolean merge) throws com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateImpl(
76 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
77 boolean merge) throws com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByPrimaryKey(
80 long deliveryId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.announcements.NoSuchDeliveryException;
83
84 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByPrimaryKey(
85 long deliveryId) throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
88 long userId) throws com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
91 long userId, int start, int end)
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
95 long userId, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByUserId_First(
100 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.announcements.NoSuchDeliveryException;
103
104 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByUserId_Last(
105 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.announcements.NoSuchDeliveryException;
108
109 public com.liferay.portlet.announcements.model.AnnouncementsDelivery[] findByUserId_PrevAndNext(
110 long deliveryId, long userId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.announcements.NoSuchDeliveryException;
114
115 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByU_T(
116 long userId, java.lang.String type)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.announcements.NoSuchDeliveryException;
119
120 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByU_T(
121 long userId, java.lang.String type)
122 throws com.liferay.portal.SystemException;
123
124 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByU_T(
125 long userId, java.lang.String type, boolean retrieveFromCache)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<Object> findWithDynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
130 throws com.liferay.portal.SystemException;
131
132 public java.util.List<Object> findWithDynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end) throws com.liferay.portal.SystemException;
135
136 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll()
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll(
140 int start, int end) throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll(
143 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException;
145
146 public void removeByUserId(long userId)
147 throws com.liferay.portal.SystemException;
148
149 public void removeByU_T(long userId, java.lang.String type)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.announcements.NoSuchDeliveryException;
152
153 public void removeAll() throws com.liferay.portal.SystemException;
154
155 public int countByUserId(long userId)
156 throws com.liferay.portal.SystemException;
157
158 public int countByU_T(long userId, java.lang.String type)
159 throws com.liferay.portal.SystemException;
160
161 public int countAll() throws com.liferay.portal.SystemException;
162 }