Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class LayoutFriendlyURLUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.LayoutFriendlyURLUtil

@ProviderType
public class LayoutFriendlyURLUtil
extends Object

The persistence utility for the layout friendly u r l service. This utility wraps LayoutFriendlyURLPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
LayoutFriendlyURLPersistence, LayoutFriendlyURLPersistenceImpl

Constructor Summary
LayoutFriendlyURLUtil()
           
 
Method Summary
static void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
          Caches the layout friendly u r l in the entity cache if it is enabled.
static void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
          Caches the layout friendly u r ls in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(LayoutFriendlyURL layoutFriendlyURL)
           
static int countAll()
          Returns the number of layout friendly u r ls.
static int countByCompanyId(long companyId)
          Returns the number of layout friendly u r ls where companyId = ?.
static 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 = ?.
static 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 = ?.
static int countByGroupId(long groupId)
          Returns the number of layout friendly u r ls where groupId = ?.
static int countByP_F(long plid, String friendlyURL)
          Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?.
static int countByP_L(long plid, String languageId)
          Returns the number of layout friendly u r ls where plid = ? and languageId = ?.
static int countByPlid(long plid)
          Returns the number of layout friendly u r ls where plid = ?.
static int countByUuid_C(String uuid, long companyId)
          Returns the number of layout friendly u r ls where uuid = ? and companyId = ?.
static int countByUUID_G(String uuid, long groupId)
          Returns the number of layout friendly u r ls where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Returns the number of layout friendly u r ls where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static LayoutFriendlyURL create(long layoutFriendlyURLId)
          Creates a new layout friendly u r l with the primary key.
static LayoutFriendlyURL fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
static LayoutFriendlyURL fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
static LayoutFriendlyURL fetchByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
static 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.
static 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.
static LayoutFriendlyURL fetchByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
static LayoutFriendlyURL fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
static LayoutFriendlyURL fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
static LayoutFriendlyURL fetchByP_F_First(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
static LayoutFriendlyURL fetchByP_F_Last(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
static 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.
static 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.
static LayoutFriendlyURL fetchByPlid_First(long plid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
static LayoutFriendlyURL fetchByPlid_Last(long plid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
static LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
          Returns the layout friendly u r l with the primary key or returns null if it could not be found.
static LayoutFriendlyURL fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
static LayoutFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
static LayoutFriendlyURL fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ?.
static 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.
static 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.
static LayoutFriendlyURL fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
static List<LayoutFriendlyURL> findAll()
          Returns all the layout friendly u r ls.
static List<LayoutFriendlyURL> findAll(int start, int end)
          Returns a range of all the layout friendly u r ls.
static List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls.
static LayoutFriendlyURL findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
static LayoutFriendlyURL findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
static LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId, long companyId, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?.
static List<LayoutFriendlyURL> findByCompanyId(long companyId)
          Returns all the layout friendly u r ls where companyId = ?.
static List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout friendly u r ls where companyId = ?.
static List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where companyId = ?.
static LayoutFriendlyURL findByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
static 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.
static LayoutFriendlyURL findByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
static LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator 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 = ?.
static 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 = ?.
static 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 = ?.
static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
static LayoutFriendlyURL findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
static LayoutFriendlyURL findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
static LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId, long groupId, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?.
static List<LayoutFriendlyURL> findByGroupId(long groupId)
          Returns all the layout friendly u r ls where groupId = ?.
static List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end)
          Returns a range of all the layout friendly u r ls where groupId = ?.
static List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ?.
static LayoutFriendlyURL findByP_F_First(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
static LayoutFriendlyURL findByP_F_Last(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
static LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId, long plid, String friendlyURL, OrderByComparator 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 = ?.
static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL)
          Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?.
static 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 = ?.
static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.
static 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.
static LayoutFriendlyURL findByPlid_First(long plid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
static LayoutFriendlyURL findByPlid_Last(long plid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
static LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId, long plid, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?.
static List<LayoutFriendlyURL> findByPlid(long plid)
          Returns all the layout friendly u r ls where plid = ?.
static List<LayoutFriendlyURL> findByPlid(long plid, int start, int end)
          Returns a range of all the layout friendly u r ls where plid = ?.
static List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ?.
static 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.
static LayoutFriendlyURL findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
static LayoutFriendlyURL findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
static LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId, String uuid, long companyId, OrderByComparator 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 = ?.
static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId)
          Returns all the layout friendly u r ls where uuid = ? and companyId = ?.
static 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 = ?.
static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.
static LayoutFriendlyURL findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ?.
static 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.
static LayoutFriendlyURL findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
static LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId, String uuid, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?.
static List<LayoutFriendlyURL> findByUuid(String uuid)
          Returns all the layout friendly u r ls where uuid = ?.
static List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end)
          Returns a range of all the layout friendly u r ls where uuid = ?.
static List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ?.
static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static LayoutFriendlyURLPersistence getPersistence()
           
static LayoutFriendlyURL remove(long layoutFriendlyURLId)
          Removes the layout friendly u r l with the primary key from the database.
static void removeAll()
          Removes all the layout friendly u r ls from the database.
static void removeByCompanyId(long companyId)
          Removes all the layout friendly u r ls where companyId = ? from the database.
static 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.
static 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.
static void removeByGroupId(long groupId)
          Removes all the layout friendly u r ls where groupId = ? from the database.
static void removeByP_F(long plid, String friendlyURL)
          Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database.
static LayoutFriendlyURL removeByP_L(long plid, String languageId)
          Removes the layout friendly u r l where plid = ? and languageId = ? from the database.
static void removeByPlid(long plid)
          Removes all the layout friendly u r ls where plid = ? from the database.
static void removeByUuid_C(String uuid, long companyId)
          Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database.
static LayoutFriendlyURL removeByUUID_G(String uuid, long groupId)
          Removes the layout friendly u r l where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the layout friendly u r ls where uuid = ? from the database.
 void setPersistence(LayoutFriendlyURLPersistence persistence)
          Deprecated. As of 6.2.0
static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL)
           
static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL, ServiceContext serviceContext)
           
static LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutFriendlyURLUtil

public LayoutFriendlyURLUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(LayoutFriendlyURL layoutFriendlyURL)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
                                  throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                           int start,
                                                           int end)
                                                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                           int start,
                                                           int end,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL)
                                throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel)

