Interface ListTypeDefinitionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ListTypeDefinition>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
countAll()
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
countByUuid
(String uuid) 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 returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the list type definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long listTypeDefinitionId) Returns the list type definition with the primary key or returnsnull
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
filterCountByUuid
(String uuid) 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 = ?.filterFindByUuid
(String uuid) 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 = ?.findAll()
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 aNoSuchListTypeDefinitionException
if it could not be found.findByPrimaryKey
(long listTypeDefinitionId) Returns the list type definition with the primary key or throws aNoSuchListTypeDefinitionException
if it could not be found.findByUuid
(String uuid) 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
removeByUuid
(String uuid) 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
Returns all the list type definitions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching list type definitions
-
findByUuid
Returns a range of all the list type definitions where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the list type definitions where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of list type definitions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching list type definitions
-
filterCountByUuid
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
Returns all the list type definitions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching list type definitions
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the list type definitions that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching list type definitions that the user has permission to view
-
filterFindByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the list type definitions where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of list type definitions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching list type definitions
-
filterCountByUuid_C
Returns the number of list type definitions that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching list type definitions that the user has permission to view
-
findByC_U
Returns all the list type definitions where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching list type definitions
-
findByC_U
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 definitioncompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns all the list type definitions that the user has permission to view where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching list type definitions that the user has permission to view
-
filterFindByC_U
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 definitioncompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDuserId
- 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 IDuserId
- 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 IDuserId
- 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 aNoSuchListTypeDefinitionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching list type definition
- Throws:
NoSuchListTypeDefinitionException
- if a matching list type definition could not be found
-
fetchByERC_C
Returns the list type definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- 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 codecompanyId
- the company ID- Returns:
- the list type definition that was removed
- Throws:
NoSuchListTypeDefinitionException
-
countByERC_C
Returns the number of list type definitions where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching list type definitions
-
cacheResult
Caches the list type definition in the entity cache if it is enabled.- Parameters:
listTypeDefinition
- the list type definition
-
cacheResult
Caches the list type definitions in the entity cache if it is enabled.- Parameters:
listTypeDefinitions
- the list type definitions
-
create
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
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
-
findByPrimaryKey
ListTypeDefinition findByPrimaryKey(long listTypeDefinitionId) throws NoSuchListTypeDefinitionException Returns the list type definition with the primary key or throws aNoSuchListTypeDefinitionException
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
Returns the list type definition with the primary key or returnsnull
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
List<ListTypeDefinition> findAll()Returns all the list type definitions.- Returns:
- the list type definitions
-
findAll
Returns a range of all the list type definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
start
- the lower bound of the range of list type definitionsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
start
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeDefinitionModelImpl
.- Parameters:
start
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-