Interface FriendlyURLEntryMappingPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntryMapping>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FriendlyURLEntryMapping>

@ProviderType public interface FriendlyURLEntryMappingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<FriendlyURLEntryMapping>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FriendlyURLEntryMapping>
The persistence interface for the friendly url entry mapping service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(FriendlyURLEntryMapping friendlyURLEntryMapping)
    Caches the friendly url entry mapping in the entity cache if it is enabled.
    void
    cacheResult(List<FriendlyURLEntryMapping> friendlyURLEntryMappings)
    Caches the friendly url entry mappings in the entity cache if it is enabled.
    int
    Returns the number of friendly url entry mappings.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of friendly url entry mappings where classNameId = ? and classPK = ?.
    create(long friendlyURLEntryMappingId)
    Creates a new friendly url entry mapping with the primary key.
    fetchByC_C(long classNameId, long classPK)
    Returns the friendly url entry mapping where classNameId = ? and classPK = ? or returns null if it could not be found.
    fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
    Returns the friendly url entry mapping where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long friendlyURLEntryMappingId)
    Returns the friendly url entry mapping with the primary key or returns null if it could not be found.
    Returns all the friendly url entry mappings.
    findAll(int start, int end)
    Returns a range of all the friendly url entry mappings.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryMapping> orderByComparator)
    Returns an ordered range of all the friendly url entry mappings.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryMapping> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the friendly url entry mappings.
    findByC_C(long classNameId, long classPK)
    Returns the friendly url entry mapping where classNameId = ? and classPK = ? or throws a NoSuchFriendlyURLEntryMappingException if it could not be found.
    findByPrimaryKey(long friendlyURLEntryMappingId)
    Returns the friendly url entry mapping with the primary key or throws a NoSuchFriendlyURLEntryMappingException if it could not be found.
    remove(long friendlyURLEntryMappingId)
    Removes the friendly url entry mapping with the primary key from the database.
    void
    Removes all the friendly url entry mappings from the database.
    removeByC_C(long classNameId, long classPK)
    Removes the friendly url entry mapping where classNameId = ? and classPK = ? from the database.
    updateImpl(FriendlyURLEntryMapping friendlyURLEntryMapping)
     

    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

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByC_C

      FriendlyURLEntryMapping findByC_C(long classNameId, long classPK) throws NoSuchFriendlyURLEntryMappingException
      Returns the friendly url entry mapping where classNameId = ? and classPK = ? or throws a NoSuchFriendlyURLEntryMappingException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching friendly url entry mapping
      Throws:
      NoSuchFriendlyURLEntryMappingException - if a matching friendly url entry mapping could not be found
    • fetchByC_C

      FriendlyURLEntryMapping fetchByC_C(long classNameId, long classPK)
      Returns the friendly url entry mapping where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching friendly url entry mapping, or null if a matching friendly url entry mapping could not be found
    • fetchByC_C

      FriendlyURLEntryMapping fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
      Returns the friendly url entry mapping where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching friendly url entry mapping, or null if a matching friendly url entry mapping could not be found
    • removeByC_C

      FriendlyURLEntryMapping removeByC_C(long classNameId, long classPK) throws NoSuchFriendlyURLEntryMappingException
      Removes the friendly url entry mapping where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the friendly url entry mapping that was removed
      Throws:
      NoSuchFriendlyURLEntryMappingException
    • countByC_C

      int countByC_C(long classNameId, long classPK)
      Returns the number of friendly url entry mappings where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching friendly url entry mappings
    • cacheResult

      void cacheResult(FriendlyURLEntryMapping friendlyURLEntryMapping)
      Caches the friendly url entry mapping in the entity cache if it is enabled.
      Parameters:
      friendlyURLEntryMapping - the friendly url entry mapping
    • cacheResult

      void cacheResult(List<FriendlyURLEntryMapping> friendlyURLEntryMappings)
      Caches the friendly url entry mappings in the entity cache if it is enabled.
      Parameters:
      friendlyURLEntryMappings - the friendly url entry mappings
    • create

      FriendlyURLEntryMapping create(long friendlyURLEntryMappingId)
      Creates a new friendly url entry mapping with the primary key. Does not add the friendly url entry mapping to the database.
      Parameters:
      friendlyURLEntryMappingId - the primary key for the new friendly url entry mapping
      Returns:
      the new friendly url entry mapping
    • remove

      FriendlyURLEntryMapping remove(long friendlyURLEntryMappingId) throws NoSuchFriendlyURLEntryMappingException
      Removes the friendly url entry mapping with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      friendlyURLEntryMappingId - the primary key of the friendly url entry mapping
      Returns:
      the friendly url entry mapping that was removed
      Throws:
      NoSuchFriendlyURLEntryMappingException - if a friendly url entry mapping with the primary key could not be found
    • updateImpl

      FriendlyURLEntryMapping updateImpl(FriendlyURLEntryMapping friendlyURLEntryMapping)
    • findByPrimaryKey

      FriendlyURLEntryMapping findByPrimaryKey(long friendlyURLEntryMappingId) throws NoSuchFriendlyURLEntryMappingException
      Returns the friendly url entry mapping with the primary key or throws a NoSuchFriendlyURLEntryMappingException if it could not be found.
      Parameters:
      friendlyURLEntryMappingId - the primary key of the friendly url entry mapping
      Returns:
      the friendly url entry mapping
      Throws:
      NoSuchFriendlyURLEntryMappingException - if a friendly url entry mapping with the primary key could not be found
    • fetchByPrimaryKey

      FriendlyURLEntryMapping fetchByPrimaryKey(long friendlyURLEntryMappingId)
      Returns the friendly url entry mapping with the primary key or returns null if it could not be found.
      Parameters:
      friendlyURLEntryMappingId - the primary key of the friendly url entry mapping
      Returns:
      the friendly url entry mapping, or null if a friendly url entry mapping with the primary key could not be found
    • findAll

      Returns all the friendly url entry mappings.
      Returns:
      the friendly url entry mappings
    • findAll

      List<FriendlyURLEntryMapping> findAll(int start, int end)
      Returns a range of all the friendly url entry mappings.

      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 FriendlyURLEntryMappingModelImpl.

      Parameters:
      start - the lower bound of the range of friendly url entry mappings
      end - the upper bound of the range of friendly url entry mappings (not inclusive)
      Returns:
      the range of friendly url entry mappings
    • findAll

      List<FriendlyURLEntryMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryMapping> orderByComparator)
      Returns an ordered range of all the friendly url entry mappings.

      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 FriendlyURLEntryMappingModelImpl.

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

      List<FriendlyURLEntryMapping> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntryMapping> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the friendly url entry mappings.

      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 FriendlyURLEntryMappingModelImpl.

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

      void removeAll()
      Removes all the friendly url entry mappings from the database.
    • countAll

      int countAll()
      Returns the number of friendly url entry mappings.
      Returns:
      the number of friendly url entry mappings