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