1
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.AssetCategoryProperty;
20
21
34 public interface AssetCategoryPropertyPersistence extends BasePersistence<AssetCategoryProperty> {
35 public void cacheResult(
36 com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> assetCategoryProperties);
40
41 public com.liferay.portlet.asset.model.AssetCategoryProperty create(
42 long categoryPropertyId);
43
44 public com.liferay.portlet.asset.model.AssetCategoryProperty remove(
45 long categoryPropertyId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
48
49 public com.liferay.portlet.asset.model.AssetCategoryProperty updateImpl(
50 com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.asset.model.AssetCategoryProperty findByPrimaryKey(
55 long categoryPropertyId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
58
59 public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByPrimaryKey(
60 long categoryPropertyId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(
64 long companyId)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(
68 long companyId, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCompanyId(
72 long companyId, 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.AssetCategoryProperty findByCompanyId_First(
77 long companyId,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
81
82 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_Last(
83 long companyId,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
87
88 public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCompanyId_PrevAndNext(
89 long categoryPropertyId, long companyId,
90 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91 throws com.liferay.portal.kernel.exception.SystemException,
92 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
93
94 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
95 long categoryId)
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
99 long categoryId, int start, int end)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
103 long categoryId, int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105 throws com.liferay.portal.kernel.exception.SystemException;
106
107 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_First(
108 long categoryId,
109 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
110 throws com.liferay.portal.kernel.exception.SystemException,
111 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
112
113 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_Last(
114 long categoryId,
115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
118
119 public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCategoryId_PrevAndNext(
120 long categoryPropertyId, long categoryId,
121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
124
125 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
126 long companyId, java.lang.String key)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
130 long companyId, java.lang.String key, int start, int end)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
134 long companyId, java.lang.String key, int start, int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_First(
139 long companyId, java.lang.String key,
140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141 throws com.liferay.portal.kernel.exception.SystemException,
142 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
143
144 public com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_Last(
145 long companyId, java.lang.String key,
146 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147 throws com.liferay.portal.kernel.exception.SystemException,
148 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
149
150 public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByC_K_PrevAndNext(
151 long categoryPropertyId, long companyId, java.lang.String key,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException,
154 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
155
156 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCA_K(
157 long categoryId, java.lang.String key)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
160
161 public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(
162 long categoryId, java.lang.String key)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(
166 long categoryId, java.lang.String key, boolean retrieveFromCache)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll()
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(
173 int start, int end)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(
177 int start, int end,
178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181 public void removeByCompanyId(long companyId)
182 throws com.liferay.portal.kernel.exception.SystemException;
183
184 public void removeByCategoryId(long categoryId)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187 public void removeByC_K(long companyId, java.lang.String key)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public void removeByCA_K(long categoryId, java.lang.String key)
191 throws com.liferay.portal.kernel.exception.SystemException,
192 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
193
194 public void removeAll()
195 throws com.liferay.portal.kernel.exception.SystemException;
196
197 public int countByCompanyId(long companyId)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public int countByCategoryId(long categoryId)
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public int countByC_K(long companyId, java.lang.String key)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206 public int countByCA_K(long categoryId, java.lang.String key)
207 throws com.liferay.portal.kernel.exception.SystemException;
208
209 public int countAll()
210 throws com.liferay.portal.kernel.exception.SystemException;
211 }