Interface LayoutSEOSitePersistence

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

@ProviderType public interface LayoutSEOSitePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutSEOSite>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutSEOSite>
The persistence interface for the layout seo site service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByGroupId(long groupId)
    Returns the number of layout seo sites where groupId = ?.
    int
    Returns the number of layout seo sites where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of layout seo sites where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of layout seo sites where uuid = ? and groupId = ?.
    create(long layoutSEOSiteId)
    Creates a new layout seo site with the primary key.
    fetchByGroupId(long groupId)
    Returns the layout seo site where groupId = ? or returns null if it could not be found.
    fetchByGroupId(long groupId, boolean useFinderCache)
    Returns the layout seo site where groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long layoutSEOSiteId)
    Returns the layout seo site 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<LayoutSEOSite> orderByComparator)
    Returns the first layout seo site in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
    Returns the first layout seo site in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the layout seo site where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the layout seo site where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    findByGroupId(long groupId)
    Returns the layout seo site where groupId = ? or throws a NoSuchSiteException if it could not be found.
    findByPrimaryKey(long layoutSEOSiteId)
    Returns the layout seo site with the primary key or throws a NoSuchSiteException if it could not be found.
    Returns all the layout seo sites where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the layout seo sites where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
    Returns an ordered range of all the layout seo sites where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout seo sites where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the layout seo sites where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the layout seo sites where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
    Returns an ordered range of all the layout seo sites where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout seo sites where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
    Returns the first layout seo site in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
    Returns the first layout seo site in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the layout seo site where uuid = ? and groupId = ? or throws a NoSuchSiteException if it could not be found.
    remove(long layoutSEOSiteId)
    Removes the layout seo site with the primary key from the database.
    removeByGroupId(long groupId)
    Removes the layout seo site where groupId = ? from the database.
    void
    Removes all the layout seo sites where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the layout seo sites where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the layout seo site where uuid = ? and groupId = ? from the database.
    updateImpl(LayoutSEOSite layoutSEOSite)
     

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

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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

    • findByUuid

      List<LayoutSEOSite> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout seo sites 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout seo sites
      end - the upper bound of the range of layout seo sites (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 layout seo sites
    • findByUuid_First

      LayoutSEOSite findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
      Returns the first layout seo site in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout seo site
      Throws:
      NoSuchSiteException - if a matching layout seo site could not be found
    • fetchByUuid_First

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

      void removeByUuid(String uuid)
      Removes all the layout seo sites where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of layout seo sites where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching layout seo sites
    • findByUUID_G

      LayoutSEOSite findByUUID_G(String uuid, long groupId) throws NoSuchSiteException
      Returns the layout seo site where uuid = ? and groupId = ? or throws a NoSuchSiteException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout seo site
      Throws:
      NoSuchSiteException - if a matching layout seo site could not be found
    • fetchByUUID_G

      LayoutSEOSite fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the layout seo site 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 layout seo site, or null if a matching layout seo site could not be found
    • removeByUUID_G

      LayoutSEOSite removeByUUID_G(String uuid, long groupId) throws NoSuchSiteException
      Removes the layout seo site where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the layout seo site that was removed
      Throws:
      NoSuchSiteException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of layout seo sites where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching layout seo sites
    • findByUuid_C

      List<LayoutSEOSite> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout seo sites 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout seo sites
      end - the upper bound of the range of layout seo sites (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 layout seo sites
    • findByUuid_C_First

      LayoutSEOSite findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
      Returns the first layout seo site in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout seo site
      Throws:
      NoSuchSiteException - if a matching layout seo site could not be found
    • fetchByUuid_C_First

      LayoutSEOSite fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
      Returns the first layout seo site in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout seo site, or null if a matching layout seo site could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the layout seo sites where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of layout seo sites where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching layout seo sites
    • findByGroupId

      LayoutSEOSite findByGroupId(long groupId) throws NoSuchSiteException
      Returns the layout seo site where groupId = ? or throws a NoSuchSiteException if it could not be found.
      Parameters:
      groupId - the group ID
      Returns:
      the matching layout seo site
      Throws:
      NoSuchSiteException - if a matching layout seo site could not be found
    • fetchByGroupId

      LayoutSEOSite fetchByGroupId(long groupId, boolean useFinderCache)
      Returns the layout seo site where groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout seo site, or null if a matching layout seo site could not be found
    • removeByGroupId

      LayoutSEOSite removeByGroupId(long groupId) throws NoSuchSiteException
      Removes the layout seo site where groupId = ? from the database.
      Parameters:
      groupId - the group ID
      Returns:
      the layout seo site that was removed
      Throws:
      NoSuchSiteException
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of layout seo sites where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching layout seo sites
    • create

      LayoutSEOSite create(long layoutSEOSiteId)
      Creates a new layout seo site with the primary key. Does not add the layout seo site to the database.
      Parameters:
      layoutSEOSiteId - the primary key for the new layout seo site
      Returns:
      the new layout seo site
    • remove

      LayoutSEOSite remove(long layoutSEOSiteId) throws NoSuchSiteException
      Removes the layout seo site with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutSEOSiteId - the primary key of the layout seo site
      Returns:
      the layout seo site that was removed
      Throws:
      NoSuchSiteException - if a layout seo site with the primary key could not be found
    • updateImpl

      LayoutSEOSite updateImpl(LayoutSEOSite layoutSEOSite)
    • findByPrimaryKey

      LayoutSEOSite findByPrimaryKey(long layoutSEOSiteId) throws NoSuchSiteException
      Returns the layout seo site with the primary key or throws a NoSuchSiteException if it could not be found.
      Parameters:
      layoutSEOSiteId - the primary key of the layout seo site
      Returns:
      the layout seo site
      Throws:
      NoSuchSiteException - if a layout seo site with the primary key could not be found
    • fetchByPrimaryKey

      LayoutSEOSite fetchByPrimaryKey(long layoutSEOSiteId)
      Returns the layout seo site with the primary key or returns null if it could not be found.
      Parameters:
      layoutSEOSiteId - the primary key of the layout seo site
      Returns:
      the layout seo site, or null if a layout seo site with the primary key could not be found
    • fetchByUUID_G

      default LayoutSEOSite fetchByUUID_G(String uuid, long groupId)
      Returns the layout seo site where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout seo site, or null if a matching layout seo site could not be found
    • fetchByGroupId

      default LayoutSEOSite fetchByGroupId(long groupId)
      Returns the layout seo site where groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      Returns:
      the matching layout seo site, or null if a matching layout seo site could not be found
    • findByUuid

      default List<LayoutSEOSite> findByUuid(String uuid)
      Returns all the layout seo sites where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layout seo sites
    • findByUuid

      default List<LayoutSEOSite> findByUuid(String uuid, int start, int end)
      Returns a range of all the layout seo sites 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout seo sites
      end - the upper bound of the range of layout seo sites (not inclusive)
      Returns:
      the range of matching layout seo sites
    • findByUuid

      default List<LayoutSEOSite> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
      Returns an ordered range of all the layout seo sites 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout seo sites
      end - the upper bound of the range of layout seo sites (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout seo sites
    • findByUuid_C

      default List<LayoutSEOSite> findByUuid_C(String uuid, long companyId)
      Returns all the layout seo sites where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching layout seo sites
    • findByUuid_C

      default List<LayoutSEOSite> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the layout seo sites 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout seo sites
      end - the upper bound of the range of layout seo sites (not inclusive)
      Returns:
      the range of matching layout seo sites
    • findByUuid_C

      default List<LayoutSEOSite> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
      Returns an ordered range of all the layout seo sites 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl.

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