001 /** 002 * Copyright (c) 2000-2013 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 com.liferay.portal.model.LayoutSetBranch; 018 019 /** 020 * The persistence interface for the layout set branch service. 021 * 022 * <p> 023 * Caching information and settings can be found in <code>portal.properties</code> 024 * </p> 025 * 026 * @author Brian Wing Shun Chan 027 * @see LayoutSetBranchPersistenceImpl 028 * @see LayoutSetBranchUtil 029 * @generated 030 */ 031 public interface LayoutSetBranchPersistence extends BasePersistence<LayoutSetBranch> { 032 /* 033 * NOTE FOR DEVELOPERS: 034 * 035 * Never modify or reference this interface directly. Always use {@link LayoutSetBranchUtil} to access the layout set branch persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 036 */ 037 038 /** 039 * Returns all the layout set branchs where groupId = ?. 040 * 041 * @param groupId the group ID 042 * @return the matching layout set branchs 043 * @throws SystemException if a system exception occurred 044 */ 045 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByGroupId( 046 long groupId) 047 throws com.liferay.portal.kernel.exception.SystemException; 048 049 /** 050 * Returns a range of all the layout set branchs where groupId = ?. 051 * 052 * <p> 053 * 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.LayoutSetBranchModelImpl}. 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. 054 * </p> 055 * 056 * @param groupId the group ID 057 * @param start the lower bound of the range of layout set branchs 058 * @param end the upper bound of the range of layout set branchs (not inclusive) 059 * @return the range of matching layout set branchs 060 * @throws SystemException if a system exception occurred 061 */ 062 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByGroupId( 063 long groupId, int start, int end) 064 throws com.liferay.portal.kernel.exception.SystemException; 065 066 /** 067 * Returns an ordered range of all the layout set branchs where groupId = ?. 068 * 069 * <p> 070 * 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.LayoutSetBranchModelImpl}. 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. 071 * </p> 072 * 073 * @param groupId the group ID 074 * @param start the lower bound of the range of layout set branchs 075 * @param end the upper bound of the range of layout set branchs (not inclusive) 076 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 077 * @return the ordered range of matching layout set branchs 078 * @throws SystemException if a system exception occurred 079 */ 080 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByGroupId( 081 long groupId, int start, int end, 082 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 083 throws com.liferay.portal.kernel.exception.SystemException; 084 085 /** 086 * Returns the first layout set branch in the ordered set where groupId = ?. 087 * 088 * @param groupId the group ID 089 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 090 * @return the first matching layout set branch 091 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 092 * @throws SystemException if a system exception occurred 093 */ 094 public com.liferay.portal.model.LayoutSetBranch findByGroupId_First( 095 long groupId, 096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 097 throws com.liferay.portal.NoSuchLayoutSetBranchException, 098 com.liferay.portal.kernel.exception.SystemException; 099 100 /** 101 * Returns the first layout set branch in the ordered set where groupId = ?. 102 * 103 * @param groupId the group ID 104 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 105 * @return the first matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 106 * @throws SystemException if a system exception occurred 107 */ 108 public com.liferay.portal.model.LayoutSetBranch fetchByGroupId_First( 109 long groupId, 110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 111 throws com.liferay.portal.kernel.exception.SystemException; 112 113 /** 114 * Returns the last layout set branch in the ordered set where groupId = ?. 115 * 116 * @param groupId the group ID 117 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 118 * @return the last matching layout set branch 119 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 120 * @throws SystemException if a system exception occurred 121 */ 122 public com.liferay.portal.model.LayoutSetBranch findByGroupId_Last( 123 long groupId, 124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 125 throws com.liferay.portal.NoSuchLayoutSetBranchException, 126 com.liferay.portal.kernel.exception.SystemException; 127 128 /** 129 * Returns the last layout set branch in the ordered set where groupId = ?. 130 * 131 * @param groupId the group ID 132 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 133 * @return the last matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 134 * @throws SystemException if a system exception occurred 135 */ 136 public com.liferay.portal.model.LayoutSetBranch fetchByGroupId_Last( 137 long groupId, 138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 139 throws com.liferay.portal.kernel.exception.SystemException; 140 141 /** 142 * Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ?. 143 * 144 * @param layoutSetBranchId the primary key of the current layout set branch 145 * @param groupId the group ID 146 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 147 * @return the previous, current, and next layout set branch 148 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 149 * @throws SystemException if a system exception occurred 150 */ 151 public com.liferay.portal.model.LayoutSetBranch[] findByGroupId_PrevAndNext( 152 long layoutSetBranchId, long groupId, 153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 154 throws com.liferay.portal.NoSuchLayoutSetBranchException, 155 com.liferay.portal.kernel.exception.SystemException; 156 157 /** 158 * Returns all the layout set branchs that the user has permission to view where groupId = ?. 159 * 160 * @param groupId the group ID 161 * @return the matching layout set branchs that the user has permission to view 162 * @throws SystemException if a system exception occurred 163 */ 164 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByGroupId( 165 long groupId) 166 throws com.liferay.portal.kernel.exception.SystemException; 167 168 /** 169 * Returns a range of all the layout set branchs that the user has permission to view where groupId = ?. 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.LayoutSetBranchModelImpl}. 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 groupId the group ID 176 * @param start the lower bound of the range of layout set branchs 177 * @param end the upper bound of the range of layout set branchs (not inclusive) 178 * @return the range of matching layout set branchs that the user has permission to view 179 * @throws SystemException if a system exception occurred 180 */ 181 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByGroupId( 182 long groupId, int start, int end) 183 throws com.liferay.portal.kernel.exception.SystemException; 184 185 /** 186 * Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ?. 187 * 188 * <p> 189 * 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.LayoutSetBranchModelImpl}. 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. 190 * </p> 191 * 192 * @param groupId the group ID 193 * @param start the lower bound of the range of layout set branchs 194 * @param end the upper bound of the range of layout set branchs (not inclusive) 195 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 196 * @return the ordered range of matching layout set branchs that the user has permission to view 197 * @throws SystemException if a system exception occurred 198 */ 199 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByGroupId( 200 long groupId, int start, int end, 201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 202 throws com.liferay.portal.kernel.exception.SystemException; 203 204 /** 205 * Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ?. 206 * 207 * @param layoutSetBranchId the primary key of the current layout set branch 208 * @param groupId the group ID 209 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 210 * @return the previous, current, and next layout set branch 211 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 212 * @throws SystemException if a system exception occurred 213 */ 214 public com.liferay.portal.model.LayoutSetBranch[] filterFindByGroupId_PrevAndNext( 215 long layoutSetBranchId, long groupId, 216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 217 throws com.liferay.portal.NoSuchLayoutSetBranchException, 218 com.liferay.portal.kernel.exception.SystemException; 219 220 /** 221 * Removes all the layout set branchs where groupId = ? from the database. 222 * 223 * @param groupId the group ID 224 * @throws SystemException if a system exception occurred 225 */ 226 public void removeByGroupId(long groupId) 227 throws com.liferay.portal.kernel.exception.SystemException; 228 229 /** 230 * Returns the number of layout set branchs where groupId = ?. 231 * 232 * @param groupId the group ID 233 * @return the number of matching layout set branchs 234 * @throws SystemException if a system exception occurred 235 */ 236 public int countByGroupId(long groupId) 237 throws com.liferay.portal.kernel.exception.SystemException; 238 239 /** 240 * Returns the number of layout set branchs that the user has permission to view where groupId = ?. 241 * 242 * @param groupId the group ID 243 * @return the number of matching layout set branchs that the user has permission to view 244 * @throws SystemException if a system exception occurred 245 */ 246 public int filterCountByGroupId(long groupId) 247 throws com.liferay.portal.kernel.exception.SystemException; 248 249 /** 250 * Returns all the layout set branchs where groupId = ? and privateLayout = ?. 251 * 252 * @param groupId the group ID 253 * @param privateLayout the private layout 254 * @return the matching layout set branchs 255 * @throws SystemException if a system exception occurred 256 */ 257 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P( 258 long groupId, boolean privateLayout) 259 throws com.liferay.portal.kernel.exception.SystemException; 260 261 /** 262 * Returns a range of all the layout set branchs where groupId = ? and privateLayout = ?. 263 * 264 * <p> 265 * 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.LayoutSetBranchModelImpl}. 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. 266 * </p> 267 * 268 * @param groupId the group ID 269 * @param privateLayout the private layout 270 * @param start the lower bound of the range of layout set branchs 271 * @param end the upper bound of the range of layout set branchs (not inclusive) 272 * @return the range of matching layout set branchs 273 * @throws SystemException if a system exception occurred 274 */ 275 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P( 276 long groupId, boolean privateLayout, int start, int end) 277 throws com.liferay.portal.kernel.exception.SystemException; 278 279 /** 280 * Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ?. 281 * 282 * <p> 283 * 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.LayoutSetBranchModelImpl}. 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. 284 * </p> 285 * 286 * @param groupId the group ID 287 * @param privateLayout the private layout 288 * @param start the lower bound of the range of layout set branchs 289 * @param end the upper bound of the range of layout set branchs (not inclusive) 290 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 291 * @return the ordered range of matching layout set branchs 292 * @throws SystemException if a system exception occurred 293 */ 294 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P( 295 long groupId, boolean privateLayout, int start, int end, 296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 297 throws com.liferay.portal.kernel.exception.SystemException; 298 299 /** 300 * Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?. 301 * 302 * @param groupId the group ID 303 * @param privateLayout the private layout 304 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 305 * @return the first matching layout set branch 306 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 307 * @throws SystemException if a system exception occurred 308 */ 309 public com.liferay.portal.model.LayoutSetBranch findByG_P_First( 310 long groupId, boolean privateLayout, 311 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 312 throws com.liferay.portal.NoSuchLayoutSetBranchException, 313 com.liferay.portal.kernel.exception.SystemException; 314 315 /** 316 * Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?. 317 * 318 * @param groupId the group ID 319 * @param privateLayout the private layout 320 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 321 * @return the first matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 322 * @throws SystemException if a system exception occurred 323 */ 324 public com.liferay.portal.model.LayoutSetBranch fetchByG_P_First( 325 long groupId, boolean privateLayout, 326 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 327 throws com.liferay.portal.kernel.exception.SystemException; 328 329 /** 330 * Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?. 331 * 332 * @param groupId the group ID 333 * @param privateLayout the private layout 334 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 335 * @return the last matching layout set branch 336 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 337 * @throws SystemException if a system exception occurred 338 */ 339 public com.liferay.portal.model.LayoutSetBranch findByG_P_Last( 340 long groupId, boolean privateLayout, 341 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 342 throws com.liferay.portal.NoSuchLayoutSetBranchException, 343 com.liferay.portal.kernel.exception.SystemException; 344 345 /** 346 * Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?. 347 * 348 * @param groupId the group ID 349 * @param privateLayout the private layout 350 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 351 * @return the last matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 352 * @throws SystemException if a system exception occurred 353 */ 354 public com.liferay.portal.model.LayoutSetBranch fetchByG_P_Last( 355 long groupId, boolean privateLayout, 356 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 357 throws com.liferay.portal.kernel.exception.SystemException; 358 359 /** 360 * Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ?. 361 * 362 * @param layoutSetBranchId the primary key of the current layout set branch 363 * @param groupId the group ID 364 * @param privateLayout the private layout 365 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 366 * @return the previous, current, and next layout set branch 367 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 368 * @throws SystemException if a system exception occurred 369 */ 370 public com.liferay.portal.model.LayoutSetBranch[] findByG_P_PrevAndNext( 371 long layoutSetBranchId, long groupId, boolean privateLayout, 372 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 373 throws com.liferay.portal.NoSuchLayoutSetBranchException, 374 com.liferay.portal.kernel.exception.SystemException; 375 376 /** 377 * Returns all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?. 378 * 379 * @param groupId the group ID 380 * @param privateLayout the private layout 381 * @return the matching layout set branchs that the user has permission to view 382 * @throws SystemException if a system exception occurred 383 */ 384 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P( 385 long groupId, boolean privateLayout) 386 throws com.liferay.portal.kernel.exception.SystemException; 387 388 /** 389 * Returns a range of all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?. 390 * 391 * <p> 392 * 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.LayoutSetBranchModelImpl}. 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. 393 * </p> 394 * 395 * @param groupId the group ID 396 * @param privateLayout the private layout 397 * @param start the lower bound of the range of layout set branchs 398 * @param end the upper bound of the range of layout set branchs (not inclusive) 399 * @return the range of matching layout set branchs that the user has permission to view 400 * @throws SystemException if a system exception occurred 401 */ 402 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P( 403 long groupId, boolean privateLayout, int start, int end) 404 throws com.liferay.portal.kernel.exception.SystemException; 405 406 /** 407 * Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ? and privateLayout = ?. 408 * 409 * <p> 410 * 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.LayoutSetBranchModelImpl}. 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. 411 * </p> 412 * 413 * @param groupId the group ID 414 * @param privateLayout the private layout 415 * @param start the lower bound of the range of layout set branchs 416 * @param end the upper bound of the range of layout set branchs (not inclusive) 417 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 418 * @return the ordered range of matching layout set branchs that the user has permission to view 419 * @throws SystemException if a system exception occurred 420 */ 421 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P( 422 long groupId, boolean privateLayout, int start, int end, 423 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 424 throws com.liferay.portal.kernel.exception.SystemException; 425 426 /** 427 * Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?. 428 * 429 * @param layoutSetBranchId the primary key of the current layout set branch 430 * @param groupId the group ID 431 * @param privateLayout the private layout 432 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 433 * @return the previous, current, and next layout set branch 434 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 435 * @throws SystemException if a system exception occurred 436 */ 437 public com.liferay.portal.model.LayoutSetBranch[] filterFindByG_P_PrevAndNext( 438 long layoutSetBranchId, long groupId, boolean privateLayout, 439 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 440 throws com.liferay.portal.NoSuchLayoutSetBranchException, 441 com.liferay.portal.kernel.exception.SystemException; 442 443 /** 444 * Removes all the layout set branchs where groupId = ? and privateLayout = ? from the database. 445 * 446 * @param groupId the group ID 447 * @param privateLayout the private layout 448 * @throws SystemException if a system exception occurred 449 */ 450 public void removeByG_P(long groupId, boolean privateLayout) 451 throws com.liferay.portal.kernel.exception.SystemException; 452 453 /** 454 * Returns the number of layout set branchs where groupId = ? and privateLayout = ?. 455 * 456 * @param groupId the group ID 457 * @param privateLayout the private layout 458 * @return the number of matching layout set branchs 459 * @throws SystemException if a system exception occurred 460 */ 461 public int countByG_P(long groupId, boolean privateLayout) 462 throws com.liferay.portal.kernel.exception.SystemException; 463 464 /** 465 * Returns the number of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?. 466 * 467 * @param groupId the group ID 468 * @param privateLayout the private layout 469 * @return the number of matching layout set branchs that the user has permission to view 470 * @throws SystemException if a system exception occurred 471 */ 472 public int filterCountByG_P(long groupId, boolean privateLayout) 473 throws com.liferay.portal.kernel.exception.SystemException; 474 475 /** 476 * Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or throws a {@link com.liferay.portal.NoSuchLayoutSetBranchException} if it could not be found. 477 * 478 * @param groupId the group ID 479 * @param privateLayout the private layout 480 * @param name the name 481 * @return the matching layout set branch 482 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 483 * @throws SystemException if a system exception occurred 484 */ 485 public com.liferay.portal.model.LayoutSetBranch findByG_P_N(long groupId, 486 boolean privateLayout, java.lang.String name) 487 throws com.liferay.portal.NoSuchLayoutSetBranchException, 488 com.liferay.portal.kernel.exception.SystemException; 489 490 /** 491 * Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 492 * 493 * @param groupId the group ID 494 * @param privateLayout the private layout 495 * @param name the name 496 * @return the matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 497 * @throws SystemException if a system exception occurred 498 */ 499 public com.liferay.portal.model.LayoutSetBranch fetchByG_P_N(long groupId, 500 boolean privateLayout, java.lang.String name) 501 throws com.liferay.portal.kernel.exception.SystemException; 502 503 /** 504 * Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 505 * 506 * @param groupId the group ID 507 * @param privateLayout the private layout 508 * @param name the name 509 * @param retrieveFromCache whether to use the finder cache 510 * @return the matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 511 * @throws SystemException if a system exception occurred 512 */ 513 public com.liferay.portal.model.LayoutSetBranch fetchByG_P_N(long groupId, 514 boolean privateLayout, java.lang.String name, boolean retrieveFromCache) 515 throws com.liferay.portal.kernel.exception.SystemException; 516 517 /** 518 * Removes the layout set branch where groupId = ? and privateLayout = ? and name = ? from the database. 519 * 520 * @param groupId the group ID 521 * @param privateLayout the private layout 522 * @param name the name 523 * @return the layout set branch that was removed 524 * @throws SystemException if a system exception occurred 525 */ 526 public com.liferay.portal.model.LayoutSetBranch removeByG_P_N( 527 long groupId, boolean privateLayout, java.lang.String name) 528 throws com.liferay.portal.NoSuchLayoutSetBranchException, 529 com.liferay.portal.kernel.exception.SystemException; 530 531 /** 532 * Returns the number of layout set branchs where groupId = ? and privateLayout = ? and name = ?. 533 * 534 * @param groupId the group ID 535 * @param privateLayout the private layout 536 * @param name the name 537 * @return the number of matching layout set branchs 538 * @throws SystemException if a system exception occurred 539 */ 540 public int countByG_P_N(long groupId, boolean privateLayout, 541 java.lang.String name) 542 throws com.liferay.portal.kernel.exception.SystemException; 543 544 /** 545 * Returns all the layout set branchs where groupId = ? and privateLayout = ? and master = ?. 546 * 547 * @param groupId the group ID 548 * @param privateLayout the private layout 549 * @param master the master 550 * @return the matching layout set branchs 551 * @throws SystemException if a system exception occurred 552 */ 553 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P_M( 554 long groupId, boolean privateLayout, boolean master) 555 throws com.liferay.portal.kernel.exception.SystemException; 556 557 /** 558 * Returns a range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?. 559 * 560 * <p> 561 * 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.LayoutSetBranchModelImpl}. 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. 562 * </p> 563 * 564 * @param groupId the group ID 565 * @param privateLayout the private layout 566 * @param master the master 567 * @param start the lower bound of the range of layout set branchs 568 * @param end the upper bound of the range of layout set branchs (not inclusive) 569 * @return the range of matching layout set branchs 570 * @throws SystemException if a system exception occurred 571 */ 572 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P_M( 573 long groupId, boolean privateLayout, boolean master, int start, int end) 574 throws com.liferay.portal.kernel.exception.SystemException; 575 576 /** 577 * Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?. 578 * 579 * <p> 580 * 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.LayoutSetBranchModelImpl}. 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. 581 * </p> 582 * 583 * @param groupId the group ID 584 * @param privateLayout the private layout 585 * @param master the master 586 * @param start the lower bound of the range of layout set branchs 587 * @param end the upper bound of the range of layout set branchs (not inclusive) 588 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 589 * @return the ordered range of matching layout set branchs 590 * @throws SystemException if a system exception occurred 591 */ 592 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P_M( 593 long groupId, boolean privateLayout, boolean master, int start, 594 int end, 595 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 596 throws com.liferay.portal.kernel.exception.SystemException; 597 598 /** 599 * Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?. 600 * 601 * @param groupId the group ID 602 * @param privateLayout the private layout 603 * @param master the master 604 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 605 * @return the first matching layout set branch 606 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 607 * @throws SystemException if a system exception occurred 608 */ 609 public com.liferay.portal.model.LayoutSetBranch findByG_P_M_First( 610 long groupId, boolean privateLayout, boolean master, 611 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 612 throws com.liferay.portal.NoSuchLayoutSetBranchException, 613 com.liferay.portal.kernel.exception.SystemException; 614 615 /** 616 * Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?. 617 * 618 * @param groupId the group ID 619 * @param privateLayout the private layout 620 * @param master the master 621 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 622 * @return the first matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 623 * @throws SystemException if a system exception occurred 624 */ 625 public com.liferay.portal.model.LayoutSetBranch fetchByG_P_M_First( 626 long groupId, boolean privateLayout, boolean master, 627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 628 throws com.liferay.portal.kernel.exception.SystemException; 629 630 /** 631 * Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?. 632 * 633 * @param groupId the group ID 634 * @param privateLayout the private layout 635 * @param master the master 636 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 637 * @return the last matching layout set branch 638 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a matching layout set branch could not be found 639 * @throws SystemException if a system exception occurred 640 */ 641 public com.liferay.portal.model.LayoutSetBranch findByG_P_M_Last( 642 long groupId, boolean privateLayout, boolean master, 643 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 644 throws com.liferay.portal.NoSuchLayoutSetBranchException, 645 com.liferay.portal.kernel.exception.SystemException; 646 647 /** 648 * Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?. 649 * 650 * @param groupId the group ID 651 * @param privateLayout the private layout 652 * @param master the master 653 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 654 * @return the last matching layout set branch, or <code>null</code> if a matching layout set branch could not be found 655 * @throws SystemException if a system exception occurred 656 */ 657 public com.liferay.portal.model.LayoutSetBranch fetchByG_P_M_Last( 658 long groupId, boolean privateLayout, boolean master, 659 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 660 throws com.liferay.portal.kernel.exception.SystemException; 661 662 /** 663 * Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?. 664 * 665 * @param layoutSetBranchId the primary key of the current layout set branch 666 * @param groupId the group ID 667 * @param privateLayout the private layout 668 * @param master the master 669 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 670 * @return the previous, current, and next layout set branch 671 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 672 * @throws SystemException if a system exception occurred 673 */ 674 public com.liferay.portal.model.LayoutSetBranch[] findByG_P_M_PrevAndNext( 675 long layoutSetBranchId, long groupId, boolean privateLayout, 676 boolean master, 677 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 678 throws com.liferay.portal.NoSuchLayoutSetBranchException, 679 com.liferay.portal.kernel.exception.SystemException; 680 681 /** 682 * Returns all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?. 683 * 684 * @param groupId the group ID 685 * @param privateLayout the private layout 686 * @param master the master 687 * @return the matching layout set branchs that the user has permission to view 688 * @throws SystemException if a system exception occurred 689 */ 690 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P_M( 691 long groupId, boolean privateLayout, boolean master) 692 throws com.liferay.portal.kernel.exception.SystemException; 693 694 /** 695 * Returns a range of all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?. 696 * 697 * <p> 698 * 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.LayoutSetBranchModelImpl}. 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. 699 * </p> 700 * 701 * @param groupId the group ID 702 * @param privateLayout the private layout 703 * @param master the master 704 * @param start the lower bound of the range of layout set branchs 705 * @param end the upper bound of the range of layout set branchs (not inclusive) 706 * @return the range of matching layout set branchs that the user has permission to view 707 * @throws SystemException if a system exception occurred 708 */ 709 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P_M( 710 long groupId, boolean privateLayout, boolean master, int start, int end) 711 throws com.liferay.portal.kernel.exception.SystemException; 712 713 /** 714 * Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ? and privateLayout = ? and master = ?. 715 * 716 * <p> 717 * 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.LayoutSetBranchModelImpl}. 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. 718 * </p> 719 * 720 * @param groupId the group ID 721 * @param privateLayout the private layout 722 * @param master the master 723 * @param start the lower bound of the range of layout set branchs 724 * @param end the upper bound of the range of layout set branchs (not inclusive) 725 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 726 * @return the ordered range of matching layout set branchs that the user has permission to view 727 * @throws SystemException if a system exception occurred 728 */ 729 public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P_M( 730 long groupId, boolean privateLayout, boolean master, int start, 731 int end, 732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 733 throws com.liferay.portal.kernel.exception.SystemException; 734 735 /** 736 * Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?. 737 * 738 * @param layoutSetBranchId the primary key of the current layout set branch 739 * @param groupId the group ID 740 * @param privateLayout the private layout 741 * @param master the master 742 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 743 * @return the previous, current, and next layout set branch 744 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 745 * @throws SystemException if a system exception occurred 746 */ 747 public com.liferay.portal.model.LayoutSetBranch[] filterFindByG_P_M_PrevAndNext( 748 long layoutSetBranchId, long groupId, boolean privateLayout, 749 boolean master, 750 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 751 throws com.liferay.portal.NoSuchLayoutSetBranchException, 752 com.liferay.portal.kernel.exception.SystemException; 753 754 /** 755 * Removes all the layout set branchs where groupId = ? and privateLayout = ? and master = ? from the database. 756 * 757 * @param groupId the group ID 758 * @param privateLayout the private layout 759 * @param master the master 760 * @throws SystemException if a system exception occurred 761 */ 762 public void removeByG_P_M(long groupId, boolean privateLayout, 763 boolean master) 764 throws com.liferay.portal.kernel.exception.SystemException; 765 766 /** 767 * Returns the number of layout set branchs where groupId = ? and privateLayout = ? and master = ?. 768 * 769 * @param groupId the group ID 770 * @param privateLayout the private layout 771 * @param master the master 772 * @return the number of matching layout set branchs 773 * @throws SystemException if a system exception occurred 774 */ 775 public int countByG_P_M(long groupId, boolean privateLayout, boolean master) 776 throws com.liferay.portal.kernel.exception.SystemException; 777 778 /** 779 * Returns the number of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?. 780 * 781 * @param groupId the group ID 782 * @param privateLayout the private layout 783 * @param master the master 784 * @return the number of matching layout set branchs that the user has permission to view 785 * @throws SystemException if a system exception occurred 786 */ 787 public int filterCountByG_P_M(long groupId, boolean privateLayout, 788 boolean master) 789 throws com.liferay.portal.kernel.exception.SystemException; 790 791 /** 792 * Caches the layout set branch in the entity cache if it is enabled. 793 * 794 * @param layoutSetBranch the layout set branch 795 */ 796 public void cacheResult( 797 com.liferay.portal.model.LayoutSetBranch layoutSetBranch); 798 799 /** 800 * Caches the layout set branchs in the entity cache if it is enabled. 801 * 802 * @param layoutSetBranchs the layout set branchs 803 */ 804 public void cacheResult( 805 java.util.List<com.liferay.portal.model.LayoutSetBranch> layoutSetBranchs); 806 807 /** 808 * Creates a new layout set branch with the primary key. Does not add the layout set branch to the database. 809 * 810 * @param layoutSetBranchId the primary key for the new layout set branch 811 * @return the new layout set branch 812 */ 813 public com.liferay.portal.model.LayoutSetBranch create( 814 long layoutSetBranchId); 815 816 /** 817 * Removes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners. 818 * 819 * @param layoutSetBranchId the primary key of the layout set branch 820 * @return the layout set branch that was removed 821 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 822 * @throws SystemException if a system exception occurred 823 */ 824 public com.liferay.portal.model.LayoutSetBranch remove( 825 long layoutSetBranchId) 826 throws com.liferay.portal.NoSuchLayoutSetBranchException, 827 com.liferay.portal.kernel.exception.SystemException; 828 829 public com.liferay.portal.model.LayoutSetBranch updateImpl( 830 com.liferay.portal.model.LayoutSetBranch layoutSetBranch) 831 throws com.liferay.portal.kernel.exception.SystemException; 832 833 /** 834 * Returns the layout set branch with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutSetBranchException} if it could not be found. 835 * 836 * @param layoutSetBranchId the primary key of the layout set branch 837 * @return the layout set branch 838 * @throws com.liferay.portal.NoSuchLayoutSetBranchException if a layout set branch with the primary key could not be found 839 * @throws SystemException if a system exception occurred 840 */ 841 public com.liferay.portal.model.LayoutSetBranch findByPrimaryKey( 842 long layoutSetBranchId) 843 throws com.liferay.portal.NoSuchLayoutSetBranchException, 844 com.liferay.portal.kernel.exception.SystemException; 845 846 /** 847 * Returns the layout set branch with the primary key or returns <code>null</code> if it could not be found. 848 * 849 * @param layoutSetBranchId the primary key of the layout set branch 850 * @return the layout set branch, or <code>null</code> if a layout set branch with the primary key could not be found 851 * @throws SystemException if a system exception occurred 852 */ 853 public com.liferay.portal.model.LayoutSetBranch fetchByPrimaryKey( 854 long layoutSetBranchId) 855 throws com.liferay.portal.kernel.exception.SystemException; 856 857 /** 858 * Returns all the layout set branchs. 859 * 860 * @return the layout set branchs 861 * @throws SystemException if a system exception occurred 862 */ 863 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findAll() 864 throws com.liferay.portal.kernel.exception.SystemException; 865 866 /** 867 * Returns a range of all the layout set branchs. 868 * 869 * <p> 870 * 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.LayoutSetBranchModelImpl}. 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. 871 * </p> 872 * 873 * @param start the lower bound of the range of layout set branchs 874 * @param end the upper bound of the range of layout set branchs (not inclusive) 875 * @return the range of layout set branchs 876 * @throws SystemException if a system exception occurred 877 */ 878 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findAll( 879 int start, int end) 880 throws com.liferay.portal.kernel.exception.SystemException; 881 882 /** 883 * Returns an ordered range of all the layout set branchs. 884 * 885 * <p> 886 * 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.LayoutSetBranchModelImpl}. 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. 887 * </p> 888 * 889 * @param start the lower bound of the range of layout set branchs 890 * @param end the upper bound of the range of layout set branchs (not inclusive) 891 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 892 * @return the ordered range of layout set branchs 893 * @throws SystemException if a system exception occurred 894 */ 895 public java.util.List<com.liferay.portal.model.LayoutSetBranch> findAll( 896 int start, int end, 897 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 898 throws com.liferay.portal.kernel.exception.SystemException; 899 900 /** 901 * Removes all the layout set branchs from the database. 902 * 903 * @throws SystemException if a system exception occurred 904 */ 905 public void removeAll() 906 throws com.liferay.portal.kernel.exception.SystemException; 907 908 /** 909 * Returns the number of layout set branchs. 910 * 911 * @return the number of layout set branchs 912 * @throws SystemException if a system exception occurred 913 */ 914 public int countAll() 915 throws com.liferay.portal.kernel.exception.SystemException; 916 }