Interface SiteFriendlyURLPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SiteFriendlyURL>

@ProviderType public interface SiteFriendlyURLPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SiteFriendlyURL>
The persistence interface for the site friendly url service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(SiteFriendlyURL siteFriendlyURL)
    Caches the site friendly url in the entity cache if it is enabled.
    void
    cacheResult(List<SiteFriendlyURL> siteFriendlyURLs)
    Caches the site friendly urls in the entity cache if it is enabled.
    int
    Returns the number of site friendly urls.
    int
    countByC_F(long companyId, String friendlyURL)
    Returns the number of site friendly urls where companyId = ? and friendlyURL = ?.
    int
    countByC_F_L(long companyId, String friendlyURL, String languageId)
    Returns the number of site friendly urls where companyId = ? and friendlyURL = ? and languageId = ?.
    int
    countByG_C(long groupId, long companyId)
    Returns the number of site friendly urls where groupId = ? and companyId = ?.
    int
    countByG_C_L(long groupId, long companyId, String languageId)
    Returns the number of site friendly urls where groupId = ? and companyId = ? and languageId = ?.
    int
    Returns the number of site friendly urls where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of site friendly urls where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of site friendly urls where uuid = ? and groupId = ?.
    create(long siteFriendlyURLId)
    Creates a new site friendly url with the primary key.
    fetchByC_F(long companyId, String friendlyURL)
    Returns the site friendly url where companyId = ? and friendlyURL = ? or returns null if it could not be found.
    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.
    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.
    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.
    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 = ?.
    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.
    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.
    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 = ?.
    fetchByPrimaryKey(long siteFriendlyURLId)
    Returns the site friendly url with the primary key or returns null if it could not be found.
    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 = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the first site friendly url in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the site friendly url where uuid = ? and groupId = ? or returns null if it could not be found.
    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.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the last site friendly url in the ordered set where uuid = ?.
    Returns all the site friendly urls.
    findAll(int start, int end)
    Returns a range of all the site friendly urls.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns an ordered range of all the site friendly urls.
    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.
    findByC_F(long companyId, String friendlyURL)
    Returns the site friendly url where companyId = ? and friendlyURL = ? or throws a NoSuchFriendlyURLException if it could not be found.
    findByC_F_L(long companyId, String friendlyURL, String languageId)
    Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or throws a NoSuchFriendlyURLException if it could not be found.
    findByG_C(long groupId, long companyId)
    Returns all the site friendly urls where groupId = ? and companyId = ?.
    findByG_C(long groupId, long companyId, int start, int end)
    Returns a range of all the site friendly urls where groupId = ? and companyId = ?.
    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 = ?.
    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 = ?.
    findByG_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 = ?.
    findByG_C_L(long groupId, long companyId, String languageId)
    Returns the site friendly url where groupId = ? and companyId = ? and languageId = ? or throws a NoSuchFriendlyURLException if it could not be found.
    findByG_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 = ?.
    findByG_C_PrevAndNext(long siteFriendlyURLId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the site friendly urls before and after the current site friendly url in the ordered set where groupId = ? and companyId = ?.
    findByPrimaryKey(long siteFriendlyURLId)
    Returns the site friendly url with the primary key or throws a NoSuchFriendlyURLException if it could not be found.
    Returns all the site friendly urls where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the site friendly urls where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the site friendly urls where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the site friendly urls where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    findByUuid_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 = ?.
    findByUuid_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 = ?.
    findByUuid_C_PrevAndNext(long siteFriendlyURLId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the first site friendly url in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the site friendly url where uuid = ? and groupId = ? or throws a NoSuchFriendlyURLException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the last site friendly url in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long siteFriendlyURLId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
    Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ?.
    remove(long siteFriendlyURLId)
    Removes the site friendly url with the primary key from the database.
    void
    Removes all the site friendly urls from the database.
    removeByC_F(long companyId, String friendlyURL)
    Removes the site friendly url where companyId = ? and friendlyURL = ? from the database.
    removeByC_F_L(long companyId, String friendlyURL, String languageId)
    Removes the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? from the database.
    void
    removeByG_C(long groupId, long companyId)
    Removes all the site friendly urls where groupId = ? and companyId = ? from the database.
    removeByG_C_L(long groupId, long companyId, String languageId)
    Removes the site friendly url where groupId = ? and companyId = ? and languageId = ? from the database.
    void
    Removes all the site friendly urls where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the site friendly urls where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the site friendly url where uuid = ? and groupId = ? from the database.
    updateImpl(SiteFriendlyURL siteFriendlyURL)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByUuid_First

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByUuid_Last

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a site friendly url with the primary key could not be found
    • removeByUuid

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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByUuid_C_First

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByUuid_C_Last

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a site friendly url with the primary key could not be found
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByG_C_First

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByG_C_Last

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a site friendly url with the primary key could not be found
    • removeByG_C

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByC_F

      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

      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

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByG_C_L

      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

      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

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a matching site friendly url could not be found
    • fetchByC_F_L

      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

      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

      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

      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

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

      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

      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

      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
      Throws:
      NoSuchFriendlyURLException - if a site friendly url with the primary key could not be found
    • updateImpl

      SiteFriendlyURL updateImpl(SiteFriendlyURL siteFriendlyURL)
    • findByPrimaryKey

      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
      Throws:
      NoSuchFriendlyURLException - if a site friendly url with the primary key could not be found
    • fetchByPrimaryKey

      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

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

      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

      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

      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

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

      int countAll()
      Returns the number of site friendly urls.
      Returns:
      the number of site friendly urls