Interface CTPreferencesPersistence

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

@ProviderType public interface CTPreferencesPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTPreferences>
The persistence interface for the ct preferences service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CTPreferences ctPreferences)
    Caches the ct preferences in the entity cache if it is enabled.
    void
    cacheResult(List<CTPreferences> ctPreferenceses)
    Caches the ct preferenceses in the entity cache if it is enabled.
    int
    Returns the number of ct preferenceses.
    int
    countByC_U(long companyId, long userId)
    Returns the number of ct preferenceses where companyId = ? and userId = ?.
    int
    countByCtCollectionId(long ctCollectionId)
    Returns the number of ct preferenceses where ctCollectionId = ?.
    int
    countByPreviousCtCollectionId(long previousCtCollectionId)
    Returns the number of ct preferenceses where previousCtCollectionId = ?.
    create(long ctPreferencesId)
    Creates a new ct preferences with the primary key.
    fetchByC_U(long companyId, long userId)
    Returns the ct preferences where companyId = ? and userId = ? or returns null if it could not be found.
    fetchByC_U(long companyId, long userId, boolean useFinderCache)
    Returns the ct preferences where companyId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the first ct preferences in the ordered set where ctCollectionId = ?.
    fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the last ct preferences in the ordered set where ctCollectionId = ?.
    fetchByPreviousCtCollectionId_First(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the first ct preferences in the ordered set where previousCtCollectionId = ?.
    fetchByPreviousCtCollectionId_Last(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the last ct preferences in the ordered set where previousCtCollectionId = ?.
    fetchByPrimaryKey(long ctPreferencesId)
    Returns the ct preferences with the primary key or returns null if it could not be found.
    Returns all the ct preferenceses.
    findAll(int start, int end)
    Returns a range of all the ct preferenceses.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns an ordered range of all the ct preferenceses.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct preferenceses.
    findByC_U(long companyId, long userId)
    Returns the ct preferences where companyId = ? and userId = ? or throws a NoSuchPreferencesException if it could not be found.
    findByCtCollectionId(long ctCollectionId)
    Returns all the ct preferenceses where ctCollectionId = ?.
    findByCtCollectionId(long ctCollectionId, int start, int end)
    Returns a range of all the ct preferenceses where ctCollectionId = ?.
    findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns an ordered range of all the ct preferenceses where ctCollectionId = ?.
    findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct preferenceses where ctCollectionId = ?.
    findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the first ct preferences in the ordered set where ctCollectionId = ?.
    findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the last ct preferences in the ordered set where ctCollectionId = ?.
    findByCtCollectionId_PrevAndNext(long ctPreferencesId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the ct preferenceses before and after the current ct preferences in the ordered set where ctCollectionId = ?.
    findByPreviousCtCollectionId(long previousCtCollectionId)
    Returns all the ct preferenceses where previousCtCollectionId = ?.
    findByPreviousCtCollectionId(long previousCtCollectionId, int start, int end)
    Returns a range of all the ct preferenceses where previousCtCollectionId = ?.
    findByPreviousCtCollectionId(long previousCtCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns an ordered range of all the ct preferenceses where previousCtCollectionId = ?.
    findByPreviousCtCollectionId(long previousCtCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct preferenceses where previousCtCollectionId = ?.
    findByPreviousCtCollectionId_First(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the first ct preferences in the ordered set where previousCtCollectionId = ?.
    findByPreviousCtCollectionId_Last(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the last ct preferences in the ordered set where previousCtCollectionId = ?.
    findByPreviousCtCollectionId_PrevAndNext(long ctPreferencesId, long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
    Returns the ct preferenceses before and after the current ct preferences in the ordered set where previousCtCollectionId = ?.
    findByPrimaryKey(long ctPreferencesId)
    Returns the ct preferences with the primary key or throws a NoSuchPreferencesException if it could not be found.
    remove(long ctPreferencesId)
    Removes the ct preferences with the primary key from the database.
    void
    Removes all the ct preferenceses from the database.
    removeByC_U(long companyId, long userId)
    Removes the ct preferences where companyId = ? and userId = ? from the database.
    void
    removeByCtCollectionId(long ctCollectionId)
    Removes all the ct preferenceses where ctCollectionId = ? from the database.
    void
    removeByPreviousCtCollectionId(long previousCtCollectionId)
    Removes all the ct preferenceses where previousCtCollectionId = ? from the database.
    updateImpl(CTPreferences ctPreferences)
     

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

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

    • findByCtCollectionId

      List<CTPreferences> findByCtCollectionId(long ctCollectionId)
      Returns all the ct preferenceses where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the matching ct preferenceses
    • findByCtCollectionId

      List<CTPreferences> findByCtCollectionId(long ctCollectionId, int start, int end)
      Returns a range of all the ct preferenceses where ctCollectionId = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct preferenceses
      end - the upper bound of the range of ct preferenceses (not inclusive)
      Returns:
      the range of matching ct preferenceses
    • findByCtCollectionId

      List<CTPreferences> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
      Returns an ordered range of all the ct preferenceses where ctCollectionId = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct preferenceses
      end - the upper bound of the range of ct preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct preferenceses
    • findByCtCollectionId

      List<CTPreferences> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct preferenceses where ctCollectionId = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct preferenceses
      end - the upper bound of the range of ct preferenceses (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 ct preferenceses
    • findByCtCollectionId_First

      CTPreferences findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator) throws NoSuchPreferencesException
      Returns the first ct preferences in the ordered set where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct preferences
      Throws:
      NoSuchPreferencesException - if a matching ct preferences could not be found
    • fetchByCtCollectionId_First

      CTPreferences fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
      Returns the first ct preferences in the ordered set where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct preferences, or null if a matching ct preferences could not be found
    • findByCtCollectionId_Last

      CTPreferences findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator) throws NoSuchPreferencesException
      Returns the last ct preferences in the ordered set where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct preferences
      Throws:
      NoSuchPreferencesException - if a matching ct preferences could not be found
    • fetchByCtCollectionId_Last

      CTPreferences fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
      Returns the last ct preferences in the ordered set where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct preferences, or null if a matching ct preferences could not be found
    • findByCtCollectionId_PrevAndNext

      CTPreferences[] findByCtCollectionId_PrevAndNext(long ctPreferencesId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator) throws NoSuchPreferencesException
      Returns the ct preferenceses before and after the current ct preferences in the ordered set where ctCollectionId = ?.
      Parameters:
      ctPreferencesId - the primary key of the current ct preferences
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct preferences
      Throws:
      NoSuchPreferencesException - if a ct preferences with the primary key could not be found
    • removeByCtCollectionId

      void removeByCtCollectionId(long ctCollectionId)
      Removes all the ct preferenceses where ctCollectionId = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
    • countByCtCollectionId

      int countByCtCollectionId(long ctCollectionId)
      Returns the number of ct preferenceses where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the number of matching ct preferenceses
    • findByPreviousCtCollectionId

      List<CTPreferences> findByPreviousCtCollectionId(long previousCtCollectionId)
      Returns all the ct preferenceses where previousCtCollectionId = ?.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
      Returns:
      the matching ct preferenceses
    • findByPreviousCtCollectionId

      List<CTPreferences> findByPreviousCtCollectionId(long previousCtCollectionId, int start, int end)
      Returns a range of all the ct preferenceses where previousCtCollectionId = ?.

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

      Parameters:
      previousCtCollectionId - the previous ct collection ID
      start - the lower bound of the range of ct preferenceses
      end - the upper bound of the range of ct preferenceses (not inclusive)
      Returns:
      the range of matching ct preferenceses
    • findByPreviousCtCollectionId

      List<CTPreferences> findByPreviousCtCollectionId(long previousCtCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
      Returns an ordered range of all the ct preferenceses where previousCtCollectionId = ?.

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

      Parameters:
      previousCtCollectionId - the previous ct collection ID
      start - the lower bound of the range of ct preferenceses
      end - the upper bound of the range of ct preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct preferenceses
    • findByPreviousCtCollectionId

      List<CTPreferences> findByPreviousCtCollectionId(long previousCtCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct preferenceses where previousCtCollectionId = ?.

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

      Parameters:
      previousCtCollectionId - the previous ct collection ID
      start - the lower bound of the range of ct preferenceses
      end - the upper bound of the range of ct preferenceses (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 ct preferenceses
    • findByPreviousCtCollectionId_First

      CTPreferences findByPreviousCtCollectionId_First(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator) throws NoSuchPreferencesException
      Returns the first ct preferences in the ordered set where previousCtCollectionId = ?.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct preferences
      Throws:
      NoSuchPreferencesException - if a matching ct preferences could not be found
    • fetchByPreviousCtCollectionId_First

      CTPreferences fetchByPreviousCtCollectionId_First(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
      Returns the first ct preferences in the ordered set where previousCtCollectionId = ?.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct preferences, or null if a matching ct preferences could not be found
    • findByPreviousCtCollectionId_Last

      CTPreferences findByPreviousCtCollectionId_Last(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator) throws NoSuchPreferencesException
      Returns the last ct preferences in the ordered set where previousCtCollectionId = ?.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct preferences
      Throws:
      NoSuchPreferencesException - if a matching ct preferences could not be found
    • fetchByPreviousCtCollectionId_Last

      CTPreferences fetchByPreviousCtCollectionId_Last(long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator)
      Returns the last ct preferences in the ordered set where previousCtCollectionId = ?.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct preferences, or null if a matching ct preferences could not be found
    • findByPreviousCtCollectionId_PrevAndNext

      CTPreferences[] findByPreviousCtCollectionId_PrevAndNext(long ctPreferencesId, long previousCtCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTPreferences> orderByComparator) throws NoSuchPreferencesException
      Returns the ct preferenceses before and after the current ct preferences in the ordered set where previousCtCollectionId = ?.
      Parameters:
      ctPreferencesId - the primary key of the current ct preferences
      previousCtCollectionId - the previous ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct preferences
      Throws:
      NoSuchPreferencesException - if a ct preferences with the primary key could not be found
    • removeByPreviousCtCollectionId

      void removeByPreviousCtCollectionId(long previousCtCollectionId)
      Removes all the ct preferenceses where previousCtCollectionId = ? from the database.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
    • countByPreviousCtCollectionId

      int countByPreviousCtCollectionId(long previousCtCollectionId)
      Returns the number of ct preferenceses where previousCtCollectionId = ?.
      Parameters:
      previousCtCollectionId - the previous ct collection ID
      Returns:
      the number of matching ct preferenceses
    • findByC_U

      CTPreferences findByC_U(long companyId, long userId) throws NoSuchPreferencesException
      Returns the ct preferences where companyId = ? and userId = ? or throws a NoSuchPreferencesException if it could not be found.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching ct preferences
      Throws:
      NoSuchPreferencesException - if a matching ct preferences could not be found
    • fetchByC_U

      CTPreferences fetchByC_U(long companyId, long userId)
      Returns the ct preferences where companyId = ? and userId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching ct preferences, or null if a matching ct preferences could not be found
    • fetchByC_U

      CTPreferences fetchByC_U(long companyId, long userId, boolean useFinderCache)
      Returns the ct preferences where companyId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      userId - the user ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ct preferences, or null if a matching ct preferences could not be found
    • removeByC_U

      CTPreferences removeByC_U(long companyId, long userId) throws NoSuchPreferencesException
      Removes the ct preferences where companyId = ? and userId = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the ct preferences that was removed
      Throws:
      NoSuchPreferencesException
    • countByC_U

      int countByC_U(long companyId, long userId)
      Returns the number of ct preferenceses where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching ct preferenceses
    • cacheResult

      void cacheResult(CTPreferences ctPreferences)
      Caches the ct preferences in the entity cache if it is enabled.
      Parameters:
      ctPreferences - the ct preferences
    • cacheResult

      void cacheResult(List<CTPreferences> ctPreferenceses)
      Caches the ct preferenceses in the entity cache if it is enabled.
      Parameters:
      ctPreferenceses - the ct preferenceses
    • create

      CTPreferences create(long ctPreferencesId)
      Creates a new ct preferences with the primary key. Does not add the ct preferences to the database.
      Parameters:
      ctPreferencesId - the primary key for the new ct preferences
      Returns:
      the new ct preferences
    • remove

      CTPreferences remove(long ctPreferencesId) throws NoSuchPreferencesException
      Removes the ct preferences with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      ctPreferencesId - the primary key of the ct preferences
      Returns:
      the ct preferences that was removed
      Throws:
      NoSuchPreferencesException - if a ct preferences with the primary key could not be found
    • updateImpl

      CTPreferences updateImpl(CTPreferences ctPreferences)
    • findByPrimaryKey

      CTPreferences findByPrimaryKey(long ctPreferencesId) throws NoSuchPreferencesException
      Returns the ct preferences with the primary key or throws a NoSuchPreferencesException if it could not be found.
      Parameters:
      ctPreferencesId - the primary key of the ct preferences
      Returns:
      the ct preferences
      Throws:
      NoSuchPreferencesException - if a ct preferences with the primary key could not be found
    • fetchByPrimaryKey

      CTPreferences fetchByPrimaryKey(long ctPreferencesId)
      Returns the ct preferences with the primary key or returns null if it could not be found.
      Parameters:
      ctPreferencesId - the primary key of the ct preferences
      Returns:
      the ct preferences, or null if a ct preferences with the primary key could not be found
    • findAll

      List<CTPreferences> findAll()
      Returns all the ct preferenceses.
      Returns:
      the ct preferenceses
    • findAll

      List<CTPreferences> findAll(int start, int end)
      Returns a range of all the ct preferenceses.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the ct preferenceses from the database.
    • countAll

      int countAll()
      Returns the number of ct preferenceses.
      Returns:
      the number of ct preferenceses