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 obc)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_First(
77 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.kernel.exception.SystemException,
79 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
80
81 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCompanyId_Last(
82 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.kernel.exception.SystemException,
84 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
85
86 public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCompanyId_PrevAndNext(
87 long categoryPropertyId, long companyId,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.kernel.exception.SystemException,
90 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
91
92 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
93 long categoryId)
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
97 long categoryId, int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByCategoryId(
101 long categoryId, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_First(
106 long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.kernel.exception.SystemException,
108 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
109
110 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCategoryId_Last(
111 long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.kernel.exception.SystemException,
113 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
114
115 public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByCategoryId_PrevAndNext(
116 long categoryPropertyId, long categoryId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.kernel.exception.SystemException,
119 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
120
121 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
122 long companyId, java.lang.String key)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findByC_K(
126 long companyId, java.lang.String key, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_First(
135 long companyId, java.lang.String key,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.kernel.exception.SystemException,
138 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
139
140 public com.liferay.portlet.asset.model.AssetCategoryProperty findByC_K_Last(
141 long companyId, java.lang.String key,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.kernel.exception.SystemException,
144 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
145
146 public com.liferay.portlet.asset.model.AssetCategoryProperty[] findByC_K_PrevAndNext(
147 long categoryPropertyId, long companyId, java.lang.String key,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.kernel.exception.SystemException,
150 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
151
152 public com.liferay.portlet.asset.model.AssetCategoryProperty findByCA_K(
153 long categoryId, java.lang.String key)
154 throws com.liferay.portal.kernel.exception.SystemException,
155 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
156
157 public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(
158 long categoryId, java.lang.String key)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 public com.liferay.portlet.asset.model.AssetCategoryProperty fetchByCA_K(
162 long categoryId, java.lang.String key, boolean retrieveFromCache)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll()
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> findAll(
169 int start, int end)
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, com.liferay.portal.kernel.util.OrderByComparator obc)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public void removeByCompanyId(long companyId)
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public void removeByCategoryId(long categoryId)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public void removeByC_K(long companyId, java.lang.String key)
183 throws com.liferay.portal.kernel.exception.SystemException;
184
185 public void removeByCA_K(long categoryId, java.lang.String key)
186 throws com.liferay.portal.kernel.exception.SystemException,
187 com.liferay.portlet.asset.NoSuchCategoryPropertyException;
188
189 public void removeAll()
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public int countByCompanyId(long companyId)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public int countByCategoryId(long categoryId)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198 public int countByC_K(long companyId, java.lang.String key)
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public int countByCA_K(long categoryId, java.lang.String key)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public int countAll()
205 throws com.liferay.portal.kernel.exception.SystemException;
206 }