1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public interface JournalFeedPersistence {
32 public com.liferay.portlet.journal.model.JournalFeed create(long id);
33
34 public com.liferay.portlet.journal.model.JournalFeed remove(long id)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.journal.NoSuchFeedException;
37
38 public com.liferay.portlet.journal.model.JournalFeed remove(
39 com.liferay.portlet.journal.model.JournalFeed journalFeed)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.journal.model.JournalFeed update(
46 com.liferay.portlet.journal.model.JournalFeed journalFeed)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.journal.model.JournalFeed update(
63 com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.journal.model.JournalFeed updateImpl(
67 com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey(
71 long id)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.journal.NoSuchFeedException;
74
75 public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey(
76 long id) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
79 java.lang.String uuid) throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
82 java.lang.String uuid, int begin, int end)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
86 java.lang.String uuid, int begin, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.journal.model.JournalFeed findByUuid_First(
91 java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.journal.NoSuchFeedException;
95
96 public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last(
97 java.lang.String uuid,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.journal.NoSuchFeedException;
101
102 public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext(
103 long id, java.lang.String uuid,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.journal.NoSuchFeedException;
107
108 public com.liferay.portlet.journal.model.JournalFeed findByUUID_G(
109 java.lang.String uuid, long groupId)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.journal.NoSuchFeedException;
112
113 public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
114 java.lang.String uuid, long groupId)
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
118 long groupId) throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
121 long groupId, int begin, int end)
122 throws com.liferay.portal.SystemException;
123
124 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
125 long groupId, int begin, int end,
126 com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException;
128
129 public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
130 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.journal.NoSuchFeedException;
133
134 public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
135 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.journal.NoSuchFeedException;
138
139 public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
140 long id, long groupId,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.journal.NoSuchFeedException;
144
145 public com.liferay.portlet.journal.model.JournalFeed findByG_F(
146 long groupId, java.lang.String feedId)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.journal.NoSuchFeedException;
149
150 public com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
151 long groupId, java.lang.String feedId)
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findWithDynamicQuery(
155 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
156 throws com.liferay.portal.SystemException;
157
158 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findWithDynamicQuery(
159 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
160 int begin, int end) throws com.liferay.portal.SystemException;
161
162 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
163 throws com.liferay.portal.SystemException;
164
165 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
166 int begin, int end) throws com.liferay.portal.SystemException;
167
168 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
169 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException;
171
172 public void removeByUuid(java.lang.String uuid)
173 throws com.liferay.portal.SystemException;
174
175 public void removeByUUID_G(java.lang.String uuid, long groupId)
176 throws com.liferay.portal.SystemException,
177 com.liferay.portlet.journal.NoSuchFeedException;
178
179 public void removeByGroupId(long groupId)
180 throws com.liferay.portal.SystemException;
181
182 public void removeByG_F(long groupId, java.lang.String feedId)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.journal.NoSuchFeedException;
185
186 public void removeAll() throws com.liferay.portal.SystemException;
187
188 public int countByUuid(java.lang.String uuid)
189 throws com.liferay.portal.SystemException;
190
191 public int countByUUID_G(java.lang.String uuid, long groupId)
192 throws com.liferay.portal.SystemException;
193
194 public int countByGroupId(long groupId)
195 throws com.liferay.portal.SystemException;
196
197 public int countByG_F(long groupId, java.lang.String feedId)
198 throws com.liferay.portal.SystemException;
199
200 public int countAll() throws com.liferay.portal.SystemException;
201 }