All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.service.persistence.LayoutRevisionPersistence Maven / Gradle / Ivy

/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.model.LayoutRevision;

/**
 * The persistence interface for the layout revision service.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Brian Wing Shun Chan * @see LayoutRevisionPersistenceImpl * @see LayoutRevisionUtil * @generated */ @ProviderType public interface LayoutRevisionPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link LayoutRevisionUtil} to access the layout revision persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the layout revisions where layoutSetBranchId = ?. * * @param layoutSetBranchId the layout set branch ID * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByLayoutSetBranchId( long layoutSetBranchId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByLayoutSetBranchId( long layoutSetBranchId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByLayoutSetBranchId( long layoutSetBranchId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ?. * * @param layoutSetBranchId the layout set branch ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByLayoutSetBranchId_First( long layoutSetBranchId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ?. * * @param layoutSetBranchId the layout set branch ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByLayoutSetBranchId_First( long layoutSetBranchId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ?. * * @param layoutSetBranchId the layout set branch ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByLayoutSetBranchId_Last( long layoutSetBranchId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ?. * * @param layoutSetBranchId the layout set branch ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByLayoutSetBranchId_Last( long layoutSetBranchId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByLayoutSetBranchId_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @throws SystemException if a system exception occurred */ public void removeByLayoutSetBranchId(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ?. * * @param layoutSetBranchId the layout set branch ID * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByLayoutSetBranchId(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where plid = ?. * * @param plid the plid * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByPlid( long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByPlid( long plid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByPlid( long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where plid = ?. * * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where plid = ?. * * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByPlid_First( long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where plid = ?. * * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where plid = ?. * * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where plid = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByPlid_PrevAndNext( long layoutRevisionId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where plid = ? from the database. * * @param plid the plid * @throws SystemException if a system exception occurred */ public void removeByPlid(long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where plid = ?. * * @param plid the plid * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByPlid(long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where layoutSetBranchId = ? and head = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_H( long layoutSetBranchId, boolean head) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ? and head = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param head the head * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_H( long layoutSetBranchId, boolean head, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and head = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param head the head * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_H( long layoutSetBranchId, boolean head, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_H_First( long layoutSetBranchId, boolean head, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and head = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_H_First( long layoutSetBranchId, boolean head, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_H_Last( long layoutSetBranchId, boolean head, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and head = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_H_Last( long layoutSetBranchId, boolean head, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and head = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param head the head * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByL_H_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, boolean head, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? and head = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @throws SystemException if a system exception occurred */ public void removeByL_H(long layoutSetBranchId, boolean head) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and head = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_H(long layoutSetBranchId, boolean head) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where layoutSetBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P( long layoutSetBranchId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P( long layoutSetBranchId, long plid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P( long layoutSetBranchId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_P_First( long layoutSetBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_P_First( long layoutSetBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_P_Last( long layoutSetBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_P_Last( long layoutSetBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByL_P_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? and plid = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @throws SystemException if a system exception occurred */ public void removeByL_P(long layoutSetBranchId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_P(long layoutSetBranchId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where layoutSetBranchId = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_S( long layoutSetBranchId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param status the status * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_S( long layoutSetBranchId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param status the status * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_S( long layoutSetBranchId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_S_First( long layoutSetBranchId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_S_First( long layoutSetBranchId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_S_Last( long layoutSetBranchId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_S_Last( long layoutSetBranchId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and status = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByL_S_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? and status = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByL_S(long layoutSetBranchId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param status the status * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_S(long layoutSetBranchId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where head = ? and plid = ?. * * @param head the head * @param plid the plid * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByH_P( boolean head, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where head = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param head the head * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByH_P( boolean head, long plid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where head = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param head the head * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByH_P( boolean head, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where head = ? and plid = ?. * * @param head the head * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByH_P_First( boolean head, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where head = ? and plid = ?. * * @param head the head * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByH_P_First( boolean head, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where head = ? and plid = ?. * * @param head the head * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByH_P_Last( boolean head, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where head = ? and plid = ?. * * @param head the head * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByH_P_Last( boolean head, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where head = ? and plid = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param head the head * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByH_P_PrevAndNext( long layoutRevisionId, boolean head, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where head = ? and plid = ? from the database. * * @param head the head * @param plid the plid * @throws SystemException if a system exception occurred */ public void removeByH_P(boolean head, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where head = ? and plid = ?. * * @param head the head * @param plid the plid * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByH_P(boolean head, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where plid = ? and status ≠ ?. * * @param plid the plid * @param status the status * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByP_NotS( long plid, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where plid = ? and status ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param plid the plid * @param status the status * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByP_NotS( long plid, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where plid = ? and status ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param plid the plid * @param status the status * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByP_NotS( long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where plid = ? and status ≠ ?. * * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByP_NotS_First( long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where plid = ? and status ≠ ?. * * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByP_NotS_First( long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where plid = ? and status ≠ ?. * * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByP_NotS_Last( long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where plid = ? and status ≠ ?. * * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByP_NotS_Last( long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where plid = ? and status ≠ ?. * * @param layoutRevisionId the primary key of the current layout revision * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByP_NotS_PrevAndNext( long layoutRevisionId, long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where plid = ? and status ≠ ? from the database. * * @param plid the plid * @param status the status * @throws SystemException if a system exception occurred */ public void removeByP_NotS(long plid, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where plid = ? and status ≠ ?. * * @param plid the plid * @param status the status * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByP_NotS(long plid, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_L_P( long layoutSetBranchId, long layoutBranchId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_L_P( long layoutSetBranchId, long layoutBranchId, long plid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_L_P( long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_L_P_First( long layoutSetBranchId, long layoutBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_L_P_First( long layoutSetBranchId, long layoutBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_L_P_Last( long layoutSetBranchId, long layoutBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_L_P_Last( long layoutSetBranchId, long layoutBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByL_L_P_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, long layoutBranchId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @throws SystemException if a system exception occurred */ public void removeByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and layoutBranchId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param layoutBranchId the layout branch ID * @param plid the plid * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_L_P(long layoutSetBranchId, long layoutBranchId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P_P( long layoutSetBranchId, long parentLayoutRevisionId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P_P( long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P_P( long layoutSetBranchId, long parentLayoutRevisionId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_P_P_First( long layoutSetBranchId, long parentLayoutRevisionId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_P_P_First( long layoutSetBranchId, long parentLayoutRevisionId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_P_P_Last( long layoutSetBranchId, long parentLayoutRevisionId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_P_P_Last( long layoutSetBranchId, long parentLayoutRevisionId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByL_P_P_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, long parentLayoutRevisionId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @throws SystemException if a system exception occurred */ public void removeByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and parentLayoutRevisionId = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param parentLayoutRevisionId the parent layout revision ID * @param plid the plid * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_P_P(long layoutSetBranchId, long parentLayoutRevisionId, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or throws a {@link com.liferay.portal.NoSuchLayoutRevisionException} if it could not be found. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param plid the plid * @return the matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_H_P( long layoutSetBranchId, boolean head, long plid) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returns null if it could not be found. Uses the finder cache. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param plid the plid * @return the matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_H_P( long layoutSetBranchId, boolean head, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revision where layoutSetBranchId = ? and head = ? and plid = ? or returns null if it could not be found, optionally using the finder cache. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param plid the plid * @param retrieveFromCache whether to use the finder cache * @return the matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_H_P( long layoutSetBranchId, boolean head, long plid, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the layout revision where layoutSetBranchId = ? and head = ? and plid = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param plid the plid * @return the layout revision that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision removeByL_H_P( long layoutSetBranchId, boolean head, long plid) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and head = ? and plid = ?. * * @param layoutSetBranchId the layout set branch ID * @param head the head * @param plid the plid * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_H_P(long layoutSetBranchId, boolean head, long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @return the matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P_S( long layoutSetBranchId, long plid, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P_S( long layoutSetBranchId, long plid, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findByL_P_S( long layoutSetBranchId, long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_P_S_First( long layoutSetBranchId, long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_P_S_First( long layoutSetBranchId, long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByL_P_S_Last( long layoutSetBranchId, long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout revision, or null if a matching layout revision could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByL_P_S_Last( long layoutSetBranchId, long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutRevisionId the primary key of the current layout revision * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision[] findByL_P_S_PrevAndNext( long layoutRevisionId, long layoutSetBranchId, long plid, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions where layoutSetBranchId = ? and plid = ? and status = ? from the database. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @throws SystemException if a system exception occurred */ public void removeByL_P_S(long layoutSetBranchId, long plid, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions where layoutSetBranchId = ? and plid = ? and status = ?. * * @param layoutSetBranchId the layout set branch ID * @param plid the plid * @param status the status * @return the number of matching layout revisions * @throws SystemException if a system exception occurred */ public int countByL_P_S(long layoutSetBranchId, long plid, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Caches the layout revision in the entity cache if it is enabled. * * @param layoutRevision the layout revision */ public void cacheResult( com.liferay.portal.model.LayoutRevision layoutRevision); /** * Caches the layout revisions in the entity cache if it is enabled. * * @param layoutRevisions the layout revisions */ public void cacheResult( java.util.List layoutRevisions); /** * Creates a new layout revision with the primary key. Does not add the layout revision to the database. * * @param layoutRevisionId the primary key for the new layout revision * @return the new layout revision */ public com.liferay.portal.model.LayoutRevision create(long layoutRevisionId); /** * Removes the layout revision with the primary key from the database. Also notifies the appropriate model listeners. * * @param layoutRevisionId the primary key of the layout revision * @return the layout revision that was removed * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision remove(long layoutRevisionId) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; public com.liferay.portal.model.LayoutRevision updateImpl( com.liferay.portal.model.LayoutRevision layoutRevision) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revision with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutRevisionException} if it could not be found. * * @param layoutRevisionId the primary key of the layout revision * @return the layout revision * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision findByPrimaryKey( long layoutRevisionId) throws com.liferay.portal.NoSuchLayoutRevisionException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout revision with the primary key or returns null if it could not be found. * * @param layoutRevisionId the primary key of the layout revision * @return the layout revision, or null if a layout revision with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutRevision fetchByPrimaryKey( long layoutRevisionId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout revisions. * * @return the layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findAll() throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout revisions. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @return the range of layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findAll( int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout revisions. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end 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.LayoutRevisionModelImpl}. If both orderByComparator 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. *

* * @param start the lower bound of the range of layout revisions * @param end the upper bound of the range of layout revisions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of layout revisions * @throws SystemException if a system exception occurred */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout revisions from the database. * * @throws SystemException if a system exception occurred */ public void removeAll() throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout revisions. * * @return the number of layout revisions * @throws SystemException if a system exception occurred */ public int countAll() throws com.liferay.portal.kernel.exception.SystemException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy