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