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

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

Go to download

Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.

There is a newer version: 7.0.0-nightly
Show newest version
/**
 * 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.LayoutFriendlyURL;

/**
 * The persistence interface for the layout friendly u r l service.
 *
 * 

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

* * @author Brian Wing Shun Chan * @see LayoutFriendlyURLPersistenceImpl * @see LayoutFriendlyURLUtil * @generated */ @ProviderType public interface LayoutFriendlyURLPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link LayoutFriendlyURLUtil} to access the layout friendly u r l persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the layout friendly u r ls where uuid = ?. * * @param uuid the uuid * @return the matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByUuid( java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout friendly u r ls where uuid = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 uuid the uuid * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByUuid( java.lang.String uuid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout friendly u r ls where uuid = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 uuid the uuid * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByUuid( java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByUuid_First( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_First( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByUuid_Last( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_Last( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByUuid_PrevAndNext( long layoutFriendlyURLId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls where uuid = ? from the database. * * @param uuid the uuid * @throws SystemException if a system exception occurred */ public void removeByUuid(java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where uuid = ?. * * @param uuid the uuid * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByUuid(java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where uuid = ? and groupId = ? or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. * * @param uuid the uuid * @param groupId the group ID * @param retrieveFromCache whether to use the finder cache * @return the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByUUID_G( java.lang.String uuid, long groupId, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the layout friendly u r l where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the layout friendly u r l that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL removeByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByUUID_G(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByUuid_C( java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout friendly u r ls where uuid = ? and companyId = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByUuid_C( java.lang.String uuid, long companyId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByUuid_C( java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByUuid_C_First( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_C_First( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByUuid_C_Last( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_C_Last( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ? and companyId = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByUuid_C_PrevAndNext( long layoutFriendlyURLId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID * @throws SystemException if a system exception occurred */ public void removeByUuid_C(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByUuid_C(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls where groupId = ?. * * @param groupId the group ID * @return the matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout friendly u r ls where groupId = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 groupId the group ID * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout friendly u r ls where groupId = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 groupId the group ID * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByGroupId_PrevAndNext( long layoutFriendlyURLId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls where groupId = ? from the database. * * @param groupId the group ID * @throws SystemException if a system exception occurred */ public void removeByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where groupId = ?. * * @param groupId the group ID * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls where companyId = ?. * * @param companyId the company ID * @return the matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout friendly u r ls where companyId = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 companyId the company ID * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout friendly u r ls where companyId = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 companyId the company ID * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByCompanyId_PrevAndNext( long layoutFriendlyURLId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls where companyId = ? from the database. * * @param companyId the company ID * @throws SystemException if a system exception occurred */ public void removeByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where companyId = ?. * * @param companyId the company ID * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls where plid = ?. * * @param plid the plid * @return the matching layout friendly u r ls * @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 friendly u r ls 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.LayoutFriendlyURLModelImpl}. 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 friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @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 friendly u r ls 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.LayoutFriendlyURLModelImpl}. 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 friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @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 friendly u r l 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 friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByPlid_First( long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l 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 friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByPlid_First( long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l 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 friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByPlid_Last( long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l 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 friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByPlid_Last( long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param plid the plid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByPlid_PrevAndNext( long layoutFriendlyURLId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls 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 friendly u r ls where plid = ?. * * @param plid the plid * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByPlid(long plid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?. * * @param plid the plid * @param friendlyURL the friendly u r l * @return the matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByP_F( long plid, java.lang.String friendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout friendly u r ls where plid = ? and friendlyURL = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 friendlyURL the friendly u r l * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByP_F( long plid, java.lang.String friendlyURL, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 friendlyURL the friendly u r l * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByP_F( long plid, java.lang.String friendlyURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. * * @param plid the plid * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByP_F_First( long plid, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. * * @param plid the plid * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByP_F_First( long plid, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. * * @param plid the plid * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByP_F_Last( long plid, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. * * @param plid the plid * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByP_F_Last( long plid, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param plid the plid * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByP_F_PrevAndNext( long layoutFriendlyURLId, long plid, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database. * * @param plid the plid * @param friendlyURL the friendly u r l * @throws SystemException if a system exception occurred */ public void removeByP_F(long plid, java.lang.String friendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?. * * @param plid the plid * @param friendlyURL the friendly u r l * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByP_F(long plid, java.lang.String friendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where plid = ? and languageId = ? or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found. * * @param plid the plid * @param languageId the language ID * @return the matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByP_L(long plid, java.lang.String languageId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found. Uses the finder cache. * * @param plid the plid * @param languageId the language ID * @return the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByP_L(long plid, java.lang.String languageId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache. * * @param plid the plid * @param languageId the language ID * @param retrieveFromCache whether to use the finder cache * @return the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByP_L(long plid, java.lang.String languageId, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the layout friendly u r l where plid = ? and languageId = ? from the database. * * @param plid the plid * @param languageId the language ID * @return the layout friendly u r l that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL removeByP_L(long plid, java.lang.String languageId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where plid = ? and languageId = ?. * * @param plid the plid * @param languageId the language ID * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByP_L(long plid, java.lang.String languageId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @return the matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByG_P_F( long groupId, boolean privateLayout, java.lang.String friendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByG_P_F( long groupId, boolean privateLayout, java.lang.String friendlyURL, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. * *

* 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.LayoutFriendlyURLModelImpl}. 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 groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param start the lower bound of the range of layout friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public java.util.List findByG_P_F( long groupId, boolean privateLayout, java.lang.String friendlyURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByG_P_F_First( long groupId, boolean privateLayout, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_First( long groupId, boolean privateLayout, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByG_P_F_Last( long groupId, boolean privateLayout, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_Last( long groupId, boolean privateLayout, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param layoutFriendlyURLId the primary key of the current layout friendly u r l * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL[] findByG_P_F_PrevAndNext( long layoutFriendlyURLId, long groupId, boolean privateLayout, java.lang.String friendlyURL, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Removes all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @throws SystemException if a system exception occurred */ public void removeByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param languageId the language ID * @return the matching layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByG_P_F_L( long groupId, boolean privateLayout, java.lang.String friendlyURL, java.lang.String languageId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param languageId the language ID * @return the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_L( long groupId, boolean privateLayout, java.lang.String friendlyURL, java.lang.String languageId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param languageId the language ID * @param retrieveFromCache whether to use the finder cache * @return the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_L( long groupId, boolean privateLayout, java.lang.String friendlyURL, java.lang.String languageId, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param languageId the language ID * @return the layout friendly u r l that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL removeByG_P_F_L( long groupId, boolean privateLayout, java.lang.String friendlyURL, java.lang.String languageId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?. * * @param groupId the group ID * @param privateLayout the private layout * @param friendlyURL the friendly u r l * @param languageId the language ID * @return the number of matching layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countByG_P_F_L(long groupId, boolean privateLayout, java.lang.String friendlyURL, java.lang.String languageId) throws com.liferay.portal.kernel.exception.SystemException; /** * Caches the layout friendly u r l in the entity cache if it is enabled. * * @param layoutFriendlyURL the layout friendly u r l */ public void cacheResult( com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL); /** * Caches the layout friendly u r ls in the entity cache if it is enabled. * * @param layoutFriendlyURLs the layout friendly u r ls */ public void cacheResult( java.util.List layoutFriendlyURLs); /** * Creates a new layout friendly u r l with the primary key. Does not add the layout friendly u r l to the database. * * @param layoutFriendlyURLId the primary key for the new layout friendly u r l * @return the new layout friendly u r l */ public com.liferay.portal.model.LayoutFriendlyURL create( long layoutFriendlyURLId); /** * Removes the layout friendly u r l with the primary key from the database. Also notifies the appropriate model listeners. * * @param layoutFriendlyURLId the primary key of the layout friendly u r l * @return the layout friendly u r l that was removed * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL remove( long layoutFriendlyURLId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; public com.liferay.portal.model.LayoutFriendlyURL updateImpl( com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found. * * @param layoutFriendlyURLId the primary key of the layout friendly u r l * @return the layout friendly u r l * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL findByPrimaryKey( long layoutFriendlyURLId) throws com.liferay.portal.NoSuchLayoutFriendlyURLException, com.liferay.portal.kernel.exception.SystemException; /** * Returns the layout friendly u r l with the primary key or returns null if it could not be found. * * @param layoutFriendlyURLId the primary key of the layout friendly u r l * @return the layout friendly u r l, or null if a layout friendly u r l with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portal.model.LayoutFriendlyURL fetchByPrimaryKey( long layoutFriendlyURLId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the layout friendly u r ls. * * @return the layout friendly u r ls * @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 friendly u r ls. * *

* 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.LayoutFriendlyURLModelImpl}. 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 friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @return the range of layout friendly u r ls * @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 friendly u r ls. * *

* 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.LayoutFriendlyURLModelImpl}. 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 friendly u r ls * @param end the upper bound of the range of layout friendly u r ls (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of layout friendly u r ls * @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 friendly u r ls 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 friendly u r ls. * * @return the number of layout friendly u r ls * @throws SystemException if a system exception occurred */ public int countAll() throws com.liferay.portal.kernel.exception.SystemException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy