Interface ListTypeDefinitionPersistence

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

@ProviderType public interface ListTypeDefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ListTypeDefinition>
The persistence interface for the list type definition service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(ListTypeDefinition listTypeDefinition)
    Caches the list type definition in the entity cache if it is enabled.
    void
    cacheResult(List<ListTypeDefinition> listTypeDefinitions)
    Caches the list type definitions in the entity cache if it is enabled.
    int
    Returns the number of list type definitions.
    int
    countByC_U(long companyId, long userId)
    Returns the number of list type definitions where companyId = ? and userId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of list type definitions where externalReferenceCode = ? and companyId = ?.
    int
    Returns the number of list type definitions where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of list type definitions where uuid = ? and companyId = ?.
    create(long listTypeDefinitionId)
    Creates a new list type definition with the primary key.
    fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the first list type definition in the ordered set where companyId = ? and userId = ?.
    fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the last list type definition in the ordered set where companyId = ? and userId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the list type definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the list type definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long listTypeDefinitionId)
    Returns the list type definition with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the first list type definition in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the last list type definition in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the first list type definition in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the last list type definition in the ordered set where uuid = ?.
    int
    filterCountByC_U(long companyId, long userId)
    Returns the number of list type definitions that the user has permission to view where companyId = ? and userId = ?.
    int
    Returns the number of list type definitions that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of list type definitions that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_U(long companyId, long userId)
    Returns all the list type definitions that the user has permission to view where companyId = ? and userId = ?.
    filterFindByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the list type definitions that the user has permission to view where companyId = ? and userId = ?.
    filterFindByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions that the user has permissions to view where companyId = ? and userId = ?.
    filterFindByC_U_PrevAndNext(long listTypeDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where companyId = ? and userId = ?.
    Returns all the list type definitions that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the list type definitions that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the list type definitions that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the list type definitions that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions that the user has permissions to view where uuid = ? and companyId = ?.
    filterFindByUuid_C_PrevAndNext(long listTypeDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_PrevAndNext(long listTypeDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where uuid = ?.
    Returns all the list type definitions.
    findAll(int start, int end)
    Returns a range of all the list type definitions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the list type definitions.
    findByC_U(long companyId, long userId)
    Returns all the list type definitions where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the list type definitions where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the list type definitions where companyId = ? and userId = ?.
    findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the first list type definition in the ordered set where companyId = ? and userId = ?.
    findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the last list type definition in the ordered set where companyId = ? and userId = ?.
    findByC_U_PrevAndNext(long listTypeDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the list type definitions before and after the current list type definition in the ordered set where companyId = ? and userId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the list type definition where externalReferenceCode = ? and companyId = ? or throws a NoSuchListTypeDefinitionException if it could not be found.
    findByPrimaryKey(long listTypeDefinitionId)
    Returns the list type definition with the primary key or throws a NoSuchListTypeDefinitionException if it could not be found.
    Returns all the list type definitions where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the list type definitions where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the list type definitions where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the list type definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the list type definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns an ordered range of all the list type definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the list type definitions where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the first list type definition in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the last list type definition in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long listTypeDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the list type definitions before and after the current list type definition in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the first list type definition in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the last list type definition in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long listTypeDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
    Returns the list type definitions before and after the current list type definition in the ordered set where uuid = ?.
    remove(long listTypeDefinitionId)
    Removes the list type definition with the primary key from the database.
    void
    Removes all the list type definitions from the database.
    void
    removeByC_U(long companyId, long userId)
    Removes all the list type definitions where companyId = ? and userId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the list type definition where externalReferenceCode = ? and companyId = ? from the database.
    void
    Removes all the list type definitions where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the list type definitions where uuid = ? and companyId = ? from the database.
    updateImpl(ListTypeDefinition listTypeDefinition)
     

    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

    • findByUuid

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

      List<ListTypeDefinition> findByUuid(String uuid, int start, int end)
      Returns a range of all the list type definitions 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 ListTypeDefinitionModelImpl.

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

      List<ListTypeDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions 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 ListTypeDefinitionModelImpl.

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

      List<ListTypeDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list type definitions 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 ListTypeDefinitionModelImpl.

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

      ListTypeDefinition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the first list type definition 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 definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByUuid_First

      ListTypeDefinition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns the first list type definition 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 definition, or null if a matching list type definition could not be found
    • findByUuid_Last

      ListTypeDefinition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the last list type definition 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 definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByUuid_Last

      ListTypeDefinition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns the last list type definition 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 definition, or null if a matching list type definition could not be found
    • findByUuid_PrevAndNext

      ListTypeDefinition[] findByUuid_PrevAndNext(long listTypeDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the list type definitions before and after the current list type definition in the ordered set where uuid = ?.
      Parameters:
      listTypeDefinitionId - the primary key of the current list type definition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a list type definition with the primary key could not be found
    • filterFindByUuid

      List<ListTypeDefinition> filterFindByUuid(String uuid)
      Returns all the list type definitions that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching list type definitions that the user has permission to view
    • filterFindByUuid

      List<ListTypeDefinition> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the list type definitions that the user has permission to view 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 ListTypeDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      Returns:
      the range of matching list type definitions that the user has permission to view
    • filterFindByUuid

      List<ListTypeDefinition> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions that the user has permissions to view 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 ListTypeDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching list type definitions that the user has permission to view
    • filterFindByUuid_PrevAndNext

      ListTypeDefinition[] filterFindByUuid_PrevAndNext(long listTypeDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where uuid = ?.
      Parameters:
      listTypeDefinitionId - the primary key of the current list type definition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a list type definition with the primary key could not be found
    • removeByUuid

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

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

      int filterCountByUuid(String uuid)
      Returns the number of list type definitions that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching list type definitions that the user has permission to view
    • findByUuid_C

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

      List<ListTypeDefinition> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the list type definitions 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 ListTypeDefinitionModelImpl.

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

      List<ListTypeDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions 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 ListTypeDefinitionModelImpl.

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

      List<ListTypeDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list type definitions 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 ListTypeDefinitionModelImpl.

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

      ListTypeDefinition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the first list type definition 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 definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByUuid_C_First

      ListTypeDefinition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns the first list type definition 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 definition, or null if a matching list type definition could not be found
    • findByUuid_C_Last

      ListTypeDefinition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the last list type definition 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 definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByUuid_C_Last

      ListTypeDefinition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns the last list type definition 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 definition, or null if a matching list type definition could not be found
    • findByUuid_C_PrevAndNext

      ListTypeDefinition[] findByUuid_C_PrevAndNext(long listTypeDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the list type definitions before and after the current list type definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      listTypeDefinitionId - the primary key of the current list type definition
      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 definition
      Throws:
      NoSuchListTypeDefinitionException - if a list type definition with the primary key could not be found
    • filterFindByUuid_C

      List<ListTypeDefinition> filterFindByUuid_C(String uuid, long companyId)
      Returns all the list type definitions that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching list type definitions that the user has permission to view
    • filterFindByUuid_C

      List<ListTypeDefinition> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the list type definitions that the user has permission to view 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 ListTypeDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      Returns:
      the range of matching list type definitions that the user has permission to view
    • filterFindByUuid_C

      List<ListTypeDefinition> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions that the user has permissions to view 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 ListTypeDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching list type definitions that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      ListTypeDefinition[] filterFindByUuid_C_PrevAndNext(long listTypeDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      listTypeDefinitionId - the primary key of the current list type definition
      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 definition
      Throws:
      NoSuchListTypeDefinitionException - if a list type definition with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the list type definitions 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 type definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching list type definitions
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of list type definitions that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching list type definitions that the user has permission to view
    • findByC_U

      List<ListTypeDefinition> findByC_U(long companyId, long userId)
      Returns all the list type definitions where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching list type definitions
    • findByC_U

      List<ListTypeDefinition> findByC_U(long companyId, long userId, int start, int end)
      Returns a range of all the list type definitions where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      Returns:
      the range of matching list type definitions
    • findByC_U

      List<ListTypeDefinition> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions where companyId = ? and userId = ?.

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

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

      List<ListTypeDefinition> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list type definitions where companyId = ? and userId = ?.

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

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

      ListTypeDefinition findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the first list type definition in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByC_U_First

      ListTypeDefinition fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns the first list type definition in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching list type definition, or null if a matching list type definition could not be found
    • findByC_U_Last

      ListTypeDefinition findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the last list type definition in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByC_U_Last

      ListTypeDefinition fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns the last list type definition in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching list type definition, or null if a matching list type definition could not be found
    • findByC_U_PrevAndNext

      ListTypeDefinition[] findByC_U_PrevAndNext(long listTypeDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the list type definitions before and after the current list type definition in the ordered set where companyId = ? and userId = ?.
      Parameters:
      listTypeDefinitionId - the primary key of the current list type definition
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a list type definition with the primary key could not be found
    • filterFindByC_U

      List<ListTypeDefinition> filterFindByC_U(long companyId, long userId)
      Returns all the list type definitions that the user has permission to view where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching list type definitions that the user has permission to view
    • filterFindByC_U

      List<ListTypeDefinition> filterFindByC_U(long companyId, long userId, int start, int end)
      Returns a range of all the list type definitions that the user has permission to view where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      Returns:
      the range of matching list type definitions that the user has permission to view
    • filterFindByC_U

      List<ListTypeDefinition> filterFindByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions that the user has permissions to view where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching list type definitions that the user has permission to view
    • filterFindByC_U_PrevAndNext

      ListTypeDefinition[] filterFindByC_U_PrevAndNext(long listTypeDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
      Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where companyId = ? and userId = ?.
      Parameters:
      listTypeDefinitionId - the primary key of the current list type definition
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a list type definition with the primary key could not be found
    • removeByC_U

      void removeByC_U(long companyId, long userId)
      Removes all the list type definitions where companyId = ? and userId = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
    • countByC_U

      int countByC_U(long companyId, long userId)
      Returns the number of list type definitions where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching list type definitions
    • filterCountByC_U

      int filterCountByC_U(long companyId, long userId)
      Returns the number of list type definitions that the user has permission to view where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching list type definitions that the user has permission to view
    • findByERC_C

      ListTypeDefinition findByERC_C(String externalReferenceCode, long companyId) throws NoSuchListTypeDefinitionException
      Returns the list type definition where externalReferenceCode = ? and companyId = ? or throws a NoSuchListTypeDefinitionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching list type definition
      Throws:
      NoSuchListTypeDefinitionException - if a matching list type definition could not be found
    • fetchByERC_C

      ListTypeDefinition fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the list type definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching list type definition, or null if a matching list type definition could not be found
    • fetchByERC_C

      ListTypeDefinition fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the list type definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching list type definition, or null if a matching list type definition could not be found
    • removeByERC_C

      ListTypeDefinition removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchListTypeDefinitionException
      Removes the list type definition where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the list type definition that was removed
      Throws:
      NoSuchListTypeDefinitionException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of list type definitions where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching list type definitions
    • cacheResult

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

      void cacheResult(List<ListTypeDefinition> listTypeDefinitions)
      Caches the list type definitions in the entity cache if it is enabled.
      Parameters:
      listTypeDefinitions - the list type definitions
    • create

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

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

      ListTypeDefinition updateImpl(ListTypeDefinition listTypeDefinition)
    • findByPrimaryKey

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

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

      Returns all the list type definitions.
      Returns:
      the list type definitions
    • findAll

      List<ListTypeDefinition> findAll(int start, int end)
      Returns a range of all the list type definitions.

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

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

      List<ListTypeDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
      Returns an ordered range of all the list type definitions.

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

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

      List<ListTypeDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the list type definitions.

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

      Parameters:
      start - the lower bound of the range of list type definitions
      end - the upper bound of the range of list type definitions (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 type definitions
    • removeAll

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

      int countAll()
      Returns the number of list type definitions.
      Returns:
      the number of list type definitions