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