001
014
015 package com.liferay.portlet.asset.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.asset.model.AssetVocabulary;
020
021
027 public interface AssetVocabularyPersistence extends BasePersistence<AssetVocabulary> {
028 public void cacheResult(
029 com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> assetVocabularies);
033
034 public com.liferay.portlet.asset.model.AssetVocabulary create(
035 long vocabularyId);
036
037 public com.liferay.portlet.asset.model.AssetVocabulary remove(
038 long vocabularyId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.asset.NoSuchVocabularyException;
041
042 public com.liferay.portlet.asset.model.AssetVocabulary updateImpl(
043 com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary,
044 boolean merge)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.asset.model.AssetVocabulary findByPrimaryKey(
048 long vocabularyId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.asset.NoSuchVocabularyException;
051
052 public com.liferay.portlet.asset.model.AssetVocabulary fetchByPrimaryKey(
053 long vocabularyId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByUuid(
057 java.lang.String uuid)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByUuid(
061 java.lang.String uuid, int start, int end)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByUuid(
065 java.lang.String uuid, int start, int end,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.asset.model.AssetVocabulary findByUuid_First(
070 java.lang.String uuid,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException,
073 com.liferay.portlet.asset.NoSuchVocabularyException;
074
075 public com.liferay.portlet.asset.model.AssetVocabulary findByUuid_Last(
076 java.lang.String uuid,
077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078 throws com.liferay.portal.kernel.exception.SystemException,
079 com.liferay.portlet.asset.NoSuchVocabularyException;
080
081 public com.liferay.portlet.asset.model.AssetVocabulary[] findByUuid_PrevAndNext(
082 long vocabularyId, java.lang.String uuid,
083 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084 throws com.liferay.portal.kernel.exception.SystemException,
085 com.liferay.portlet.asset.NoSuchVocabularyException;
086
087 public com.liferay.portlet.asset.model.AssetVocabulary findByUUID_G(
088 java.lang.String uuid, long groupId)
089 throws com.liferay.portal.kernel.exception.SystemException,
090 com.liferay.portlet.asset.NoSuchVocabularyException;
091
092 public com.liferay.portlet.asset.model.AssetVocabulary fetchByUUID_G(
093 java.lang.String uuid, long groupId)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public com.liferay.portlet.asset.model.AssetVocabulary fetchByUUID_G(
097 java.lang.String uuid, long groupId, boolean retrieveFromCache)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByGroupId(
101 long groupId)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByGroupId(
105 long groupId, int start, int end)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByGroupId(
109 long groupId, int start, int end,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public com.liferay.portlet.asset.model.AssetVocabulary findByGroupId_First(
114 long groupId,
115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.asset.NoSuchVocabularyException;
118
119 public com.liferay.portlet.asset.model.AssetVocabulary findByGroupId_Last(
120 long groupId,
121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.asset.NoSuchVocabularyException;
124
125 public com.liferay.portlet.asset.model.AssetVocabulary[] findByGroupId_PrevAndNext(
126 long vocabularyId, long groupId,
127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128 throws com.liferay.portal.kernel.exception.SystemException,
129 com.liferay.portlet.asset.NoSuchVocabularyException;
130
131 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterFindByGroupId(
132 long groupId)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterFindByGroupId(
136 long groupId, int start, int end)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterFindByGroupId(
140 long groupId, int start, int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByCompanyId(
145 long companyId)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByCompanyId(
149 long companyId, int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByCompanyId(
153 long companyId, int start, int end,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public com.liferay.portlet.asset.model.AssetVocabulary findByCompanyId_First(
158 long companyId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException,
161 com.liferay.portlet.asset.NoSuchVocabularyException;
162
163 public com.liferay.portlet.asset.model.AssetVocabulary findByCompanyId_Last(
164 long companyId,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.kernel.exception.SystemException,
167 com.liferay.portlet.asset.NoSuchVocabularyException;
168
169 public com.liferay.portlet.asset.model.AssetVocabulary[] findByCompanyId_PrevAndNext(
170 long vocabularyId, long companyId,
171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172 throws com.liferay.portal.kernel.exception.SystemException,
173 com.liferay.portlet.asset.NoSuchVocabularyException;
174
175 public com.liferay.portlet.asset.model.AssetVocabulary findByG_N(
176 long groupId, java.lang.String name)
177 throws com.liferay.portal.kernel.exception.SystemException,
178 com.liferay.portlet.asset.NoSuchVocabularyException;
179
180 public com.liferay.portlet.asset.model.AssetVocabulary fetchByG_N(
181 long groupId, java.lang.String name)
182 throws com.liferay.portal.kernel.exception.SystemException;
183
184 public com.liferay.portlet.asset.model.AssetVocabulary fetchByG_N(
185 long groupId, java.lang.String name, boolean retrieveFromCache)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findAll()
189 throws com.liferay.portal.kernel.exception.SystemException;
190
191 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findAll(
192 int start, int end)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findAll(
196 int start, int end,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public void removeByUuid(java.lang.String uuid)
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public void removeByUUID_G(java.lang.String uuid, long groupId)
204 throws com.liferay.portal.kernel.exception.SystemException,
205 com.liferay.portlet.asset.NoSuchVocabularyException;
206
207 public void removeByGroupId(long groupId)
208 throws com.liferay.portal.kernel.exception.SystemException;
209
210 public void removeByCompanyId(long companyId)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213 public void removeByG_N(long groupId, java.lang.String name)
214 throws com.liferay.portal.kernel.exception.SystemException,
215 com.liferay.portlet.asset.NoSuchVocabularyException;
216
217 public void removeAll()
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220 public int countByUuid(java.lang.String uuid)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public int countByUUID_G(java.lang.String uuid, long groupId)
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public int countByGroupId(long groupId)
227 throws com.liferay.portal.kernel.exception.SystemException;
228
229 public int filterCountByGroupId(long groupId)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public int countByCompanyId(long companyId)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235 public int countByG_N(long groupId, java.lang.String name)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public int filterCountByG_N(long groupId, java.lang.String name)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public int countAll()
242 throws com.liferay.portal.kernel.exception.SystemException;
243 }