Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Interface LayoutFriendlyURLPersistence

All Superinterfaces:
BasePersistence<LayoutFriendlyURL>

@ProviderType
public interface LayoutFriendlyURLPersistence
extends BasePersistence<LayoutFriendlyURL>

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

Caching information and settings can be found in portal.properties

See Also:
LayoutFriendlyURLPersistenceImpl, LayoutFriendlyURLUtil

Method Summary
 void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
          Caches the layout friendly u r l in the entity cache if it is enabled.
 void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
          Caches the layout friendly u r ls in the entity cache if it is enabled.
 int countAll()
          Returns the number of layout friendly u r ls.
 int countByCompanyId(long companyId)
          Returns the number of layout friendly u r ls where companyId = ?.
 int countByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?.
 int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 int countByGroupId(long groupId)
          Returns the number of layout friendly u r ls where groupId = ?.
 int countByP_F(long plid, String friendlyURL)
          Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?.
 int countByP_L(long plid, String languageId)
          Returns the number of layout friendly u r ls where plid = ? and languageId = ?.
 int countByPlid(long plid)
          Returns the number of layout friendly u r ls where plid = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of layout friendly u r ls where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of layout friendly u r ls where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of layout friendly u r ls where uuid = ?.
 LayoutFriendlyURL create(long layoutFriendlyURLId)
          Creates a new layout friendly u r l with the primary key.
 LayoutFriendlyURL fetchByCompanyId_First(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL fetchByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found.
 LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId, boolean retrieveFromCache)
          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.
 LayoutFriendlyURL fetchByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByGroupId_First(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL fetchByGroupId_Last(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL fetchByP_F_First(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByP_F_Last(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByP_L(long plid, String languageId)
          Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found.
 LayoutFriendlyURL fetchByP_L(long plid, String languageId, boolean retrieveFromCache)
          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.
 LayoutFriendlyURL fetchByPlid_First(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL fetchByPlid_Last(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
          Returns the layout friendly u r l with the primary key or returns null if it could not be found.
 Map<Serializable,LayoutFriendlyURL> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 LayoutFriendlyURL fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL fetchByUuid_First(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL fetchByUUID_G(String uuid, long groupId)
          Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found.
 LayoutFriendlyURL fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          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.
 LayoutFriendlyURL fetchByUuid_Last(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
 List<LayoutFriendlyURL> findAll()
          Returns all the layout friendly u r ls.
 List<LayoutFriendlyURL> findAll(int start, int end)
          Returns a range of all the layout friendly u r ls.
 List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls.
 List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls.
 LayoutFriendlyURL findByCompanyId_First(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL findByCompanyId_Last(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId)
          Returns all the layout friendly u r ls where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout friendly u r ls where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where companyId = ?.
 LayoutFriendlyURL findByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL findByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          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 = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end)
          Returns a range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL findByGroupId_First(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL findByGroupId_Last(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId, long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId)
          Returns all the layout friendly u r ls where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end)
          Returns a range of all the layout friendly u r ls where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where groupId = ?.
 LayoutFriendlyURL findByP_F_First(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL findByP_F_Last(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId, long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          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 = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL)
          Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end)
          Returns a range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL findByP_L(long plid, String languageId)
          Returns the layout friendly u r l where plid = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByPlid_First(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL findByPlid_Last(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId, long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid)
          Returns all the layout friendly u r ls where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid, int start, int end)
          Returns a range of all the layout friendly u r ls where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where plid = ?.
 LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
          Returns the layout friendly u r l with the primary key or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL findByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId, String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          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 = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId)
          Returns all the layout friendly u r ls where uuid = ? and companyId = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the layout friendly u r ls where uuid = ? and companyId = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.
 LayoutFriendlyURL findByUuid_First(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL findByUUID_G(String uuid, long groupId)
          Returns the layout friendly u r l where uuid = ? and groupId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByUuid_Last(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId, String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid)
          Returns all the layout friendly u r ls where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end)
          Returns a range of all the layout friendly u r ls where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where uuid = ?.
 Set<String> getBadColumnNames()
           
 LayoutFriendlyURL remove(long layoutFriendlyURLId)
          Removes the layout friendly u r l with the primary key from the database.
 void removeAll()
          Removes all the layout friendly u r ls from the database.
 void removeByCompanyId(long companyId)
          Removes all the layout friendly u r ls where companyId = ? from the database.
 LayoutFriendlyURL removeByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Removes the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database.
 void removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Removes all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the layout friendly u r ls where groupId = ? from the database.
 void removeByP_F(long plid, String friendlyURL)
          Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database.
 LayoutFriendlyURL removeByP_L(long plid, String languageId)
          Removes the layout friendly u r l where plid = ? and languageId = ? from the database.
 void removeByPlid(long plid)
          Removes all the layout friendly u r ls where plid = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database.
 LayoutFriendlyURL removeByUUID_G(String uuid, long groupId)
          Removes the layout friendly u r l where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the layout friendly u r ls where uuid = ? from the database.
 LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<LayoutFriendlyURL> findByUuid(String uuid)
Returns all the layout friendly u r ls where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching layout friendly u r ls

findByUuid

List<LayoutFriendlyURL> findByUuid(String uuid,
                                   int start,
                                   int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByUuid

List<LayoutFriendlyURL> findByUuid(String uuid,
                                   int start,
                                   int end,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByUuid

List<LayoutFriendlyURL> findByUuid(String uuid,
                                   int start,
                                   int end,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                   boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByUuid_First

LayoutFriendlyURL findByUuid_First(String uuid,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByUuid_First

LayoutFriendlyURL fetchByUuid_First(String uuid,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByUuid_Last

LayoutFriendlyURL findByUuid_Last(String uuid,
                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByUuid_Last

LayoutFriendlyURL fetchByUuid_Last(String uuid,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByUuid_PrevAndNext

LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId,
                                           String uuid,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByUuid

void removeByUuid(String uuid)
Removes all the layout friendly u r ls where uuid = ? from the database.

Parameters:
uuid - the uuid

countByUuid

int countByUuid(String uuid)
Returns the number of layout friendly u r ls where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching layout friendly u r ls

findByUUID_G

LayoutFriendlyURL findByUUID_G(String uuid,
                               long groupId)
                               throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r l where uuid = ? and groupId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByUUID_G

LayoutFriendlyURL fetchByUUID_G(String uuid,
                                long groupId)
Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

fetchByUUID_G

LayoutFriendlyURL fetchByUUID_G(String uuid,
                                long groupId,
                                boolean retrieveFromCache)
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.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

removeByUUID_G

LayoutFriendlyURL removeByUUID_G(String uuid,
                                 long groupId)
                                 throws NoSuchLayoutFriendlyURLException
Removes the layout friendly u r l where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the layout friendly u r l that was removed
Throws:
NoSuchLayoutFriendlyURLException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
Returns the number of layout friendly u r ls where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching layout friendly u r ls

findByUuid_C

List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                     long companyId)
Returns all the layout friendly u r ls where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout friendly u r ls

findByUuid_C

List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                     long companyId,
                                     int start,
                                     int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByUuid_C

List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                     long companyId,
                                     int start,
                                     int end,
                                     OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByUuid_C

List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                     long companyId,
                                     int start,
                                     int end,
                                     OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                     boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByUuid_C_First

LayoutFriendlyURL findByUuid_C_First(String uuid,
                                     long companyId,
                                     OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                     throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByUuid_C_First

LayoutFriendlyURL fetchByUuid_C_First(String uuid,
                                      long companyId,
                                      OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByUuid_C_Last

LayoutFriendlyURL findByUuid_C_Last(String uuid,
                                    long companyId,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                    throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByUuid_C_Last

LayoutFriendlyURL fetchByUuid_C_Last(String uuid,
                                     long companyId,
                                     OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByUuid_C_PrevAndNext

LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId,
                                             String uuid,
                                             long companyId,
                                             OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                             throws NoSuchLayoutFriendlyURLException
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 = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
Returns the number of layout friendly u r ls where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching layout friendly u r ls

findByGroupId

List<LayoutFriendlyURL> findByGroupId(long groupId)
Returns all the layout friendly u r ls where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching layout friendly u r ls

findByGroupId

List<LayoutFriendlyURL> findByGroupId(long groupId,
                                      int start,
                                      int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByGroupId

List<LayoutFriendlyURL> findByGroupId(long groupId,
                                      int start,
                                      int end,
                                      OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByGroupId

List<LayoutFriendlyURL> findByGroupId(long groupId,
                                      int start,
                                      int end,
                                      OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                      boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByGroupId_First

LayoutFriendlyURL findByGroupId_First(long groupId,
                                      OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                      throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByGroupId_First

LayoutFriendlyURL fetchByGroupId_First(long groupId,
                                       OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByGroupId_Last

LayoutFriendlyURL findByGroupId_Last(long groupId,
                                     OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                     throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByGroupId_Last

LayoutFriendlyURL fetchByGroupId_Last(long groupId,
                                      OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByGroupId_PrevAndNext

LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId,
                                              long groupId,
                                              OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                              throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByGroupId

void removeByGroupId(long groupId)
Removes all the layout friendly u r ls where groupId = ? from the database.

Parameters:
groupId - the group ID

countByGroupId

int countByGroupId(long groupId)
Returns the number of layout friendly u r ls where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching layout friendly u r ls

findByCompanyId

List<LayoutFriendlyURL> findByCompanyId(long companyId)
Returns all the layout friendly u r ls where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching layout friendly u r ls

findByCompanyId

List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                        int start,
                                        int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByCompanyId

List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                        int start,
                                        int end,
                                        OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByCompanyId

List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                        int start,
                                        int end,
                                        OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                        boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByCompanyId_First

LayoutFriendlyURL findByCompanyId_First(long companyId,
                                        OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                        throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByCompanyId_First

LayoutFriendlyURL fetchByCompanyId_First(long companyId,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByCompanyId_Last

LayoutFriendlyURL findByCompanyId_Last(long companyId,
                                       OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                       throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByCompanyId_Last

LayoutFriendlyURL fetchByCompanyId_Last(long companyId,
                                        OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByCompanyId_PrevAndNext

LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId,
                                                long companyId,
                                                OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                                throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByCompanyId

void removeByCompanyId(long companyId)
Removes all the layout friendly u r ls where companyId = ? from the database.

Parameters:
companyId - the company ID

countByCompanyId

int countByCompanyId(long companyId)
Returns the number of layout friendly u r ls where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching layout friendly u r ls

findByPlid

List<LayoutFriendlyURL> findByPlid(long plid)
Returns all the layout friendly u r ls where plid = ?.

Parameters:
plid - the plid
Returns:
the matching layout friendly u r ls

findByPlid

List<LayoutFriendlyURL> findByPlid(long plid,
                                   int start,
                                   int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
plid - the plid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByPlid

List<LayoutFriendlyURL> findByPlid(long plid,
                                   int start,
                                   int end,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
plid - the plid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByPlid

List<LayoutFriendlyURL> findByPlid(long plid,
                                   int start,
                                   int end,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                   boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
plid - the plid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByPlid_First

LayoutFriendlyURL findByPlid_First(long plid,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where plid = ?.

Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByPlid_First

LayoutFriendlyURL fetchByPlid_First(long plid,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where plid = ?.

Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByPlid_Last

LayoutFriendlyURL findByPlid_Last(long plid,
                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where plid = ?.

Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByPlid_Last

LayoutFriendlyURL fetchByPlid_Last(long plid,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where plid = ?.

Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByPlid_PrevAndNext

LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId,
                                           long plid,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByPlid

void removeByPlid(long plid)
Removes all the layout friendly u r ls where plid = ? from the database.

Parameters:
plid - the plid

countByPlid

int countByPlid(long plid)
Returns the number of layout friendly u r ls where plid = ?.

Parameters:
plid - the plid
Returns:
the number of matching layout friendly u r ls

findByP_F

List<LayoutFriendlyURL> findByP_F(long plid,
                                  String friendlyURL)
Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
Returns:
the matching layout friendly u r ls

findByP_F

List<LayoutFriendlyURL> findByP_F(long plid,
                                  String friendlyURL,
                                  int start,
                                  int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByP_F

List<LayoutFriendlyURL> findByP_F(long plid,
                                  String friendlyURL,
                                  int start,
                                  int end,
                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByP_F

List<LayoutFriendlyURL> findByP_F(long plid,
                                  String friendlyURL,
                                  int start,
                                  int end,
                                  OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                  boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByP_F_First

LayoutFriendlyURL findByP_F_First(long plid,
                                  String friendlyURL,
                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByP_F_First

LayoutFriendlyURL fetchByP_F_First(long plid,
                                   String friendlyURL,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByP_F_Last

LayoutFriendlyURL findByP_F_Last(long plid,
                                 String friendlyURL,
                                 OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                 throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByP_F_Last

LayoutFriendlyURL fetchByP_F_Last(long plid,
                                  String friendlyURL,
                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByP_F_PrevAndNext

LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId,
                                          long plid,
                                          String friendlyURL,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                          throws NoSuchLayoutFriendlyURLException
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 = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByP_F

void removeByP_F(long plid,
                 String friendlyURL)
Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database.

Parameters:
plid - the plid
friendlyURL - the friendly u r l

countByP_F

int countByP_F(long plid,
               String friendlyURL)
Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?.

Parameters:
plid - the plid
friendlyURL - the friendly u r l
Returns:
the number of matching layout friendly u r ls

findByP_L

LayoutFriendlyURL findByP_L(long plid,
                            String languageId)
                            throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r l where plid = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Parameters:
plid - the plid
languageId - the language ID
Returns:
the matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByP_L

LayoutFriendlyURL fetchByP_L(long plid,
                             String languageId)
Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
plid - the plid
languageId - the language ID
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

fetchByP_L

LayoutFriendlyURL fetchByP_L(long plid,
                             String languageId,
                             boolean retrieveFromCache)
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.

Parameters:
plid - the plid
languageId - the language ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

removeByP_L

LayoutFriendlyURL removeByP_L(long plid,
                              String languageId)
                              throws NoSuchLayoutFriendlyURLException
Removes the layout friendly u r l where plid = ? and languageId = ? from the database.

Parameters:
plid - the plid
languageId - the language ID
Returns:
the layout friendly u r l that was removed
Throws:
NoSuchLayoutFriendlyURLException

countByP_L

int countByP_L(long plid,
               String languageId)
Returns the number of layout friendly u r ls where plid = ? and languageId = ?.

Parameters:
plid - the plid
languageId - the language ID
Returns:
the number of matching layout friendly u r ls

findByG_P_F

List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                    boolean privateLayout,
                                    String friendlyURL)
Returns all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the matching layout friendly u r ls

findByG_P_F

List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                    boolean privateLayout,
                                    String friendlyURL,
                                    int start,
                                    int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls

findByG_P_F

List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                    boolean privateLayout,
                                    String friendlyURL,
                                    int start,
                                    int end,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls

findByG_P_F

List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                    boolean privateLayout,
                                    String friendlyURL,
                                    int start,
                                    int end,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                    boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByG_P_F_First

LayoutFriendlyURL findByG_P_F_First(long groupId,
                                    boolean privateLayout,
                                    String friendlyURL,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                    throws NoSuchLayoutFriendlyURLException
Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByG_P_F_First

LayoutFriendlyURL fetchByG_P_F_First(long groupId,
                                     boolean privateLayout,
                                     String friendlyURL,
                                     OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByG_P_F_Last

LayoutFriendlyURL findByG_P_F_Last(long groupId,
                                   boolean privateLayout,
                                   String friendlyURL,
                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException
Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByG_P_F_Last

LayoutFriendlyURL fetchByG_P_F_Last(long groupId,
                                    boolean privateLayout,
                                    String friendlyURL,
                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

findByG_P_F_PrevAndNext

LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId,
                                            long groupId,
                                            boolean privateLayout,
                                            String friendlyURL,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                            throws NoSuchLayoutFriendlyURLException
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 = ?.

Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

removeByG_P_F

void removeByG_P_F(long groupId,
                   boolean privateLayout,
                   String friendlyURL)
Removes all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l

countByG_P_F

int countByG_P_F(long groupId,
                 boolean privateLayout,
                 String friendlyURL)
Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the number of matching layout friendly u r ls

findByG_P_F_L

LayoutFriendlyURL findByG_P_F_L(long groupId,
                                boolean privateLayout,
                                String friendlyURL,
                                String languageId)
                                throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found

fetchByG_P_F_L

LayoutFriendlyURL fetchByG_P_F_L(long groupId,
                                 boolean privateLayout,
                                 String friendlyURL,
                                 String languageId)
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.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

fetchByG_P_F_L

LayoutFriendlyURL fetchByG_P_F_L(long groupId,
                                 boolean privateLayout,
                                 String friendlyURL,
                                 String languageId,
                                 boolean retrieveFromCache)
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.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found

removeByG_P_F_L

LayoutFriendlyURL removeByG_P_F_L(long groupId,
                                  boolean privateLayout,
                                  String friendlyURL,
                                  String languageId)
                                  throws NoSuchLayoutFriendlyURLException
Removes the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the layout friendly u r l that was removed
Throws:
NoSuchLayoutFriendlyURLException

countByG_P_F_L

int countByG_P_F_L(long groupId,
                   boolean privateLayout,
                   String friendlyURL,
                   String languageId)
Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the number of matching layout friendly u r ls

cacheResult

void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
Caches the layout friendly u r l in the entity cache if it is enabled.

Parameters:
layoutFriendlyURL - the layout friendly u r l

cacheResult

void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
Caches the layout friendly u r ls in the entity cache if it is enabled.

Parameters:
layoutFriendlyURLs - the layout friendly u r ls

create

LayoutFriendlyURL create(long layoutFriendlyURLId)
Creates a new layout friendly u r l with the primary key. Does not add the layout friendly u r l to the database.

Parameters:
layoutFriendlyURLId - the primary key for the new layout friendly u r l
Returns:
the new layout friendly u r l

remove

LayoutFriendlyURL remove(long layoutFriendlyURLId)
                         throws NoSuchLayoutFriendlyURLException
Removes the layout friendly u r l with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
layoutFriendlyURLId - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l that was removed
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

updateImpl

LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)

findByPrimaryKey

LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
                                   throws NoSuchLayoutFriendlyURLException
Returns the layout friendly u r l with the primary key or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Parameters:
layoutFriendlyURLId - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found

fetchByPrimaryKey

LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
Returns the layout friendly u r l with the primary key or returns null if it could not be found.

Parameters:
layoutFriendlyURLId - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l, or null if a layout friendly u r l with the primary key could not be found

fetchByPrimaryKeys

Map<Serializable,LayoutFriendlyURL> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<LayoutFriendlyURL>

findAll

List<LayoutFriendlyURL> findAll()
Returns all the layout friendly u r ls.

Returns:
the layout friendly u r ls

findAll

List<LayoutFriendlyURL> findAll(int start,
                                int end)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of layout friendly u r ls

findAll

List<LayoutFriendlyURL> findAll(int start,
                                int end,
                                OrderByComparator<LayoutFriendlyURL> orderByComparator)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of layout friendly u r ls

findAll

List<LayoutFriendlyURL> findAll(int start,
                                int end,
                                OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                boolean retrieveFromCache)
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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of layout friendly u r ls

removeAll

void removeAll()
Removes all the layout friendly u r ls from the database.


countAll

int countAll()
Returns the number of layout friendly u r ls.

Returns:
the number of layout friendly u r ls

getBadColumnNames

Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<LayoutFriendlyURL>

Liferay 7.0-ce-b4