001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.model.LayoutSetPrototype; 020 021 /** 022 * The persistence interface for the layout set prototype service. 023 * 024 * <p> 025 * Caching information and settings can be found in <code>portal.properties</code> 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see LayoutSetPrototypePersistenceImpl 030 * @see LayoutSetPrototypeUtil 031 * @generated 032 */ 033 @ProviderType 034 public interface LayoutSetPrototypePersistence extends BasePersistence<LayoutSetPrototype> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * Never modify or reference this interface directly. Always use {@link LayoutSetPrototypeUtil} to access the layout set prototype persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 039 */ 040 041 /** 042 * Returns all the layout set prototypes where uuid = ?. 043 * 044 * @param uuid the uuid 045 * @return the matching layout set prototypes 046 */ 047 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid( 048 java.lang.String uuid); 049 050 /** 051 * Returns a range of all the layout set prototypes where uuid = ?. 052 * 053 * <p> 054 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 055 * </p> 056 * 057 * @param uuid the uuid 058 * @param start the lower bound of the range of layout set prototypes 059 * @param end the upper bound of the range of layout set prototypes (not inclusive) 060 * @return the range of matching layout set prototypes 061 */ 062 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid( 063 java.lang.String uuid, int start, int end); 064 065 /** 066 * Returns an ordered range of all the layout set prototypes where uuid = ?. 067 * 068 * <p> 069 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 070 * </p> 071 * 072 * @param uuid the uuid 073 * @param start the lower bound of the range of layout set prototypes 074 * @param end the upper bound of the range of layout set prototypes (not inclusive) 075 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 076 * @return the ordered range of matching layout set prototypes 077 */ 078 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid( 079 java.lang.String uuid, int start, int end, 080 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 081 082 /** 083 * Returns the first layout set prototype in the ordered set where uuid = ?. 084 * 085 * @param uuid the uuid 086 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 087 * @return the first matching layout set prototype 088 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 089 */ 090 public com.liferay.portal.model.LayoutSetPrototype findByUuid_First( 091 java.lang.String uuid, 092 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 093 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 094 095 /** 096 * Returns the first layout set prototype in the ordered set where uuid = ?. 097 * 098 * @param uuid the uuid 099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 100 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 101 */ 102 public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_First( 103 java.lang.String uuid, 104 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 105 106 /** 107 * Returns the last layout set prototype in the ordered set where uuid = ?. 108 * 109 * @param uuid the uuid 110 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 111 * @return the last matching layout set prototype 112 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 113 */ 114 public com.liferay.portal.model.LayoutSetPrototype findByUuid_Last( 115 java.lang.String uuid, 116 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 117 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 118 119 /** 120 * Returns the last layout set prototype in the ordered set where uuid = ?. 121 * 122 * @param uuid the uuid 123 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 124 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 125 */ 126 public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_Last( 127 java.lang.String uuid, 128 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 129 130 /** 131 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?. 132 * 133 * @param layoutSetPrototypeId the primary key of the current layout set prototype 134 * @param uuid the uuid 135 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 136 * @return the previous, current, and next layout set prototype 137 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 138 */ 139 public com.liferay.portal.model.LayoutSetPrototype[] findByUuid_PrevAndNext( 140 long layoutSetPrototypeId, java.lang.String uuid, 141 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 142 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 143 144 /** 145 * Returns all the layout set prototypes that the user has permission to view where uuid = ?. 146 * 147 * @param uuid the uuid 148 * @return the matching layout set prototypes that the user has permission to view 149 */ 150 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid( 151 java.lang.String uuid); 152 153 /** 154 * Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?. 155 * 156 * <p> 157 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 158 * </p> 159 * 160 * @param uuid the uuid 161 * @param start the lower bound of the range of layout set prototypes 162 * @param end the upper bound of the range of layout set prototypes (not inclusive) 163 * @return the range of matching layout set prototypes that the user has permission to view 164 */ 165 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid( 166 java.lang.String uuid, int start, int end); 167 168 /** 169 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?. 170 * 171 * <p> 172 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 173 * </p> 174 * 175 * @param uuid the uuid 176 * @param start the lower bound of the range of layout set prototypes 177 * @param end the upper bound of the range of layout set prototypes (not inclusive) 178 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 179 * @return the ordered range of matching layout set prototypes that the user has permission to view 180 */ 181 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid( 182 java.lang.String uuid, int start, int end, 183 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 184 185 /** 186 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?. 187 * 188 * @param layoutSetPrototypeId the primary key of the current layout set prototype 189 * @param uuid the uuid 190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 191 * @return the previous, current, and next layout set prototype 192 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 193 */ 194 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByUuid_PrevAndNext( 195 long layoutSetPrototypeId, java.lang.String uuid, 196 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 197 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 198 199 /** 200 * Removes all the layout set prototypes where uuid = ? from the database. 201 * 202 * @param uuid the uuid 203 */ 204 public void removeByUuid(java.lang.String uuid); 205 206 /** 207 * Returns the number of layout set prototypes where uuid = ?. 208 * 209 * @param uuid the uuid 210 * @return the number of matching layout set prototypes 211 */ 212 public int countByUuid(java.lang.String uuid); 213 214 /** 215 * Returns the number of layout set prototypes that the user has permission to view where uuid = ?. 216 * 217 * @param uuid the uuid 218 * @return the number of matching layout set prototypes that the user has permission to view 219 */ 220 public int filterCountByUuid(java.lang.String uuid); 221 222 /** 223 * Returns all the layout set prototypes where uuid = ? and companyId = ?. 224 * 225 * @param uuid the uuid 226 * @param companyId the company ID 227 * @return the matching layout set prototypes 228 */ 229 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid_C( 230 java.lang.String uuid, long companyId); 231 232 /** 233 * Returns a range of all the layout set prototypes where uuid = ? and companyId = ?. 234 * 235 * <p> 236 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 237 * </p> 238 * 239 * @param uuid the uuid 240 * @param companyId the company ID 241 * @param start the lower bound of the range of layout set prototypes 242 * @param end the upper bound of the range of layout set prototypes (not inclusive) 243 * @return the range of matching layout set prototypes 244 */ 245 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid_C( 246 java.lang.String uuid, long companyId, int start, int end); 247 248 /** 249 * Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?. 250 * 251 * <p> 252 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 253 * </p> 254 * 255 * @param uuid the uuid 256 * @param companyId the company ID 257 * @param start the lower bound of the range of layout set prototypes 258 * @param end the upper bound of the range of layout set prototypes (not inclusive) 259 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 260 * @return the ordered range of matching layout set prototypes 261 */ 262 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid_C( 263 java.lang.String uuid, long companyId, int start, int end, 264 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 265 266 /** 267 * Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?. 268 * 269 * @param uuid the uuid 270 * @param companyId the company ID 271 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 272 * @return the first matching layout set prototype 273 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 274 */ 275 public com.liferay.portal.model.LayoutSetPrototype findByUuid_C_First( 276 java.lang.String uuid, long companyId, 277 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 278 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 279 280 /** 281 * Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?. 282 * 283 * @param uuid the uuid 284 * @param companyId the company ID 285 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 286 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 287 */ 288 public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_C_First( 289 java.lang.String uuid, long companyId, 290 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 291 292 /** 293 * Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?. 294 * 295 * @param uuid the uuid 296 * @param companyId the company ID 297 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 298 * @return the last matching layout set prototype 299 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 300 */ 301 public com.liferay.portal.model.LayoutSetPrototype findByUuid_C_Last( 302 java.lang.String uuid, long companyId, 303 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 304 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 305 306 /** 307 * Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?. 308 * 309 * @param uuid the uuid 310 * @param companyId the company ID 311 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 312 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 313 */ 314 public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_C_Last( 315 java.lang.String uuid, long companyId, 316 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 317 318 /** 319 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?. 320 * 321 * @param layoutSetPrototypeId the primary key of the current layout set prototype 322 * @param uuid the uuid 323 * @param companyId the company ID 324 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 325 * @return the previous, current, and next layout set prototype 326 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 327 */ 328 public com.liferay.portal.model.LayoutSetPrototype[] findByUuid_C_PrevAndNext( 329 long layoutSetPrototypeId, java.lang.String uuid, long companyId, 330 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 331 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 332 333 /** 334 * Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?. 335 * 336 * @param uuid the uuid 337 * @param companyId the company ID 338 * @return the matching layout set prototypes that the user has permission to view 339 */ 340 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid_C( 341 java.lang.String uuid, long companyId); 342 343 /** 344 * Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?. 345 * 346 * <p> 347 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 348 * </p> 349 * 350 * @param uuid the uuid 351 * @param companyId the company ID 352 * @param start the lower bound of the range of layout set prototypes 353 * @param end the upper bound of the range of layout set prototypes (not inclusive) 354 * @return the range of matching layout set prototypes that the user has permission to view 355 */ 356 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid_C( 357 java.lang.String uuid, long companyId, int start, int end); 358 359 /** 360 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?. 361 * 362 * <p> 363 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 364 * </p> 365 * 366 * @param uuid the uuid 367 * @param companyId the company ID 368 * @param start the lower bound of the range of layout set prototypes 369 * @param end the upper bound of the range of layout set prototypes (not inclusive) 370 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 371 * @return the ordered range of matching layout set prototypes that the user has permission to view 372 */ 373 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid_C( 374 java.lang.String uuid, long companyId, int start, int end, 375 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 376 377 /** 378 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?. 379 * 380 * @param layoutSetPrototypeId the primary key of the current layout set prototype 381 * @param uuid the uuid 382 * @param companyId the company ID 383 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 384 * @return the previous, current, and next layout set prototype 385 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 386 */ 387 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext( 388 long layoutSetPrototypeId, java.lang.String uuid, long companyId, 389 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 390 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 391 392 /** 393 * Removes all the layout set prototypes where uuid = ? and companyId = ? from the database. 394 * 395 * @param uuid the uuid 396 * @param companyId the company ID 397 */ 398 public void removeByUuid_C(java.lang.String uuid, long companyId); 399 400 /** 401 * Returns the number of layout set prototypes where uuid = ? and companyId = ?. 402 * 403 * @param uuid the uuid 404 * @param companyId the company ID 405 * @return the number of matching layout set prototypes 406 */ 407 public int countByUuid_C(java.lang.String uuid, long companyId); 408 409 /** 410 * Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?. 411 * 412 * @param uuid the uuid 413 * @param companyId the company ID 414 * @return the number of matching layout set prototypes that the user has permission to view 415 */ 416 public int filterCountByUuid_C(java.lang.String uuid, long companyId); 417 418 /** 419 * Returns all the layout set prototypes where companyId = ?. 420 * 421 * @param companyId the company ID 422 * @return the matching layout set prototypes 423 */ 424 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId( 425 long companyId); 426 427 /** 428 * Returns a range of all the layout set prototypes where companyId = ?. 429 * 430 * <p> 431 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 432 * </p> 433 * 434 * @param companyId the company ID 435 * @param start the lower bound of the range of layout set prototypes 436 * @param end the upper bound of the range of layout set prototypes (not inclusive) 437 * @return the range of matching layout set prototypes 438 */ 439 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId( 440 long companyId, int start, int end); 441 442 /** 443 * Returns an ordered range of all the layout set prototypes where companyId = ?. 444 * 445 * <p> 446 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 447 * </p> 448 * 449 * @param companyId the company ID 450 * @param start the lower bound of the range of layout set prototypes 451 * @param end the upper bound of the range of layout set prototypes (not inclusive) 452 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 453 * @return the ordered range of matching layout set prototypes 454 */ 455 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId( 456 long companyId, int start, int end, 457 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 458 459 /** 460 * Returns the first layout set prototype in the ordered set where companyId = ?. 461 * 462 * @param companyId the company ID 463 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 464 * @return the first matching layout set prototype 465 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 466 */ 467 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_First( 468 long companyId, 469 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 470 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 471 472 /** 473 * Returns the first layout set prototype in the ordered set where companyId = ?. 474 * 475 * @param companyId the company ID 476 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 477 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 478 */ 479 public com.liferay.portal.model.LayoutSetPrototype fetchByCompanyId_First( 480 long companyId, 481 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 482 483 /** 484 * Returns the last layout set prototype in the ordered set where companyId = ?. 485 * 486 * @param companyId the company ID 487 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 488 * @return the last matching layout set prototype 489 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 490 */ 491 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_Last( 492 long companyId, 493 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 494 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 495 496 /** 497 * Returns the last layout set prototype in the ordered set where companyId = ?. 498 * 499 * @param companyId the company ID 500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 501 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 502 */ 503 public com.liferay.portal.model.LayoutSetPrototype fetchByCompanyId_Last( 504 long companyId, 505 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 506 507 /** 508 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?. 509 * 510 * @param layoutSetPrototypeId the primary key of the current layout set prototype 511 * @param companyId the company ID 512 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 513 * @return the previous, current, and next layout set prototype 514 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 515 */ 516 public com.liferay.portal.model.LayoutSetPrototype[] findByCompanyId_PrevAndNext( 517 long layoutSetPrototypeId, long companyId, 518 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 519 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 520 521 /** 522 * Returns all the layout set prototypes that the user has permission to view where companyId = ?. 523 * 524 * @param companyId the company ID 525 * @return the matching layout set prototypes that the user has permission to view 526 */ 527 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId( 528 long companyId); 529 530 /** 531 * Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?. 532 * 533 * <p> 534 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 535 * </p> 536 * 537 * @param companyId the company ID 538 * @param start the lower bound of the range of layout set prototypes 539 * @param end the upper bound of the range of layout set prototypes (not inclusive) 540 * @return the range of matching layout set prototypes that the user has permission to view 541 */ 542 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId( 543 long companyId, int start, int end); 544 545 /** 546 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?. 547 * 548 * <p> 549 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 550 * </p> 551 * 552 * @param companyId the company ID 553 * @param start the lower bound of the range of layout set prototypes 554 * @param end the upper bound of the range of layout set prototypes (not inclusive) 555 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 556 * @return the ordered range of matching layout set prototypes that the user has permission to view 557 */ 558 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId( 559 long companyId, int start, int end, 560 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 561 562 /** 563 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?. 564 * 565 * @param layoutSetPrototypeId the primary key of the current layout set prototype 566 * @param companyId the company ID 567 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 568 * @return the previous, current, and next layout set prototype 569 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 570 */ 571 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext( 572 long layoutSetPrototypeId, long companyId, 573 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 574 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 575 576 /** 577 * Removes all the layout set prototypes where companyId = ? from the database. 578 * 579 * @param companyId the company ID 580 */ 581 public void removeByCompanyId(long companyId); 582 583 /** 584 * Returns the number of layout set prototypes where companyId = ?. 585 * 586 * @param companyId the company ID 587 * @return the number of matching layout set prototypes 588 */ 589 public int countByCompanyId(long companyId); 590 591 /** 592 * Returns the number of layout set prototypes that the user has permission to view where companyId = ?. 593 * 594 * @param companyId the company ID 595 * @return the number of matching layout set prototypes that the user has permission to view 596 */ 597 public int filterCountByCompanyId(long companyId); 598 599 /** 600 * Returns all the layout set prototypes where companyId = ? and active = ?. 601 * 602 * @param companyId the company ID 603 * @param active the active 604 * @return the matching layout set prototypes 605 */ 606 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A( 607 long companyId, boolean active); 608 609 /** 610 * Returns a range of all the layout set prototypes where companyId = ? and active = ?. 611 * 612 * <p> 613 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 614 * </p> 615 * 616 * @param companyId the company ID 617 * @param active the active 618 * @param start the lower bound of the range of layout set prototypes 619 * @param end the upper bound of the range of layout set prototypes (not inclusive) 620 * @return the range of matching layout set prototypes 621 */ 622 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A( 623 long companyId, boolean active, int start, int end); 624 625 /** 626 * Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?. 627 * 628 * <p> 629 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 630 * </p> 631 * 632 * @param companyId the company ID 633 * @param active the active 634 * @param start the lower bound of the range of layout set prototypes 635 * @param end the upper bound of the range of layout set prototypes (not inclusive) 636 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 637 * @return the ordered range of matching layout set prototypes 638 */ 639 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A( 640 long companyId, boolean active, int start, int end, 641 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 642 643 /** 644 * Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. 645 * 646 * @param companyId the company ID 647 * @param active the active 648 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 649 * @return the first matching layout set prototype 650 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 651 */ 652 public com.liferay.portal.model.LayoutSetPrototype findByC_A_First( 653 long companyId, boolean active, 654 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 655 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 656 657 /** 658 * Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. 659 * 660 * @param companyId the company ID 661 * @param active the active 662 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 663 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 664 */ 665 public com.liferay.portal.model.LayoutSetPrototype fetchByC_A_First( 666 long companyId, boolean active, 667 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 668 669 /** 670 * Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. 671 * 672 * @param companyId the company ID 673 * @param active the active 674 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 675 * @return the last matching layout set prototype 676 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 677 */ 678 public com.liferay.portal.model.LayoutSetPrototype findByC_A_Last( 679 long companyId, boolean active, 680 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 681 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 682 683 /** 684 * Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. 685 * 686 * @param companyId the company ID 687 * @param active the active 688 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 689 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 690 */ 691 public com.liferay.portal.model.LayoutSetPrototype fetchByC_A_Last( 692 long companyId, boolean active, 693 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 694 695 /** 696 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?. 697 * 698 * @param layoutSetPrototypeId the primary key of the current layout set prototype 699 * @param companyId the company ID 700 * @param active the active 701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 702 * @return the previous, current, and next layout set prototype 703 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 704 */ 705 public com.liferay.portal.model.LayoutSetPrototype[] findByC_A_PrevAndNext( 706 long layoutSetPrototypeId, long companyId, boolean active, 707 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 708 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 709 710 /** 711 * Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?. 712 * 713 * @param companyId the company ID 714 * @param active the active 715 * @return the matching layout set prototypes that the user has permission to view 716 */ 717 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A( 718 long companyId, boolean active); 719 720 /** 721 * Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?. 722 * 723 * <p> 724 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 725 * </p> 726 * 727 * @param companyId the company ID 728 * @param active the active 729 * @param start the lower bound of the range of layout set prototypes 730 * @param end the upper bound of the range of layout set prototypes (not inclusive) 731 * @return the range of matching layout set prototypes that the user has permission to view 732 */ 733 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A( 734 long companyId, boolean active, int start, int end); 735 736 /** 737 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?. 738 * 739 * <p> 740 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 741 * </p> 742 * 743 * @param companyId the company ID 744 * @param active the active 745 * @param start the lower bound of the range of layout set prototypes 746 * @param end the upper bound of the range of layout set prototypes (not inclusive) 747 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 748 * @return the ordered range of matching layout set prototypes that the user has permission to view 749 */ 750 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A( 751 long companyId, boolean active, int start, int end, 752 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 753 754 /** 755 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?. 756 * 757 * @param layoutSetPrototypeId the primary key of the current layout set prototype 758 * @param companyId the company ID 759 * @param active the active 760 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 761 * @return the previous, current, and next layout set prototype 762 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 763 */ 764 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByC_A_PrevAndNext( 765 long layoutSetPrototypeId, long companyId, boolean active, 766 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator) 767 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 768 769 /** 770 * Removes all the layout set prototypes where companyId = ? and active = ? from the database. 771 * 772 * @param companyId the company ID 773 * @param active the active 774 */ 775 public void removeByC_A(long companyId, boolean active); 776 777 /** 778 * Returns the number of layout set prototypes where companyId = ? and active = ?. 779 * 780 * @param companyId the company ID 781 * @param active the active 782 * @return the number of matching layout set prototypes 783 */ 784 public int countByC_A(long companyId, boolean active); 785 786 /** 787 * Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?. 788 * 789 * @param companyId the company ID 790 * @param active the active 791 * @return the number of matching layout set prototypes that the user has permission to view 792 */ 793 public int filterCountByC_A(long companyId, boolean active); 794 795 /** 796 * Caches the layout set prototype in the entity cache if it is enabled. 797 * 798 * @param layoutSetPrototype the layout set prototype 799 */ 800 public void cacheResult( 801 com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype); 802 803 /** 804 * Caches the layout set prototypes in the entity cache if it is enabled. 805 * 806 * @param layoutSetPrototypes the layout set prototypes 807 */ 808 public void cacheResult( 809 java.util.List<com.liferay.portal.model.LayoutSetPrototype> layoutSetPrototypes); 810 811 /** 812 * Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database. 813 * 814 * @param layoutSetPrototypeId the primary key for the new layout set prototype 815 * @return the new layout set prototype 816 */ 817 public com.liferay.portal.model.LayoutSetPrototype create( 818 long layoutSetPrototypeId); 819 820 /** 821 * Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners. 822 * 823 * @param layoutSetPrototypeId the primary key of the layout set prototype 824 * @return the layout set prototype that was removed 825 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 826 */ 827 public com.liferay.portal.model.LayoutSetPrototype remove( 828 long layoutSetPrototypeId) 829 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 830 831 public com.liferay.portal.model.LayoutSetPrototype updateImpl( 832 com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype); 833 834 /** 835 * Returns the layout set prototype with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutSetPrototypeException} if it could not be found. 836 * 837 * @param layoutSetPrototypeId the primary key of the layout set prototype 838 * @return the layout set prototype 839 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 840 */ 841 public com.liferay.portal.model.LayoutSetPrototype findByPrimaryKey( 842 long layoutSetPrototypeId) 843 throws com.liferay.portal.NoSuchLayoutSetPrototypeException; 844 845 /** 846 * Returns the layout set prototype with the primary key or returns <code>null</code> if it could not be found. 847 * 848 * @param layoutSetPrototypeId the primary key of the layout set prototype 849 * @return the layout set prototype, or <code>null</code> if a layout set prototype with the primary key could not be found 850 */ 851 public com.liferay.portal.model.LayoutSetPrototype fetchByPrimaryKey( 852 long layoutSetPrototypeId); 853 854 @Override 855 public java.util.Map<java.io.Serializable, com.liferay.portal.model.LayoutSetPrototype> fetchByPrimaryKeys( 856 java.util.Set<java.io.Serializable> primaryKeys); 857 858 /** 859 * Returns all the layout set prototypes. 860 * 861 * @return the layout set prototypes 862 */ 863 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(); 864 865 /** 866 * Returns a range of all the layout set prototypes. 867 * 868 * <p> 869 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 870 * </p> 871 * 872 * @param start the lower bound of the range of layout set prototypes 873 * @param end the upper bound of the range of layout set prototypes (not inclusive) 874 * @return the range of layout set prototypes 875 */ 876 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll( 877 int start, int end); 878 879 /** 880 * Returns an ordered range of all the layout set prototypes. 881 * 882 * <p> 883 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutSetPrototypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 884 * </p> 885 * 886 * @param start the lower bound of the range of layout set prototypes 887 * @param end the upper bound of the range of layout set prototypes (not inclusive) 888 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 889 * @return the ordered range of layout set prototypes 890 */ 891 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll( 892 int start, int end, 893 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutSetPrototype> orderByComparator); 894 895 /** 896 * Removes all the layout set prototypes from the database. 897 */ 898 public void removeAll(); 899 900 /** 901 * Returns the number of layout set prototypes. 902 * 903 * @return the number of layout set prototypes 904 */ 905 public int countAll(); 906 }