update

public static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL,
                                       ServiceContext serviceContext)
                                throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)

findByUuid

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

Parameters:
uuid - the uuid
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<LayoutFriendlyURL> findByUuid(String uuid,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the layout friendly u r ls where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<LayoutFriendlyURL> findByUuid(String uuid,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the layout friendly u r ls where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByUuid_First

public static LayoutFriendlyURL findByUuid_First(String uuid,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchLayoutFriendlyURLException,
                                                 SystemException
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
SystemException - if a system exception occurred

fetchByUuid_First

public static LayoutFriendlyURL fetchByUuid_First(String uuid,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public static LayoutFriendlyURL findByUuid_Last(String uuid,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchLayoutFriendlyURLException,
                                                SystemException
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
SystemException - if a system exception occurred

fetchByUuid_Last

public static LayoutFriendlyURL fetchByUuid_Last(String uuid,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId,
                                                         String uuid,
                                                         OrderByComparator orderByComparator)
                                                  throws NoSuchLayoutFriendlyURLException,
                                                         SystemException
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
SystemException - if a system exception occurred

removeByUuid

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

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUUID_G

public static LayoutFriendlyURL findByUUID_G(String uuid,
                                             long groupId)
                                      throws NoSuchLayoutFriendlyURLException,
                                             SystemException
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
SystemException - if a system exception occurred

fetchByUUID_G

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

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
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public static LayoutFriendlyURL fetchByUUID_G(String uuid,
                                              long groupId,
                                              boolean retrieveFromCache)
                                       throws SystemException
Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use 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
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public static LayoutFriendlyURL removeByUUID_G(String uuid,
                                               long groupId)
                                        throws NoSuchLayoutFriendlyURLException,
                                               SystemException
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:
SystemException - if a system exception occurred
NoSuchLayoutFriendlyURLException

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                                   long companyId)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                                   long companyId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the layout friendly u r ls where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                                   long companyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

public static LayoutFriendlyURL findByUuid_C_First(String uuid,
                                                   long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchLayoutFriendlyURLException,
                                                   SystemException
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
SystemException - if a system exception occurred

fetchByUuid_C_First

public static LayoutFriendlyURL fetchByUuid_C_First(String uuid,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public static LayoutFriendlyURL findByUuid_C_Last(String uuid,
                                                  long companyId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException,
                                                  SystemException
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
SystemException - if a system exception occurred

fetchByUuid_C_Last

public static LayoutFriendlyURL fetchByUuid_C_Last(String uuid,
                                                   long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

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

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
SystemException - if a system exception occurred

removeByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public static int countByUuid_C(String uuid,
                                long companyId)
                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<LayoutFriendlyURL> findByGroupId(long groupId,
                                                    int start,
                                                    int end)
                                             throws SystemException
Returns a range of all the layout friendly u r ls where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<LayoutFriendlyURL> findByGroupId(long groupId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns an ordered range of all the layout friendly u r ls where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public static LayoutFriendlyURL findByGroupId_First(long groupId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchLayoutFriendlyURLException,
                                                    SystemException
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
SystemException - if a system exception occurred

fetchByGroupId_First

public static LayoutFriendlyURL fetchByGroupId_First(long groupId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public static LayoutFriendlyURL findByGroupId_Last(long groupId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchLayoutFriendlyURLException,
                                                   SystemException
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
SystemException - if a system exception occurred

fetchByGroupId_Last

public static LayoutFriendlyURL fetchByGroupId_Last(long groupId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public static LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId,
                                                            long groupId,
                                                            OrderByComparator orderByComparator)
                                                     throws NoSuchLayoutFriendlyURLException,
                                                            SystemException
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
SystemException - if a system exception occurred

removeByGroupId

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

Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Parameters:
companyId - the company ID
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                                      int start,
                                                      int end)
                                               throws SystemException
Returns a range of all the layout friendly u r ls where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns an ordered range of all the layout friendly u r ls where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public static LayoutFriendlyURL findByCompanyId_First(long companyId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchLayoutFriendlyURLException,
                                                      SystemException
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
SystemException - if a system exception occurred

fetchByCompanyId_First

public static LayoutFriendlyURL fetchByCompanyId_First(long companyId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

public static LayoutFriendlyURL findByCompanyId_Last(long companyId,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchLayoutFriendlyURLException,
                                                     SystemException
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
SystemException - if a system exception occurred

fetchByCompanyId_Last

public static LayoutFriendlyURL fetchByCompanyId_Last(long companyId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public static LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId,
                                                              long companyId,
                                                              OrderByComparator orderByComparator)
                                                       throws NoSuchLayoutFriendlyURLException,
                                                              SystemException
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
SystemException - if a system exception occurred

removeByCompanyId

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

Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByPlid

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

Parameters:
plid - the plid
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByPlid

public static List<LayoutFriendlyURL> findByPlid(long plid,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the layout friendly u r ls where plid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByPlid

public static List<LayoutFriendlyURL> findByPlid(long plid,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the layout friendly u r ls where plid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByPlid_First

public static LayoutFriendlyURL findByPlid_First(long plid,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchLayoutFriendlyURLException,
                                                 SystemException
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
SystemException - if a system exception occurred

fetchByPlid_First

public static LayoutFriendlyURL fetchByPlid_First(long plid,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByPlid_Last

public static LayoutFriendlyURL findByPlid_Last(long plid,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchLayoutFriendlyURLException,
                                                SystemException
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
SystemException - if a system exception occurred

fetchByPlid_Last

public static LayoutFriendlyURL fetchByPlid_Last(long plid,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByPlid_PrevAndNext

public static LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId,
                                                         long plid,
                                                         OrderByComparator orderByComparator)
                                                  throws NoSuchLayoutFriendlyURLException,
                                                         SystemException
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
SystemException - if a system exception occurred

removeByPlid

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

Parameters:
plid - the plid
Throws:
SystemException - if a system exception occurred

countByPlid

public static int countByPlid(long plid)
                       throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByP_F

public static List<LayoutFriendlyURL> findByP_F(long plid,
                                                String friendlyURL)
                                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByP_F

public static List<LayoutFriendlyURL> findByP_F(long plid,
                                                String friendlyURL,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByP_F

public static List<LayoutFriendlyURL> findByP_F(long plid,
                                                String friendlyURL,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByP_F_First

public static LayoutFriendlyURL findByP_F_First(long plid,
                                                String friendlyURL,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchLayoutFriendlyURLException,
                                                SystemException
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
SystemException - if a system exception occurred

fetchByP_F_First

public static LayoutFriendlyURL fetchByP_F_First(long plid,
                                                 String friendlyURL,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByP_F_Last

public static LayoutFriendlyURL findByP_F_Last(long plid,
                                               String friendlyURL,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchLayoutFriendlyURLException,
                                               SystemException
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
SystemException - if a system exception occurred

fetchByP_F_Last

public static LayoutFriendlyURL fetchByP_F_Last(long plid,
                                                String friendlyURL,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByP_F_PrevAndNext

public static LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId,
                                                        long plid,
                                                        String friendlyURL,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchLayoutFriendlyURLException,
                                                        SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

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
SystemException - if a system exception occurred

removeByP_F

public static void removeByP_F(long plid,
                               String friendlyURL)
                        throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByP_F

public static int countByP_F(long plid,
                             String friendlyURL)
                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByP_L

public static LayoutFriendlyURL findByP_L(long plid,
                                          String languageId)
                                   throws NoSuchLayoutFriendlyURLException,
                                          SystemException
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
SystemException - if a system exception occurred

fetchByP_L

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

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
Throws:
SystemException - if a system exception occurred

fetchByP_L

public static LayoutFriendlyURL fetchByP_L(long plid,
                                           String languageId,
                                           boolean retrieveFromCache)
                                    throws SystemException
Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
plid - the plid
languageId - the language ID
retrieveFromCache - whether to use 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
Throws:
SystemException - if a system exception occurred

removeByP_L

public static LayoutFriendlyURL removeByP_L(long plid,
                                            String languageId)
                                     throws NoSuchLayoutFriendlyURLException,
                                            SystemException
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:
SystemException - if a system exception occurred
NoSuchLayoutFriendlyURLException

countByP_L

public static int countByP_L(long plid,
                             String languageId)
                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_P_F

public static List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                                  boolean privateLayout,
                                                  String friendlyURL)
                                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_P_F

public static List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                                  boolean privateLayout,
                                                  String friendlyURL,
                                                  int start,
                                                  int end)
                                           throws SystemException
Returns a range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByG_P_F

public static List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                                  boolean privateLayout,
                                                  String friendlyURL,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findByG_P_F_First

public static LayoutFriendlyURL findByG_P_F_First(long groupId,
                                                  boolean privateLayout,
                                                  String friendlyURL,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException,
                                                  SystemException
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
SystemException - if a system exception occurred

fetchByG_P_F_First

public static LayoutFriendlyURL fetchByG_P_F_First(long groupId,
                                                   boolean privateLayout,
                                                   String friendlyURL,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_P_F_Last

public static LayoutFriendlyURL findByG_P_F_Last(long groupId,
                                                 boolean privateLayout,
                                                 String friendlyURL,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchLayoutFriendlyURLException,
                                                 SystemException
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
SystemException - if a system exception occurred

fetchByG_P_F_Last

public static LayoutFriendlyURL fetchByG_P_F_Last(long groupId,
                                                  boolean privateLayout,
                                                  String friendlyURL,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_P_F_PrevAndNext

public static LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId,
                                                          long groupId,
                                                          boolean privateLayout,
                                                          String friendlyURL,
                                                          OrderByComparator orderByComparator)
                                                   throws NoSuchLayoutFriendlyURLException,
                                                          SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

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
SystemException - if a system exception occurred

removeByG_P_F

public static void removeByG_P_F(long groupId,
                                 boolean privateLayout,
                                 String friendlyURL)
                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByG_P_F

public static int countByG_P_F(long groupId,
                               boolean privateLayout,
                               String friendlyURL)
                        throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_P_F_L

public static LayoutFriendlyURL findByG_P_F_L(long groupId,
                                              boolean privateLayout,
                                              String friendlyURL,
                                              String languageId)
                                       throws NoSuchLayoutFriendlyURLException,
                                              SystemException
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
SystemException - if a system exception occurred

fetchByG_P_F_L

public static LayoutFriendlyURL fetchByG_P_F_L(long groupId,
                                               boolean privateLayout,
                                               String friendlyURL,
                                               String languageId)
                                        throws SystemException
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.

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
Throws:
SystemException - if a system exception occurred

fetchByG_P_F_L

public static LayoutFriendlyURL fetchByG_P_F_L(long groupId,
                                               boolean privateLayout,
                                               String friendlyURL,
                                               String languageId,
                                               boolean retrieveFromCache)
                                        throws SystemException
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
retrieveFromCache - whether to use 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
Throws:
SystemException - if a system exception occurred

removeByG_P_F_L

public static LayoutFriendlyURL removeByG_P_F_L(long groupId,
                                                boolean privateLayout,
                                                String friendlyURL,
                                                String languageId)
                                         throws NoSuchLayoutFriendlyURLException,
                                                SystemException
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:
SystemException - if a system exception occurred
NoSuchLayoutFriendlyURLException

countByG_P_F_L

public static int countByG_P_F_L(long groupId,
                                 boolean privateLayout,
                                 String friendlyURL,
                                 String languageId)
                          throws SystemException
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
Throws:
SystemException - if a system exception occurred

cacheResult

public static 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

public static 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

public static 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

public static LayoutFriendlyURL remove(long layoutFriendlyURLId)
                                throws NoSuchLayoutFriendlyURLException,
                                       SystemException
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
SystemException - if a system exception occurred

updateImpl

public static LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
                                    throws SystemException
Throws:
SystemException

findByPrimaryKey

public static LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
                                          throws NoSuchLayoutFriendlyURLException,
                                                 SystemException
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
SystemException - if a system exception occurred

fetchByPrimaryKey

public static LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
                                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

findAll

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

Returns:
the layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findAll

public static List<LayoutFriendlyURL> findAll(int start,
                                              int end)
                                       throws SystemException
Returns a range of all the layout friendly u r ls.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

findAll

public static List<LayoutFriendlyURL> findAll(int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the layout friendly u r ls.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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
Throws:
SystemException - if a system exception occurred

removeAll

public static void removeAll()
                      throws SystemException
Removes all the layout friendly u r ls from the database.

Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Returns the number of layout friendly u r ls.

Returns:
the number of layout friendly u r ls
Throws:
SystemException - if a system exception occurred

getPersistence

public static LayoutFriendlyURLPersistence getPersistence()

setPersistence

public void setPersistence(LayoutFriendlyURLPersistence persistence)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5