Interface ListTypePersistence

All Superinterfaces:
BasePersistence<ListType>

@ProviderType public interface ListTypePersistence extends BasePersistence<ListType>
The persistence interface for the list type service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • findByUuid

      List<ListType> findByUuid(String uuid)
      Returns all the list types where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching list types
    • findByUuid

      List<ListType> findByUuid(String uuid, int start, int end)
      Returns a range of all the list types where uuid = ?.

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

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

      List<ListType> findByUuid(String uuid, int start, int end, OrderByComparator<ListType> orderByComparator)
      Returns an ordered range of all the list types where uuid = ?.

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

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

      List<ListType> findByUuid(String uuid, int start, int end, OrderByComparator<ListType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list types where uuid = ?.

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

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

      ListType findByUuid_First(String uuid, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the first list type in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByUuid_First

      ListType fetchByUuid_First(String uuid, OrderByComparator<ListType> orderByComparator)
      Returns the first list type in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type, or null if a matching list type could not be found
    • findByUuid_Last

      ListType findByUuid_Last(String uuid, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the last list type in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByUuid_Last

      ListType fetchByUuid_Last(String uuid, OrderByComparator<ListType> orderByComparator)
      Returns the last list type in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type, or null if a matching list type could not be found
    • findByUuid_PrevAndNext

      ListType[] findByUuid_PrevAndNext(long listTypeId, String uuid, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the list types before and after the current list type in the ordered set where uuid = ?.
      Parameters:
      listTypeId - the primary key of the current list type
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type
      Throws:
      NoSuchListTypeException - if a list type with the primary key could not be found
    • removeByUuid

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

      int countByUuid(String uuid)
      Returns the number of list types where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching list types
    • findByUuid_C

      List<ListType> findByUuid_C(String uuid, long companyId)
      Returns all the list types where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching list types
    • findByUuid_C

      List<ListType> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the list types where uuid = ? and companyId = ?.

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

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

      List<ListType> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<ListType> orderByComparator)
      Returns an ordered range of all the list types where uuid = ? and companyId = ?.

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

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

      List<ListType> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<ListType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list types where uuid = ? and companyId = ?.

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

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

      ListType findByUuid_C_First(String uuid, long companyId, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the first list type in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByUuid_C_First

      ListType fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<ListType> orderByComparator)
      Returns the first list type in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type, or null if a matching list type could not be found
    • findByUuid_C_Last

      ListType findByUuid_C_Last(String uuid, long companyId, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the last list type in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByUuid_C_Last

      ListType fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<ListType> orderByComparator)
      Returns the last list type in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type, or null if a matching list type could not be found
    • findByUuid_C_PrevAndNext

      ListType[] findByUuid_C_PrevAndNext(long listTypeId, String uuid, long companyId, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the list types before and after the current list type in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      listTypeId - the primary key of the current list type
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type
      Throws:
      NoSuchListTypeException - if a list type with the primary key could not be found
    • removeByUuid_C

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

      int countByUuid_C(String uuid, long companyId)
      Returns the number of list types where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching list types
    • findByCompanyId

      List<ListType> findByCompanyId(long companyId)
      Returns all the list types where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching list types
    • findByCompanyId

      List<ListType> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the list types where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of list types
      end - the upper bound of the range of list types (not inclusive)
      Returns:
      the range of matching list types
    • findByCompanyId

      List<ListType> findByCompanyId(long companyId, int start, int end, OrderByComparator<ListType> orderByComparator)
      Returns an ordered range of all the list types where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of list types
      end - the upper bound of the range of list types (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching list types
    • findByCompanyId

      List<ListType> findByCompanyId(long companyId, int start, int end, OrderByComparator<ListType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list types where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of list types
      end - the upper bound of the range of list types (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 list types
    • findByCompanyId_First

      ListType findByCompanyId_First(long companyId, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the first list type in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByCompanyId_First

      ListType fetchByCompanyId_First(long companyId, OrderByComparator<ListType> orderByComparator)
      Returns the first list type in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type, or null if a matching list type could not be found
    • findByCompanyId_Last

      ListType findByCompanyId_Last(long companyId, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the last list type in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByCompanyId_Last

      ListType fetchByCompanyId_Last(long companyId, OrderByComparator<ListType> orderByComparator)
      Returns the last list type in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type, or null if a matching list type could not be found
    • findByCompanyId_PrevAndNext

      ListType[] findByCompanyId_PrevAndNext(long listTypeId, long companyId, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the list types before and after the current list type in the ordered set where companyId = ?.
      Parameters:
      listTypeId - the primary key of the current list type
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type
      Throws:
      NoSuchListTypeException - if a list type with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the list types where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of list types where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching list types
    • findByC_T

      List<ListType> findByC_T(long companyId, String type)
      Returns all the list types where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching list types
    • findByC_T

      List<ListType> findByC_T(long companyId, String type, int start, int end)
      Returns a range of all the list types where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of list types
      end - the upper bound of the range of list types (not inclusive)
      Returns:
      the range of matching list types
    • findByC_T

      List<ListType> findByC_T(long companyId, String type, int start, int end, OrderByComparator<ListType> orderByComparator)
      Returns an ordered range of all the list types where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of list types
      end - the upper bound of the range of list types (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching list types
    • findByC_T

      List<ListType> findByC_T(long companyId, String type, int start, int end, OrderByComparator<ListType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list types where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of list types
      end - the upper bound of the range of list types (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 list types
    • findByC_T_First

      ListType findByC_T_First(long companyId, String type, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the first list type in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByC_T_First

      ListType fetchByC_T_First(long companyId, String type, OrderByComparator<ListType> orderByComparator)
      Returns the first list type in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type, or null if a matching list type could not be found
    • findByC_T_Last

      ListType findByC_T_Last(long companyId, String type, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the last list type in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByC_T_Last

      ListType fetchByC_T_Last(long companyId, String type, OrderByComparator<ListType> orderByComparator)
      Returns the last list type in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type, or null if a matching list type could not be found
    • findByC_T_PrevAndNext

      ListType[] findByC_T_PrevAndNext(long listTypeId, long companyId, String type, OrderByComparator<ListType> orderByComparator) throws NoSuchListTypeException
      Returns the list types before and after the current list type in the ordered set where companyId = ? and type = ?.
      Parameters:
      listTypeId - the primary key of the current list type
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type
      Throws:
      NoSuchListTypeException - if a list type with the primary key could not be found
    • removeByC_T

      void removeByC_T(long companyId, String type)
      Removes all the list types where companyId = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      type - the type
    • countByC_T

      int countByC_T(long companyId, String type)
      Returns the number of list types where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching list types
    • findByC_N_T

      ListType findByC_N_T(long companyId, String name, String type) throws NoSuchListTypeException
      Returns the list type where companyId = ? and name = ? and type = ? or throws a NoSuchListTypeException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      type - the type
      Returns:
      the matching list type
      Throws:
      NoSuchListTypeException - if a matching list type could not be found
    • fetchByC_N_T

      ListType fetchByC_N_T(long companyId, String name, String type)
      Returns the list type where companyId = ? and name = ? and type = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      type - the type
      Returns:
      the matching list type, or null if a matching list type could not be found
    • fetchByC_N_T

      ListType fetchByC_N_T(long companyId, String name, String type, boolean useFinderCache)
      Returns the list type where companyId = ? and name = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching list type, or null if a matching list type could not be found
    • removeByC_N_T

      ListType removeByC_N_T(long companyId, String name, String type) throws NoSuchListTypeException
      Removes the list type where companyId = ? and name = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      name - the name
      type - the type
      Returns:
      the list type that was removed
      Throws:
      NoSuchListTypeException
    • countByC_N_T

      int countByC_N_T(long companyId, String name, String type)
      Returns the number of list types where companyId = ? and name = ? and type = ?.
      Parameters:
      companyId - the company ID
      name - the name
      type - the type
      Returns:
      the number of matching list types
    • cacheResult

      void cacheResult(ListType listType)
      Caches the list type in the entity cache if it is enabled.
      Parameters:
      listType - the list type
    • cacheResult

      void cacheResult(List<ListType> listTypes)
      Caches the list types in the entity cache if it is enabled.
      Parameters:
      listTypes - the list types
    • create

      ListType create(long listTypeId)
      Creates a new list type with the primary key. Does not add the list type to the database.
      Parameters:
      listTypeId - the primary key for the new list type
      Returns:
      the new list type
    • remove

      ListType remove(long listTypeId) throws NoSuchListTypeException
      Removes the list type with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      listTypeId - the primary key of the list type
      Returns:
      the list type that was removed
      Throws:
      NoSuchListTypeException - if a list type with the primary key could not be found
    • updateImpl

      ListType updateImpl(ListType listType)
    • findByPrimaryKey

      ListType findByPrimaryKey(long listTypeId) throws NoSuchListTypeException
      Returns the list type with the primary key or throws a NoSuchListTypeException if it could not be found.
      Parameters:
      listTypeId - the primary key of the list type
      Returns:
      the list type
      Throws:
      NoSuchListTypeException - if a list type with the primary key could not be found
    • fetchByPrimaryKey

      ListType fetchByPrimaryKey(long listTypeId)
      Returns the list type with the primary key or returns null if it could not be found.
      Parameters:
      listTypeId - the primary key of the list type
      Returns:
      the list type, or null if a list type with the primary key could not be found
    • findAll

      List<ListType> findAll()
      Returns all the list types.
      Returns:
      the list types
    • findAll

      List<ListType> findAll(int start, int end)
      Returns a range of all the list types.

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

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

      List<ListType> findAll(int start, int end, OrderByComparator<ListType> orderByComparator)
      Returns an ordered range of all the list types.

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

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

      List<ListType> findAll(int start, int end, OrderByComparator<ListType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list types.

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

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

      void removeAll()
      Removes all the list types from the database.
    • countAll

      int countAll()
      Returns the number of list types.
      Returns:
      the number of list types