Interface DefinitionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<Definition>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCompanyId(long companyId) Returns the number of definitions where companyId = ?.intcountByGroupId(long groupId) Returns the number of definitions where groupId = ?.intcountByUuid(String uuid) Returns the number of definitions where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of definitions where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of definitions where uuid = ? and groupId = ?.create(long definitionId) Creates a new definition with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where companyId = ?.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where groupId = ?.fetchByPrimaryKey(long definitionId) Returns the definition with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where uuid = ?.default DefinitionfetchByUUID_G(String uuid, long groupId) Returns the definition where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the definition where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.intfilterCountByGroupId(long groupId) Returns the number of definitions that the user has permission to view where groupId = ?.default List<Definition> filterFindByGroupId(long groupId) Returns all the definitions that the user has permission to view where groupId = ?.default List<Definition> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the definitions that the user has permission to view where groupId = ?.filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions that the user has permissions to view where groupId = ?.default List<Definition> findByCompanyId(long companyId) Returns all the definitions where companyId = ?.default List<Definition> findByCompanyId(long companyId, int start, int end) Returns a range of all the definitions where companyId = ?.default List<Definition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where companyId = ?.default List<Definition> findByGroupId(long groupId) Returns all the definitions where groupId = ?.default List<Definition> findByGroupId(long groupId, int start, int end) Returns a range of all the definitions where groupId = ?.default List<Definition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where groupId = ?.findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where groupId = ?.findByPrimaryKey(long definitionId) Returns the definition with the primary key or throws aNoSuchDefinitionExceptionif it could not be found.default List<Definition> findByUuid(String uuid) Returns all the definitions where uuid = ?.default List<Definition> findByUuid(String uuid, int start, int end) Returns a range of all the definitions where uuid = ?.default List<Definition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where uuid = ?.default List<Definition> findByUuid_C(String uuid, long companyId) Returns all the definitions where uuid = ? and companyId = ?.default List<Definition> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the definitions where uuid = ? and companyId = ?.default List<Definition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the definition where uuid = ? and groupId = ? or throws aNoSuchDefinitionExceptionif it could not be found.remove(long definitionId) Removes the definition with the primary key from the database.voidremoveByCompanyId(long companyId) Removes all the definitions where companyId = ? from the database.voidremoveByGroupId(long groupId) Removes all the definitions where groupId = ? from the database.voidremoveByUuid(String uuid) Removes all the definitions where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the definitions where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the definition where uuid = ? and groupId = ? from the database.updateImpl(Definition definition) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
List<Definition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of definitionsend- the upper bound of the range of 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 definitions
-
findByUuid_First
Definition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) throws NoSuchDefinitionException Returns the first definition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching definition
- Throws:
NoSuchDefinitionException- if a matching definition could not be found
-
fetchByUuid_First
Definition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching definition, or
nullif a matching definition could not be found
-
removeByUuid
Removes all the definitions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of definitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching definitions
-
findByUUID_G
Returns the definition where uuid = ? and groupId = ? or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching definition
- Throws:
NoSuchDefinitionException- if a matching definition could not be found
-
fetchByUUID_G
Returns the definition where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching definition, or
nullif a matching definition could not be found
-
removeByUUID_G
Removes the definition where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the definition that was removed
- Throws:
NoSuchDefinitionException
-
countByUUID_G
Returns the number of definitions where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching definitions
-
findByUuid_C
List<Definition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of definitionsend- the upper bound of the range of 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 definitions
-
findByUuid_C_First
Definition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) throws NoSuchDefinitionException Returns the first 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 definition
- Throws:
NoSuchDefinitionException- if a matching definition could not be found
-
fetchByUuid_C_First
Definition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first 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 definition, or
nullif a matching definition could not be found
-
removeByUuid_C
Removes all the definitions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of definitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching definitions
-
findByGroupId
List<Definition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of definitionsend- the upper bound of the range of 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 definitions
-
findByGroupId_First
Definition findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) throws NoSuchDefinitionException Returns the first definition in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching definition
- Throws:
NoSuchDefinitionException- if a matching definition could not be found
-
fetchByGroupId_First
Definition fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching definition, or
nullif a matching definition could not be found
-
filterFindByGroupId
List<Definition> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching definitions that the user has permission to view
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the definitions where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of definitions where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching definitions
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of definitions that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching definitions that the user has permission to view
-
findByCompanyId
List<Definition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the definitions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of definitionsend- the upper bound of the range of 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 definitions
-
findByCompanyId_First
Definition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) throws NoSuchDefinitionException Returns the first definition in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching definition
- Throws:
NoSuchDefinitionException- if a matching definition could not be found
-
fetchByCompanyId_First
Definition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns the first definition in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching definition, or
nullif a matching definition could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the definitions where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of definitions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching definitions
-
create
Creates a new definition with the primary key. Does not add the definition to the database.- Parameters:
definitionId- the primary key for the new definition- Returns:
- the new definition
-
remove
Removes the definition with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
definitionId- the primary key of the definition- Returns:
- the definition that was removed
- Throws:
NoSuchDefinitionException- if a definition with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the definition with the primary key or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
definitionId- the primary key of the definition- Returns:
- the definition
- Throws:
NoSuchDefinitionException- if a definition with the primary key could not be found
-
fetchByPrimaryKey
Returns the definition with the primary key or returnsnullif it could not be found.- Parameters:
definitionId- the primary key of the definition- Returns:
- the definition, or
nullif a definition with the primary key could not be found
-
fetchByUUID_G
Returns the definition where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching definition, or
nullif a matching definition could not be found
-
findByUuid
Returns all the definitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching definitions
-
findByUuid
Returns a range of all the definitions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)- Returns:
- the range of matching definitions
-
findByUuid
default List<Definition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching definitions
-
findByUuid_C
Returns all the definitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching definitions
-
findByUuid_C
Returns a range of all the definitions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)- Returns:
- the range of matching definitions
-
findByUuid_C
default List<Definition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching definitions
-
findByGroupId
Returns all the definitions where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching definitions
-
findByGroupId
Returns a range of all the definitions where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)- Returns:
- the range of matching definitions
-
findByGroupId
default List<Definition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching definitions
-
filterFindByGroupId
Returns all the definitions that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching definitions that the user has permission to view
-
filterFindByGroupId
Returns a range of all the definitions that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)- Returns:
- the range of matching definitions that the user has permission to view
-
findByCompanyId
Returns all the definitions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching definitions
-
findByCompanyId
Returns a range of all the definitions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)- Returns:
- the range of matching definitions
-
findByCompanyId
default List<Definition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) Returns an ordered range of all the definitions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.reports.engine.console.model.impl.DefinitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of definitionsend- the upper bound of the range of definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching definitions
-