Class SiteFriendlyURLUtil

java.lang.Object
com.liferay.site.service.persistence.SiteFriendlyURLUtil

public class SiteFriendlyURLUtil extends Object
The persistence utility for the site friendly url service. This utility wraps com.liferay.site.service.persistence.impl.SiteFriendlyURLPersistenceImpl 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:
Generated:
  • Constructor Details

    • SiteFriendlyURLUtil

      public SiteFriendlyURLUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(SiteFriendlyURL siteFriendlyURL)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,SiteFriendlyURL> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<SiteFriendlyURL> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<SiteFriendlyURL> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<SiteFriendlyURL> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static SiteFriendlyURL update(SiteFriendlyURL siteFriendlyURL)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static SiteFriendlyURL update(SiteFriendlyURL siteFriendlyURL, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<SiteFriendlyURL> findByUuid(String uuid)
      Returns all the site friendly urls where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching site friendly urls
    • findByUuid

      public static List<SiteFriendlyURL> findByUuid(String uuid, int start, int end)
      Returns a range of all the site friendly urls 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      Returns:
      the range of matching site friendly urls
    • findByUuid

      public static List<SiteFriendlyURL> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns an ordered range of all the site friendly urls 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site friendly urls
    • findByUuid

      public static List<SiteFriendlyURL> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site friendly urls 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching site friendly urls
    • findByUuid_First

      public static SiteFriendlyURL findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the first site friendly url in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site friendly url
    • fetchByUuid_First

      public static SiteFriendlyURL fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns the first site friendly url in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site friendly url, or null if a matching site friendly url could not be found
    • findByUuid_Last

      public static SiteFriendlyURL findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the last site friendly url in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site friendly url
    • fetchByUuid_Last

      public static SiteFriendlyURL fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns the last site friendly url in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site friendly url, or null if a matching site friendly url could not be found
    • findByUuid_PrevAndNext

      public static SiteFriendlyURL[] findByUuid_PrevAndNext(long siteFriendlyURLId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ?.
      Parameters:
      siteFriendlyURLId - the primary key of the current site friendly url
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site friendly url
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the site friendly urls where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of site friendly urls where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching site friendly urls
    • findByUUID_G

      public static SiteFriendlyURL findByUUID_G(String uuid, long groupId) throws NoSuchFriendlyURLException
      Returns the site friendly url where uuid = ? and groupId = ? or throws a NoSuchFriendlyURLException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching site friendly url
    • fetchByUUID_G

      public static SiteFriendlyURL fetchByUUID_G(String uuid, long groupId)
      Returns the site friendly url 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 site friendly url, or null if a matching site friendly url could not be found
    • fetchByUUID_G

      public static SiteFriendlyURL fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the site friendly url 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
      useFinderCache - whether to use the finder cache
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • removeByUUID_G

      public static SiteFriendlyURL removeByUUID_G(String uuid, long groupId) throws NoSuchFriendlyURLException
      Removes the site friendly url where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the site friendly url that was removed
      Throws:
      NoSuchFriendlyURLException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of site friendly urls where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching site friendly urls
    • findByUuid_C

      public static List<SiteFriendlyURL> findByUuid_C(String uuid, long companyId)
      Returns all the site friendly urls where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching site friendly urls
    • findByUuid_C

      public static List<SiteFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the site friendly urls 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      Returns:
      the range of matching site friendly urls
    • findByUuid_C

      public static List<SiteFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns an ordered range of all the site friendly urls 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site friendly urls
    • findByUuid_C

      public static List<SiteFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site friendly urls 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching site friendly urls
    • findByUuid_C_First

      public static SiteFriendlyURL findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the first site friendly url 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 site friendly url
    • fetchByUuid_C_First

      public static SiteFriendlyURL fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns the first site friendly url 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 site friendly url, or null if a matching site friendly url could not be found
    • findByUuid_C_Last

      public static SiteFriendlyURL findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the last site friendly url 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 site friendly url
    • fetchByUuid_C_Last

      public static SiteFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns the last site friendly url 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 site friendly url, or null if a matching site friendly url could not be found
    • findByUuid_C_PrevAndNext

      public static SiteFriendlyURL[] findByUuid_C_PrevAndNext(long siteFriendlyURLId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      siteFriendlyURLId - the primary key of the current site friendly url
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site friendly url
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the site friendly urls where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of site friendly urls where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching site friendly urls
    • findByG_C

      public static List<SiteFriendlyURL> findByG_C(long groupId, long companyId)
      Returns all the site friendly urls where groupId = ? and companyId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      Returns:
      the matching site friendly urls
    • findByG_C

      public static List<SiteFriendlyURL> findByG_C(long groupId, long companyId, int start, int end)
      Returns a range of all the site friendly urls where groupId = ? 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      Returns:
      the range of matching site friendly urls
    • findByG_C

      public static List<SiteFriendlyURL> findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns an ordered range of all the site friendly urls where groupId = ? 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site friendly urls
    • findByG_C

      public static List<SiteFriendlyURL> findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site friendly urls where groupId = ? 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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching site friendly urls
    • findByG_C_First

      public static SiteFriendlyURL findByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the first site friendly url in the ordered set where groupId = ? and companyId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site friendly url
    • fetchByG_C_First

      public static SiteFriendlyURL fetchByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns the first site friendly url in the ordered set where groupId = ? and companyId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site friendly url, or null if a matching site friendly url could not be found
    • findByG_C_Last

      public static SiteFriendlyURL findByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the last site friendly url in the ordered set where groupId = ? and companyId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site friendly url
    • fetchByG_C_Last

      public static SiteFriendlyURL fetchByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns the last site friendly url in the ordered set where groupId = ? and companyId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site friendly url, or null if a matching site friendly url could not be found
    • findByG_C_PrevAndNext

      public static SiteFriendlyURL[] findByG_C_PrevAndNext(long siteFriendlyURLId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
      Returns the site friendly urls before and after the current site friendly url in the ordered set where groupId = ? and companyId = ?.
      Parameters:
      siteFriendlyURLId - the primary key of the current site friendly url
      groupId - the group ID
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site friendly url
    • removeByG_C

      public static void removeByG_C(long groupId, long companyId)
      Removes all the site friendly urls where groupId = ? and companyId = ? from the database.
      Parameters:
      groupId - the group ID
      companyId - the company ID
    • countByG_C

      public static int countByG_C(long groupId, long companyId)
      Returns the number of site friendly urls where groupId = ? and companyId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      Returns:
      the number of matching site friendly urls
    • findByC_F

      public static SiteFriendlyURL findByC_F(long companyId, String friendlyURL) throws NoSuchFriendlyURLException
      Returns the site friendly url where companyId = ? and friendlyURL = ? or throws a NoSuchFriendlyURLException if it could not be found.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the matching site friendly url
    • fetchByC_F

      public static SiteFriendlyURL fetchByC_F(long companyId, String friendlyURL)
      Returns the site friendly url where companyId = ? and friendlyURL = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • fetchByC_F

      public static SiteFriendlyURL fetchByC_F(long companyId, String friendlyURL, boolean useFinderCache)
      Returns the site friendly url where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      useFinderCache - whether to use the finder cache
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • removeByC_F

      public static SiteFriendlyURL removeByC_F(long companyId, String friendlyURL) throws NoSuchFriendlyURLException
      Removes the site friendly url where companyId = ? and friendlyURL = ? from the database.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the site friendly url that was removed
      Throws:
      NoSuchFriendlyURLException
    • countByC_F

      public static int countByC_F(long companyId, String friendlyURL)
      Returns the number of site friendly urls where companyId = ? and friendlyURL = ?.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the number of matching site friendly urls
    • findByG_C_L

      public static SiteFriendlyURL findByG_C_L(long groupId, long companyId, String languageId) throws NoSuchFriendlyURLException
      Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or throws a NoSuchFriendlyURLException if it could not be found.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      languageId - the language ID
      Returns:
      the matching site friendly url
    • fetchByG_C_L

      public static SiteFriendlyURL fetchByG_C_L(long groupId, long companyId, String languageId)
      Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      languageId - the language ID
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • fetchByG_C_L

      public static SiteFriendlyURL fetchByG_C_L(long groupId, long companyId, String languageId, boolean useFinderCache)
      Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      languageId - the language ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • removeByG_C_L

      public static SiteFriendlyURL removeByG_C_L(long groupId, long companyId, String languageId) throws NoSuchFriendlyURLException
      Removes the site friendly url where groupId = ? and companyId = ? and languageId = ? from the database.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      languageId - the language ID
      Returns:
      the site friendly url that was removed
      Throws:
      NoSuchFriendlyURLException
    • countByG_C_L

      public static int countByG_C_L(long groupId, long companyId, String languageId)
      Returns the number of site friendly urls where groupId = ? and companyId = ? and languageId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      languageId - the language ID
      Returns:
      the number of matching site friendly urls
    • findByC_F_L

      public static SiteFriendlyURL findByC_F_L(long companyId, String friendlyURL, String languageId) throws NoSuchFriendlyURLException
      Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or throws a NoSuchFriendlyURLException if it could not be found.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      languageId - the language ID
      Returns:
      the matching site friendly url
    • fetchByC_F_L

      public static SiteFriendlyURL fetchByC_F_L(long companyId, String friendlyURL, String languageId)
      Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      languageId - the language ID
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • fetchByC_F_L

      public static SiteFriendlyURL fetchByC_F_L(long companyId, String friendlyURL, String languageId, boolean useFinderCache)
      Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      languageId - the language ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching site friendly url, or null if a matching site friendly url could not be found
    • removeByC_F_L

      public static SiteFriendlyURL removeByC_F_L(long companyId, String friendlyURL, String languageId) throws NoSuchFriendlyURLException
      Removes the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? from the database.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      languageId - the language ID
      Returns:
      the site friendly url that was removed
      Throws:
      NoSuchFriendlyURLException
    • countByC_F_L

      public static int countByC_F_L(long companyId, String friendlyURL, String languageId)
      Returns the number of site friendly urls where companyId = ? and friendlyURL = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      languageId - the language ID
      Returns:
      the number of matching site friendly urls
    • cacheResult

      public static void cacheResult(SiteFriendlyURL siteFriendlyURL)
      Caches the site friendly url in the entity cache if it is enabled.
      Parameters:
      siteFriendlyURL - the site friendly url
    • cacheResult

      public static void cacheResult(List<SiteFriendlyURL> siteFriendlyURLs)
      Caches the site friendly urls in the entity cache if it is enabled.
      Parameters:
      siteFriendlyURLs - the site friendly urls
    • create

      public static SiteFriendlyURL create(long siteFriendlyURLId)
      Creates a new site friendly url with the primary key. Does not add the site friendly url to the database.
      Parameters:
      siteFriendlyURLId - the primary key for the new site friendly url
      Returns:
      the new site friendly url
    • remove

      public static SiteFriendlyURL remove(long siteFriendlyURLId) throws NoSuchFriendlyURLException
      Removes the site friendly url with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      siteFriendlyURLId - the primary key of the site friendly url
      Returns:
      the site friendly url that was removed
    • updateImpl

      public static SiteFriendlyURL updateImpl(SiteFriendlyURL siteFriendlyURL)
    • findByPrimaryKey

      public static SiteFriendlyURL findByPrimaryKey(long siteFriendlyURLId) throws NoSuchFriendlyURLException
      Returns the site friendly url with the primary key or throws a NoSuchFriendlyURLException if it could not be found.
      Parameters:
      siteFriendlyURLId - the primary key of the site friendly url
      Returns:
      the site friendly url
    • fetchByPrimaryKey

      public static SiteFriendlyURL fetchByPrimaryKey(long siteFriendlyURLId)
      Returns the site friendly url with the primary key or returns null if it could not be found.
      Parameters:
      siteFriendlyURLId - the primary key of the site friendly url
      Returns:
      the site friendly url, or null if a site friendly url with the primary key could not be found
    • findAll

      public static List<SiteFriendlyURL> findAll()
      Returns all the site friendly urls.
      Returns:
      the site friendly urls
    • findAll

      public static List<SiteFriendlyURL> findAll(int start, int end)
      Returns a range of all the site friendly urls.

      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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      Returns:
      the range of site friendly urls
    • findAll

      public static List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
      Returns an ordered range of all the site friendly urls.

      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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of site friendly urls
    • findAll

      public static List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site friendly urls.

      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, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl.

      Parameters:
      start - the lower bound of the range of site friendly urls
      end - the upper bound of the range of site friendly urls (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of site friendly urls
    • removeAll

      public static void removeAll()
      Removes all the site friendly urls from the database.
    • countAll

      public static int countAll()
      Returns the number of site friendly urls.
      Returns:
      the number of site friendly urls
    • getPersistence

      public static SiteFriendlyURLPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SiteFriendlyURLPersistence persistence)