1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.asset.model.AssetVocabulary;
20  
21  /**
22   * <a href="AssetVocabularyPersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       AssetVocabularyPersistenceImpl
31   * @see       AssetVocabularyUtil
32   * @generated
33   */
34  public interface AssetVocabularyPersistence extends BasePersistence<AssetVocabulary> {
35      public void cacheResult(
36          com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> assetVocabularies);
40  
41      public com.liferay.portlet.asset.model.AssetVocabulary create(
42          long vocabularyId);
43  
44      public com.liferay.portlet.asset.model.AssetVocabulary remove(
45          long vocabularyId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.asset.NoSuchVocabularyException;
48  
49      public com.liferay.portlet.asset.model.AssetVocabulary updateImpl(
50          com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.asset.model.AssetVocabulary findByPrimaryKey(
55          long vocabularyId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.asset.NoSuchVocabularyException;
58  
59      public com.liferay.portlet.asset.model.AssetVocabulary fetchByPrimaryKey(
60          long vocabularyId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByUuid(
64          java.lang.String uuid)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByUuid(
68          java.lang.String uuid, int start, int end)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByUuid(
72          java.lang.String uuid, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portlet.asset.model.AssetVocabulary findByUuid_First(
77          java.lang.String uuid,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.asset.NoSuchVocabularyException;
81  
82      public com.liferay.portlet.asset.model.AssetVocabulary findByUuid_Last(
83          java.lang.String uuid,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.asset.NoSuchVocabularyException;
87  
88      public com.liferay.portlet.asset.model.AssetVocabulary[] findByUuid_PrevAndNext(
89          long vocabularyId, java.lang.String uuid,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.asset.NoSuchVocabularyException;
93  
94      public com.liferay.portlet.asset.model.AssetVocabulary findByUUID_G(
95          java.lang.String uuid, long groupId)
96          throws com.liferay.portal.kernel.exception.SystemException,
97              com.liferay.portlet.asset.NoSuchVocabularyException;
98  
99      public com.liferay.portlet.asset.model.AssetVocabulary fetchByUUID_G(
100         java.lang.String uuid, long groupId)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public com.liferay.portlet.asset.model.AssetVocabulary fetchByUUID_G(
104         java.lang.String uuid, long groupId, boolean retrieveFromCache)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByGroupId(
108         long groupId)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByGroupId(
112         long groupId, int start, int end)
113         throws com.liferay.portal.kernel.exception.SystemException;
114 
115     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByGroupId(
116         long groupId, int start, int end,
117         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118         throws com.liferay.portal.kernel.exception.SystemException;
119 
120     public com.liferay.portlet.asset.model.AssetVocabulary findByGroupId_First(
121         long groupId,
122         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123         throws com.liferay.portal.kernel.exception.SystemException,
124             com.liferay.portlet.asset.NoSuchVocabularyException;
125 
126     public com.liferay.portlet.asset.model.AssetVocabulary findByGroupId_Last(
127         long groupId,
128         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129         throws com.liferay.portal.kernel.exception.SystemException,
130             com.liferay.portlet.asset.NoSuchVocabularyException;
131 
132     public com.liferay.portlet.asset.model.AssetVocabulary[] findByGroupId_PrevAndNext(
133         long vocabularyId, long groupId,
134         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135         throws com.liferay.portal.kernel.exception.SystemException,
136             com.liferay.portlet.asset.NoSuchVocabularyException;
137 
138     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterFindByGroupId(
139         long groupId)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterFindByGroupId(
143         long groupId, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> filterFindByGroupId(
147         long groupId, int start, int end,
148         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByCompanyId(
152         long companyId)
153         throws com.liferay.portal.kernel.exception.SystemException;
154 
155     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByCompanyId(
156         long companyId, int start, int end)
157         throws com.liferay.portal.kernel.exception.SystemException;
158 
159     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findByCompanyId(
160         long companyId, int start, int end,
161         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162         throws com.liferay.portal.kernel.exception.SystemException;
163 
164     public com.liferay.portlet.asset.model.AssetVocabulary findByCompanyId_First(
165         long companyId,
166         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167         throws com.liferay.portal.kernel.exception.SystemException,
168             com.liferay.portlet.asset.NoSuchVocabularyException;
169 
170     public com.liferay.portlet.asset.model.AssetVocabulary findByCompanyId_Last(
171         long companyId,
172         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173         throws com.liferay.portal.kernel.exception.SystemException,
174             com.liferay.portlet.asset.NoSuchVocabularyException;
175 
176     public com.liferay.portlet.asset.model.AssetVocabulary[] findByCompanyId_PrevAndNext(
177         long vocabularyId, long companyId,
178         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179         throws com.liferay.portal.kernel.exception.SystemException,
180             com.liferay.portlet.asset.NoSuchVocabularyException;
181 
182     public com.liferay.portlet.asset.model.AssetVocabulary findByG_N(
183         long groupId, java.lang.String name)
184         throws com.liferay.portal.kernel.exception.SystemException,
185             com.liferay.portlet.asset.NoSuchVocabularyException;
186 
187     public com.liferay.portlet.asset.model.AssetVocabulary fetchByG_N(
188         long groupId, java.lang.String name)
189         throws com.liferay.portal.kernel.exception.SystemException;
190 
191     public com.liferay.portlet.asset.model.AssetVocabulary fetchByG_N(
192         long groupId, java.lang.String name, boolean retrieveFromCache)
193         throws com.liferay.portal.kernel.exception.SystemException;
194 
195     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findAll()
196         throws com.liferay.portal.kernel.exception.SystemException;
197 
198     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findAll(
199         int start, int end)
200         throws com.liferay.portal.kernel.exception.SystemException;
201 
202     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> findAll(
203         int start, int end,
204         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205         throws com.liferay.portal.kernel.exception.SystemException;
206 
207     public void removeByUuid(java.lang.String uuid)
208         throws com.liferay.portal.kernel.exception.SystemException;
209 
210     public void removeByUUID_G(java.lang.String uuid, long groupId)
211         throws com.liferay.portal.kernel.exception.SystemException,
212             com.liferay.portlet.asset.NoSuchVocabularyException;
213 
214     public void removeByGroupId(long groupId)
215         throws com.liferay.portal.kernel.exception.SystemException;
216 
217     public void removeByCompanyId(long companyId)
218         throws com.liferay.portal.kernel.exception.SystemException;
219 
220     public void removeByG_N(long groupId, java.lang.String name)
221         throws com.liferay.portal.kernel.exception.SystemException,
222             com.liferay.portlet.asset.NoSuchVocabularyException;
223 
224     public void removeAll()
225         throws com.liferay.portal.kernel.exception.SystemException;
226 
227     public int countByUuid(java.lang.String uuid)
228         throws com.liferay.portal.kernel.exception.SystemException;
229 
230     public int countByUUID_G(java.lang.String uuid, long groupId)
231         throws com.liferay.portal.kernel.exception.SystemException;
232 
233     public int countByGroupId(long groupId)
234         throws com.liferay.portal.kernel.exception.SystemException;
235 
236     public int filterCountByGroupId(long groupId)
237         throws com.liferay.portal.kernel.exception.SystemException;
238 
239     public int countByCompanyId(long companyId)
240         throws com.liferay.portal.kernel.exception.SystemException;
241 
242     public int countByG_N(long groupId, java.lang.String name)
243         throws com.liferay.portal.kernel.exception.SystemException;
244 
245     public int filterCountByG_N(long groupId, java.lang.String name)
246         throws com.liferay.portal.kernel.exception.SystemException;
247 
248     public int countAll()
249         throws com.liferay.portal.kernel.exception.SystemException;
250 }