1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29 import com.liferay.portal.service.persistence.BasePersistence;
30
31
37 @Transactional(rollbackFor = {
38 PortalException.class, SystemException.class})
39 public interface TagsPropertyPersistence extends BasePersistence {
40 public com.liferay.portlet.tags.model.TagsProperty create(long propertyId);
41
42 public com.liferay.portlet.tags.model.TagsProperty remove(long propertyId)
43 throws com.liferay.portal.SystemException,
44 com.liferay.portlet.tags.NoSuchPropertyException;
45
46 public com.liferay.portlet.tags.model.TagsProperty remove(
47 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
48 throws com.liferay.portal.SystemException;
49
50
53 public com.liferay.portlet.tags.model.TagsProperty update(
54 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
55 throws com.liferay.portal.SystemException;
56
57
70 public com.liferay.portlet.tags.model.TagsProperty update(
71 com.liferay.portlet.tags.model.TagsProperty tagsProperty, boolean merge)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tags.model.TagsProperty updateImpl(
75 com.liferay.portlet.tags.model.TagsProperty tagsProperty, boolean merge)
76 throws com.liferay.portal.SystemException;
77
78 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
79 public com.liferay.portlet.tags.model.TagsProperty findByPrimaryKey(
80 long propertyId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.tags.NoSuchPropertyException;
83
84 public com.liferay.portlet.tags.model.TagsProperty fetchByPrimaryKey(
85 long propertyId) throws com.liferay.portal.SystemException;
86
87 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
88 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(
89 long companyId) throws com.liferay.portal.SystemException;
90
91 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
92 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(
93 long companyId, int start, int end)
94 throws com.liferay.portal.SystemException;
95
96 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
97 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(
98 long companyId, int start, int end,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException;
101
102 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
103 public com.liferay.portlet.tags.model.TagsProperty findByCompanyId_First(
104 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.tags.NoSuchPropertyException;
107
108 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
109 public com.liferay.portlet.tags.model.TagsProperty findByCompanyId_Last(
110 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.tags.NoSuchPropertyException;
113
114 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
115 public com.liferay.portlet.tags.model.TagsProperty[] findByCompanyId_PrevAndNext(
116 long propertyId, long companyId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.tags.NoSuchPropertyException;
120
121 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
122 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(
123 long entryId) throws com.liferay.portal.SystemException;
124
125 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
126 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(
127 long entryId, int start, int end)
128 throws com.liferay.portal.SystemException;
129
130 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
131 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(
132 long entryId, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException;
135
136 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
137 public com.liferay.portlet.tags.model.TagsProperty findByEntryId_First(
138 long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portlet.tags.NoSuchPropertyException;
141
142 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
143 public com.liferay.portlet.tags.model.TagsProperty findByEntryId_Last(
144 long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.tags.NoSuchPropertyException;
147
148 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
149 public com.liferay.portlet.tags.model.TagsProperty[] findByEntryId_PrevAndNext(
150 long propertyId, long entryId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.tags.NoSuchPropertyException;
154
155 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
156 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(
157 long companyId, java.lang.String key)
158 throws com.liferay.portal.SystemException;
159
160 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(
162 long companyId, java.lang.String key, int start, int end)
163 throws com.liferay.portal.SystemException;
164
165 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
166 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(
167 long companyId, java.lang.String key, int start, int end,
168 com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.SystemException;
170
171 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
172 public com.liferay.portlet.tags.model.TagsProperty findByC_K_First(
173 long companyId, java.lang.String key,
174 com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.tags.NoSuchPropertyException;
177
178 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
179 public com.liferay.portlet.tags.model.TagsProperty findByC_K_Last(
180 long companyId, java.lang.String key,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portlet.tags.NoSuchPropertyException;
184
185 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
186 public com.liferay.portlet.tags.model.TagsProperty[] findByC_K_PrevAndNext(
187 long propertyId, long companyId, java.lang.String key,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.tags.NoSuchPropertyException;
191
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public com.liferay.portlet.tags.model.TagsProperty findByE_K(long entryId,
194 java.lang.String key)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.tags.NoSuchPropertyException;
197
198 public com.liferay.portlet.tags.model.TagsProperty fetchByE_K(
199 long entryId, java.lang.String key)
200 throws com.liferay.portal.SystemException;
201
202 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203 public java.util.List<Object> findWithDynamicQuery(
204 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
205 throws com.liferay.portal.SystemException;
206
207 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208 public java.util.List<Object> findWithDynamicQuery(
209 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
210 int end) throws com.liferay.portal.SystemException;
211
212 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
213 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll()
214 throws com.liferay.portal.SystemException;
215
216 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
217 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll(
218 int start, int end) throws com.liferay.portal.SystemException;
219
220 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll(
222 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
223 throws com.liferay.portal.SystemException;
224
225 public void removeByCompanyId(long companyId)
226 throws com.liferay.portal.SystemException;
227
228 public void removeByEntryId(long entryId)
229 throws com.liferay.portal.SystemException;
230
231 public void removeByC_K(long companyId, java.lang.String key)
232 throws com.liferay.portal.SystemException;
233
234 public void removeByE_K(long entryId, java.lang.String key)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portlet.tags.NoSuchPropertyException;
237
238 public void removeAll() throws com.liferay.portal.SystemException;
239
240 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
241 public int countByCompanyId(long companyId)
242 throws com.liferay.portal.SystemException;
243
244 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
245 public int countByEntryId(long entryId)
246 throws com.liferay.portal.SystemException;
247
248 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249 public int countByC_K(long companyId, java.lang.String key)
250 throws com.liferay.portal.SystemException;
251
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public int countByE_K(long entryId, java.lang.String key)
254 throws com.liferay.portal.SystemException;
255
256 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257 public int countAll() throws com.liferay.portal.SystemException;
258 }