Interface LayoutContentVersionPersistence

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

@ProviderType public interface LayoutContentVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutContentVersion>
The persistence interface for the layout content version service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of layout content versions where externalReferenceCode = ? and groupId = ?.
    int
    countByG_DH(long groupId, String dataHash)
    Returns the number of layout content versions where groupId = ? and dataHash = ?.
    int
    countByG_S(long groupId, int status)
    Returns the number of layout content versions where groupId = ? and status = ?.
    int
    countByP_S(long plid, int status)
    Returns the number of layout content versions where plid = ? and status = ?.
    int
    countByP_V(long plid, int version)
    Returns the number of layout content versions where plid = ? and version = ?.
    int
    countByPlid(long plid)
    Returns the number of layout content versions where plid = ?.
    create(long layoutContentVersionId)
    Creates a new layout content version with the primary key.
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the layout content version where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the layout content version where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.
    fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where groupId = ? and status = ?.
    fetchByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where plid = ? and status = ?.
    fetchByP_V(long plid, int version)
    Returns the layout content version where plid = ? and version = ? or returns null if it could not be found.
    fetchByP_V(long plid, int version, boolean useFinderCache)
    Returns the layout content version where plid = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where plid = ?.
    fetchByPrimaryKey(long layoutContentVersionId)
    Returns the layout content version with the primary key or returns null if it could not be found.
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the layout content version where externalReferenceCode = ? and groupId = ? or throws a NoSuchLayoutContentVersionException if it could not be found.
    findByG_DH(long groupId, String dataHash)
    Returns all the layout content versions where groupId = ? and dataHash = ?.
    findByG_DH(long groupId, String dataHash, int start, int end)
    Returns a range of all the layout content versions where groupId = ? and dataHash = ?.
    findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.
    findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.
    findByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.
    findByG_S(long groupId, int status)
    Returns all the layout content versions where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end)
    Returns a range of all the layout content versions where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns an ordered range of all the layout content versions where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout content versions where groupId = ? and status = ?.
    findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where groupId = ? and status = ?.
    findByP_S(long plid, int status)
    Returns all the layout content versions where plid = ? and status = ?.
    findByP_S(long plid, int status, int start, int end)
    Returns a range of all the layout content versions where plid = ? and status = ?.
    findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns an ordered range of all the layout content versions where plid = ? and status = ?.
    findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout content versions where plid = ? and status = ?.
    findByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where plid = ? and status = ?.
    findByP_V(long plid, int version)
    Returns the layout content version where plid = ? and version = ? or throws a NoSuchLayoutContentVersionException if it could not be found.
    findByPlid(long plid)
    Returns all the layout content versions where plid = ?.
    findByPlid(long plid, int start, int end)
    Returns a range of all the layout content versions where plid = ?.
    findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns an ordered range of all the layout content versions where plid = ?.
    findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout content versions where plid = ?.
    findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
    Returns the first layout content version in the ordered set where plid = ?.
    findByPrimaryKey(long layoutContentVersionId)
    Returns the layout content version with the primary key or throws a NoSuchLayoutContentVersionException if it could not be found.
    remove(long layoutContentVersionId)
    Removes the layout content version with the primary key from the database.
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the layout content version where externalReferenceCode = ? and groupId = ? from the database.
    void
    removeByG_DH(long groupId, String dataHash)
    Removes all the layout content versions where groupId = ? and dataHash = ? from the database.
    void
    removeByG_S(long groupId, int status)
    Removes all the layout content versions where groupId = ? and status = ? from the database.
    void
    removeByP_S(long plid, int status)
    Removes all the layout content versions where plid = ? and status = ? from the database.
    removeByP_V(long plid, int version)
    Removes the layout content version where plid = ? and version = ? from the database.
    void
    removeByPlid(long plid)
    Removes all the layout content versions where plid = ? from the database.
    updateImpl(LayoutContentVersion layoutContentVersion)
     

    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
  • Method Details

    • findByPlid

      List<LayoutContentVersion> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout content versions where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (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 content versions
    • findByPlid_First

      LayoutContentVersion findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException
      Returns the first layout content version in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a matching layout content version could not be found
    • fetchByPlid_First

      LayoutContentVersion fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns the first layout content version in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version, or null if a matching layout content version could not be found
    • removeByPlid

      void removeByPlid(long plid)
      Removes all the layout content versions where plid = ? from the database.
      Parameters:
      plid - the plid
    • countByPlid

      int countByPlid(long plid)
      Returns the number of layout content versions where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the number of matching layout content versions
    • findByG_DH

      List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      groupId - the group ID
      dataHash - the data hash
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (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 content versions
    • findByG_DH_First

      LayoutContentVersion findByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException
      Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.
      Parameters:
      groupId - the group ID
      dataHash - the data hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a matching layout content version could not be found
    • fetchByG_DH_First

      LayoutContentVersion fetchByG_DH_First(long groupId, String dataHash, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns the first layout content version in the ordered set where groupId = ? and dataHash = ?.
      Parameters:
      groupId - the group ID
      dataHash - the data hash
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version, or null if a matching layout content version could not be found
    • removeByG_DH

      void removeByG_DH(long groupId, String dataHash)
      Removes all the layout content versions where groupId = ? and dataHash = ? from the database.
      Parameters:
      groupId - the group ID
      dataHash - the data hash
    • countByG_DH

      int countByG_DH(long groupId, String dataHash)
      Returns the number of layout content versions where groupId = ? and dataHash = ?.
      Parameters:
      groupId - the group ID
      dataHash - the data hash
      Returns:
      the number of matching layout content versions
    • findByG_S

      List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout content versions where groupId = ? and status = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (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 content versions
    • findByG_S_First

      LayoutContentVersion findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException
      Returns the first layout content version in the ordered set where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a matching layout content version could not be found
    • fetchByG_S_First

      LayoutContentVersion fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns the first layout content version in the ordered set where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version, or null if a matching layout content version could not be found
    • removeByG_S

      void removeByG_S(long groupId, int status)
      Removes all the layout content versions where groupId = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      status - the status
    • countByG_S

      int countByG_S(long groupId, int status)
      Returns the number of layout content versions where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the number of matching layout content versions
    • findByP_V

      LayoutContentVersion findByP_V(long plid, int version) throws NoSuchLayoutContentVersionException
      Returns the layout content version where plid = ? and version = ? or throws a NoSuchLayoutContentVersionException if it could not be found.
      Parameters:
      plid - the plid
      version - the version
      Returns:
      the matching layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a matching layout content version could not be found
    • fetchByP_V

      LayoutContentVersion fetchByP_V(long plid, int version, boolean useFinderCache)
      Returns the layout content version where plid = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      plid - the plid
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout content version, or null if a matching layout content version could not be found
    • removeByP_V

      LayoutContentVersion removeByP_V(long plid, int version) throws NoSuchLayoutContentVersionException
      Removes the layout content version where plid = ? and version = ? from the database.
      Parameters:
      plid - the plid
      version - the version
      Returns:
      the layout content version that was removed
      Throws:
      NoSuchLayoutContentVersionException
    • countByP_V

      int countByP_V(long plid, int version)
      Returns the number of layout content versions where plid = ? and version = ?.
      Parameters:
      plid - the plid
      version - the version
      Returns:
      the number of matching layout content versions
    • findByP_S

      List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout content versions where plid = ? and status = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      plid - the plid
      status - the status
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (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 content versions
    • findByP_S_First

      LayoutContentVersion findByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator) throws NoSuchLayoutContentVersionException
      Returns the first layout content version in the ordered set where plid = ? and status = ?.
      Parameters:
      plid - the plid
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a matching layout content version could not be found
    • fetchByP_S_First

      LayoutContentVersion fetchByP_S_First(long plid, int status, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns the first layout content version in the ordered set where plid = ? and status = ?.
      Parameters:
      plid - the plid
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout content version, or null if a matching layout content version could not be found
    • removeByP_S

      void removeByP_S(long plid, int status)
      Removes all the layout content versions where plid = ? and status = ? from the database.
      Parameters:
      plid - the plid
      status - the status
    • countByP_S

      int countByP_S(long plid, int status)
      Returns the number of layout content versions where plid = ? and status = ?.
      Parameters:
      plid - the plid
      status - the status
      Returns:
      the number of matching layout content versions
    • findByERC_G

      LayoutContentVersion findByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutContentVersionException
      Returns the layout content version where externalReferenceCode = ? and groupId = ? or throws a NoSuchLayoutContentVersionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a matching layout content version could not be found
    • fetchByERC_G

      LayoutContentVersion fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the layout content version where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout content version, or null if a matching layout content version could not be found
    • removeByERC_G

      LayoutContentVersion removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchLayoutContentVersionException
      Removes the layout content version where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the layout content version that was removed
      Throws:
      NoSuchLayoutContentVersionException
    • countByERC_G

      int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of layout content versions where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching layout content versions
    • create

      LayoutContentVersion create(long layoutContentVersionId)
      Creates a new layout content version with the primary key. Does not add the layout content version to the database.
      Parameters:
      layoutContentVersionId - the primary key for the new layout content version
      Returns:
      the new layout content version
    • remove

      LayoutContentVersion remove(long layoutContentVersionId) throws NoSuchLayoutContentVersionException
      Removes the layout content version with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutContentVersionId - the primary key of the layout content version
      Returns:
      the layout content version that was removed
      Throws:
      NoSuchLayoutContentVersionException - if a layout content version with the primary key could not be found
    • updateImpl

      LayoutContentVersion updateImpl(LayoutContentVersion layoutContentVersion)
    • findByPrimaryKey

      LayoutContentVersion findByPrimaryKey(long layoutContentVersionId) throws NoSuchLayoutContentVersionException
      Returns the layout content version with the primary key or throws a NoSuchLayoutContentVersionException if it could not be found.
      Parameters:
      layoutContentVersionId - the primary key of the layout content version
      Returns:
      the layout content version
      Throws:
      NoSuchLayoutContentVersionException - if a layout content version with the primary key could not be found
    • fetchByPrimaryKey

      LayoutContentVersion fetchByPrimaryKey(long layoutContentVersionId)
      Returns the layout content version with the primary key or returns null if it could not be found.
      Parameters:
      layoutContentVersionId - the primary key of the layout content version
      Returns:
      the layout content version, or null if a layout content version with the primary key could not be found
    • fetchByP_V

      default LayoutContentVersion fetchByP_V(long plid, int version)
      Returns the layout content version where plid = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      plid - the plid
      version - the version
      Returns:
      the matching layout content version, or null if a matching layout content version could not be found
    • fetchByERC_G

      default LayoutContentVersion fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the layout content version where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching layout content version, or null if a matching layout content version could not be found
    • findByPlid

      default List<LayoutContentVersion> findByPlid(long plid)
      Returns all the layout content versions where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the matching layout content versions
    • findByPlid

      default List<LayoutContentVersion> findByPlid(long plid, int start, int end)
      Returns a range of all the layout content versions where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      Returns:
      the range of matching layout content versions
    • findByPlid

      default List<LayoutContentVersion> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns an ordered range of all the layout content versions where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout content versions
    • findByG_DH

      default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash)
      Returns all the layout content versions where groupId = ? and dataHash = ?.
      Parameters:
      groupId - the group ID
      dataHash - the data hash
      Returns:
      the matching layout content versions
    • findByG_DH

      default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end)
      Returns a range of all the layout content versions where groupId = ? and dataHash = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      groupId - the group ID
      dataHash - the data hash
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      Returns:
      the range of matching layout content versions
    • findByG_DH

      default List<LayoutContentVersion> findByG_DH(long groupId, String dataHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns an ordered range of all the layout content versions where groupId = ? and dataHash = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      groupId - the group ID
      dataHash - the data hash
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout content versions
    • findByG_S

      default List<LayoutContentVersion> findByG_S(long groupId, int status)
      Returns all the layout content versions where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching layout content versions
    • findByG_S

      default List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end)
      Returns a range of all the layout content versions where groupId = ? and status = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      Returns:
      the range of matching layout content versions
    • findByG_S

      default List<LayoutContentVersion> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns an ordered range of all the layout content versions where groupId = ? and status = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout content versions
    • findByP_S

      default List<LayoutContentVersion> findByP_S(long plid, int status)
      Returns all the layout content versions where plid = ? and status = ?.
      Parameters:
      plid - the plid
      status - the status
      Returns:
      the matching layout content versions
    • findByP_S

      default List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end)
      Returns a range of all the layout content versions where plid = ? and status = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      plid - the plid
      status - the status
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      Returns:
      the range of matching layout content versions
    • findByP_S

      default List<LayoutContentVersion> findByP_S(long plid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutContentVersion> orderByComparator)
      Returns an ordered range of all the layout content versions where plid = ? and status = ?.

      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.content.model.impl.LayoutContentVersionModelImpl.

      Parameters:
      plid - the plid
      status - the status
      start - the lower bound of the range of layout content versions
      end - the upper bound of the range of layout content versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout content versions