Interface CTSContentPersistence

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

@ProviderType public interface CTSContentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTSContent>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CTSContent>
The persistence interface for the cts content service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CTSContent ctsContent)
    Caches the cts content in the entity cache if it is enabled.
    void
    cacheResult(List<CTSContent> ctsContents)
    Caches the cts contents in the entity cache if it is enabled.
    int
    Returns the number of cts contents.
    int
    countByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType)
    Returns the number of cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    int
    countByC_R_P_S(long companyId, long repositoryId, String path, String storeType)
    Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    int
    countByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType)
    Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ?.
    int
    countByC_R_S(long companyId, long repositoryId, String storeType)
    Returns the number of cts contents where companyId = ? and repositoryId = ? and storeType = ?.
    create(long ctsContentId)
    Creates a new cts content with the primary key.
    fetchByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    fetchByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    fetchByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    fetchByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType)
    Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returns null if it could not be found.
    fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType, boolean useFinderCache)
    Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
    fetchByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
    fetchByPrimaryKey(long ctsContentId)
    Returns the cts content with the primary key or returns null if it could not be found.
    Returns all the cts contents.
    findAll(int start, int end)
    Returns a range of all the cts contents.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns an ordered range of all the cts contents.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cts contents.
    findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType)
    Returns all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end)
    Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_LikeP_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
    findByC_R_P_S(long companyId, long repositoryId, String path, String storeType)
    Returns all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end)
    Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
    findByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType)
    Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or throws a NoSuchContentException if it could not be found.
    findByC_R_S(long companyId, long repositoryId, String storeType)
    Returns all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
    findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end)
    Returns a range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
    findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
    findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
    findByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
    findByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
    findByC_R_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
    Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
    findByPrimaryKey(long ctsContentId)
    Returns the cts content with the primary key or throws a NoSuchContentException if it could not be found.
    remove(long ctsContentId)
    Removes the cts content with the primary key from the database.
    void
    Removes all the cts contents from the database.
    void
    removeByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType)
    Removes all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ? from the database.
    void
    removeByC_R_P_S(long companyId, long repositoryId, String path, String storeType)
    Removes all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ? from the database.
    removeByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType)
    Removes the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? from the database.
    void
    removeByC_R_S(long companyId, long repositoryId, String storeType)
    Removes all the cts contents where companyId = ? and repositoryId = ? and storeType = ? from the database.
    updateImpl(CTSContent ctsContent)
     

    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_R_S

      List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType)
      Returns all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      Returns:
      the matching cts contents
    • findByC_R_S

      List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end)
      Returns a range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      Returns:
      the range of matching cts contents
    • findByC_R_S

      List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cts contents
    • findByC_R_S

      List<CTSContent> findByC_R_S(long companyId, long repositoryId, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (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 cts contents
    • findByC_R_S_First

      CTSContent findByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_S_First

      CTSContent fetchByC_R_S_First(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cts content, or null if a matching cts content could not be found
    • findByC_R_S_Last

      CTSContent findByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_S_Last

      CTSContent fetchByC_R_S_Last(long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cts content, or null if a matching cts content could not be found
    • findByC_R_S_PrevAndNext

      CTSContent[] findByC_R_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      ctsContentId - the primary key of the current cts content
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cts content
      Throws:
      NoSuchContentException - if a cts content with the primary key could not be found
    • removeByC_R_S

      void removeByC_R_S(long companyId, long repositoryId, String storeType)
      Removes all the cts contents where companyId = ? and repositoryId = ? and storeType = ? from the database.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
    • countByC_R_S

      int countByC_R_S(long companyId, long repositoryId, String storeType)
      Returns the number of cts contents where companyId = ? and repositoryId = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      storeType - the store type
      Returns:
      the number of matching cts contents
    • findByC_R_P_S

      List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType)
      Returns all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      Returns:
      the matching cts contents
    • findByC_R_P_S

      List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end)
      Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      Returns:
      the range of matching cts contents
    • findByC_R_P_S

      List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cts contents
    • findByC_R_P_S

      List<CTSContent> findByC_R_P_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (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 cts contents
    • findByC_R_P_S_First

      CTSContent findByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_P_S_First

      CTSContent fetchByC_R_P_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cts content, or null if a matching cts content could not be found
    • findByC_R_P_S_Last

      CTSContent findByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_P_S_Last

      CTSContent fetchByC_R_P_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cts content, or null if a matching cts content could not be found
    • findByC_R_P_S_PrevAndNext

      CTSContent[] findByC_R_P_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      ctsContentId - the primary key of the current cts content
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cts content
      Throws:
      NoSuchContentException - if a cts content with the primary key could not be found
    • removeByC_R_P_S

      void removeByC_R_P_S(long companyId, long repositoryId, String path, String storeType)
      Removes all the cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ? from the database.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
    • countByC_R_P_S

      int countByC_R_P_S(long companyId, long repositoryId, String path, String storeType)
      Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      Returns:
      the number of matching cts contents
    • findByC_R_LikeP_S

      List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType)
      Returns all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      Returns:
      the matching cts contents
    • findByC_R_LikeP_S

      List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end)
      Returns a range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      Returns:
      the range of matching cts contents
    • findByC_R_LikeP_S

      List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cts contents
    • findByC_R_LikeP_S

      List<CTSContent> findByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.

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

      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (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 cts contents
    • findByC_R_LikeP_S_First

      CTSContent findByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_LikeP_S_First

      CTSContent fetchByC_R_LikeP_S_First(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns the first cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cts content, or null if a matching cts content could not be found
    • findByC_R_LikeP_S_Last

      CTSContent findByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_LikeP_S_Last

      CTSContent fetchByC_R_LikeP_S_Last(long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns the last cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cts content, or null if a matching cts content could not be found
    • findByC_R_LikeP_S_PrevAndNext

      CTSContent[] findByC_R_LikeP_S_PrevAndNext(long ctsContentId, long companyId, long repositoryId, String path, String storeType, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator) throws NoSuchContentException
      Returns the cts contents before and after the current cts content in the ordered set where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      ctsContentId - the primary key of the current cts content
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cts content
      Throws:
      NoSuchContentException - if a cts content with the primary key could not be found
    • removeByC_R_LikeP_S

      void removeByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType)
      Removes all the cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ? from the database.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
    • countByC_R_LikeP_S

      int countByC_R_LikeP_S(long companyId, long repositoryId, String path, String storeType)
      Returns the number of cts contents where companyId = ? and repositoryId = ? and path LIKE ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      storeType - the store type
      Returns:
      the number of matching cts contents
    • findByC_R_P_V_S

      CTSContent findByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) throws NoSuchContentException
      Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or throws a NoSuchContentException if it could not be found.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      version - the version
      storeType - the store type
      Returns:
      the matching cts content
      Throws:
      NoSuchContentException - if a matching cts content could not be found
    • fetchByC_R_P_V_S

      CTSContent fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType)
      Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      version - the version
      storeType - the store type
      Returns:
      the matching cts content, or null if a matching cts content could not be found
    • fetchByC_R_P_V_S

      CTSContent fetchByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType, boolean useFinderCache)
      Returns the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      version - the version
      storeType - the store type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cts content, or null if a matching cts content could not be found
    • removeByC_R_P_V_S

      CTSContent removeByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType) throws NoSuchContentException
      Removes the cts content where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ? from the database.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      version - the version
      storeType - the store type
      Returns:
      the cts content that was removed
      Throws:
      NoSuchContentException
    • countByC_R_P_V_S

      int countByC_R_P_V_S(long companyId, long repositoryId, String path, String version, String storeType)
      Returns the number of cts contents where companyId = ? and repositoryId = ? and path = ? and version = ? and storeType = ?.
      Parameters:
      companyId - the company ID
      repositoryId - the repository ID
      path - the path
      version - the version
      storeType - the store type
      Returns:
      the number of matching cts contents
    • cacheResult

      void cacheResult(CTSContent ctsContent)
      Caches the cts content in the entity cache if it is enabled.
      Parameters:
      ctsContent - the cts content
    • cacheResult

      void cacheResult(List<CTSContent> ctsContents)
      Caches the cts contents in the entity cache if it is enabled.
      Parameters:
      ctsContents - the cts contents
    • create

      CTSContent create(long ctsContentId)
      Creates a new cts content with the primary key. Does not add the cts content to the database.
      Parameters:
      ctsContentId - the primary key for the new cts content
      Returns:
      the new cts content
    • remove

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

      CTSContent updateImpl(CTSContent ctsContent)
    • findByPrimaryKey

      CTSContent findByPrimaryKey(long ctsContentId) throws NoSuchContentException
      Returns the cts content with the primary key or throws a NoSuchContentException if it could not be found.
      Parameters:
      ctsContentId - the primary key of the cts content
      Returns:
      the cts content
      Throws:
      NoSuchContentException - if a cts content with the primary key could not be found
    • fetchByPrimaryKey

      CTSContent fetchByPrimaryKey(long ctsContentId)
      Returns the cts content with the primary key or returns null if it could not be found.
      Parameters:
      ctsContentId - the primary key of the cts content
      Returns:
      the cts content, or null if a cts content with the primary key could not be found
    • findAll

      List<CTSContent> findAll()
      Returns all the cts contents.
      Returns:
      the cts contents
    • findAll

      List<CTSContent> findAll(int start, int end)
      Returns a range of all the cts contents.

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

      Parameters:
      start - the lower bound of the range of cts contents
      end - the upper bound of the range of cts contents (not inclusive)
      Returns:
      the range of cts contents
    • findAll

      List<CTSContent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator)
      Returns an ordered range of all the cts contents.

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

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

      List<CTSContent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTSContent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cts contents.

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

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

      void removeAll()
      Removes all the cts contents from the database.
    • countAll

      int countAll()
      Returns the number of cts contents.
      Returns:
      the number of cts contents