Interface LayoutSetPersistence
- All Superinterfaces:
BasePersistence<LayoutSet>,CTPersistence<LayoutSet>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_L(long companyId, String layoutSetPrototypeUuid) Returns the number of layout sets where companyId = ? and layoutSetPrototypeUuid = ?.intcountByG_P(long groupId, boolean privateLayout) Returns the number of layout sets where groupId = ? and privateLayout = ?.intcountByGroupId(long groupId) Returns the number of layout sets where groupId = ?.intcountByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid) Returns the number of layout sets where layoutSetPrototypeUuid = ?.intcountByP_L(boolean privateLayout, long logoId) Returns the number of layout sets where privateLayout = ? and logoId = ?.create(long layoutSetId) Creates a new layout set with the primary key.fetchByC_L_First(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.default LayoutSetfetchByG_P(long groupId, boolean privateLayout) Returns the layout set where groupId = ? and privateLayout = ? or returnsnullif it could not be found.fetchByG_P(long groupId, boolean privateLayout, boolean useFinderCache) Returns the layout set where groupId = ? and privateLayout = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByGroupId_First(long groupId, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where groupId = ?.fetchByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ?.fetchByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where privateLayout = ? and logoId = ?.fetchByPrimaryKey(long layoutSetId) Returns the layout set with the primary key or returnsnullif it could not be found.Returns all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.Returns a range of all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.findByC_L_First(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.findByG_P(long groupId, boolean privateLayout) Returns the layout set where groupId = ? and privateLayout = ? or throws aNoSuchLayoutSetExceptionif it could not be found.findByGroupId(long groupId) Returns all the layout sets where groupId = ?.findByGroupId(long groupId, int start, int end) Returns a range of all the layout sets where groupId = ?.findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where groupId = ?.findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where groupId = ?.findByGroupId_First(long groupId, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where groupId = ?.findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid) Returns all the layout sets where layoutSetPrototypeUuid = ?.findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end) Returns a range of all the layout sets where layoutSetPrototypeUuid = ?.findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ?.findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ?.findByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ?.findByP_L(boolean privateLayout, long logoId) Returns all the layout sets where privateLayout = ? and logoId = ?.findByP_L(boolean privateLayout, long logoId, int start, int end) Returns a range of all the layout sets where privateLayout = ? and logoId = ?.findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where privateLayout = ? and logoId = ?.findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where privateLayout = ? and logoId = ?.findByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where privateLayout = ? and logoId = ?.findByPrimaryKey(long layoutSetId) Returns the layout set with the primary key or throws aNoSuchLayoutSetExceptionif it could not be found.remove(long layoutSetId) Removes the layout set with the primary key from the database.voidremoveByC_L(long companyId, String layoutSetPrototypeUuid) Removes all the layout sets where companyId = ? and layoutSetPrototypeUuid = ? from the database.removeByG_P(long groupId, boolean privateLayout) Removes the layout set where groupId = ? and privateLayout = ? from the database.voidremoveByGroupId(long groupId) Removes all the layout sets where groupId = ? from the database.voidremoveByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid) Removes all the layout sets where layoutSetPrototypeUuid = ? from the database.voidremoveByP_L(boolean privateLayout, long logoId) Removes all the layout sets where privateLayout = ? and logoId = ? from the database.updateImpl(LayoutSet layoutSet) 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, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByGroupId
List<LayoutSet> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets 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.model.impl.LayoutSetModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout sets
-
findByGroupId_First
LayoutSet findByGroupId_First(long groupId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException Returns the first layout set in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set
- Throws:
NoSuchLayoutSetException- if a matching layout set could not be found
-
fetchByGroupId_First
Returns the first layout set in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set, or
nullif a matching layout set could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the layout sets where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of layout sets where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching layout sets
-
findByLayoutSetPrototypeUuid
List<LayoutSet> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuidstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout sets
-
findByLayoutSetPrototypeUuid_First
LayoutSet findByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ?.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set
- Throws:
NoSuchLayoutSetException- if a matching layout set could not be found
-
fetchByLayoutSetPrototypeUuid_First
LayoutSet fetchByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ?.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set, or
nullif a matching layout set could not be found
-
removeByLayoutSetPrototypeUuid
Removes all the layout sets where layoutSetPrototypeUuid = ? from the database.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuid
-
countByLayoutSetPrototypeUuid
Returns the number of layout sets where layoutSetPrototypeUuid = ?.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuid- Returns:
- the number of matching layout sets
-
findByG_P
Returns the layout set where groupId = ? and privateLayout = ? or throws aNoSuchLayoutSetExceptionif it could not be found.- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the matching layout set
- Throws:
NoSuchLayoutSetException- if a matching layout set could not be found
-
fetchByG_P
Returns the layout set where groupId = ? and privateLayout = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDprivateLayout- the private layoutuseFinderCache- whether to use the finder cache- Returns:
- the matching layout set, or
nullif a matching layout set could not be found
-
removeByG_P
Removes the layout set where groupId = ? and privateLayout = ? from the database.- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the layout set that was removed
- Throws:
NoSuchLayoutSetException
-
countByG_P
int countByG_P(long groupId, boolean privateLayout) Returns the number of layout sets where groupId = ? and privateLayout = ?.- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the number of matching layout sets
-
findByC_L
List<LayoutSet> findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuidstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout sets
-
findByC_L_First
LayoutSet findByC_L_First(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException Returns the first layout set in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set
- Throws:
NoSuchLayoutSetException- if a matching layout set could not be found
-
fetchByC_L_First
LayoutSet fetchByC_L_First(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set, or
nullif a matching layout set could not be found
-
removeByC_L
Removes all the layout sets where companyId = ? and layoutSetPrototypeUuid = ? from the database.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuid
-
countByC_L
Returns the number of layout sets where companyId = ? and layoutSetPrototypeUuid = ?.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuid- Returns:
- the number of matching layout sets
-
findByP_L
List<LayoutSet> findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSet> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout sets where privateLayout = ? and logoId = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
privateLayout- the private layoutlogoId- the logo IDstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout sets
-
findByP_L_First
LayoutSet findByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException Returns the first layout set in the ordered set where privateLayout = ? and logoId = ?.- Parameters:
privateLayout- the private layoutlogoId- the logo IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set
- Throws:
NoSuchLayoutSetException- if a matching layout set could not be found
-
fetchByP_L_First
LayoutSet fetchByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) Returns the first layout set in the ordered set where privateLayout = ? and logoId = ?.- Parameters:
privateLayout- the private layoutlogoId- the logo IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set, or
nullif a matching layout set could not be found
-
removeByP_L
void removeByP_L(boolean privateLayout, long logoId) Removes all the layout sets where privateLayout = ? and logoId = ? from the database.- Parameters:
privateLayout- the private layoutlogoId- the logo ID
-
countByP_L
int countByP_L(boolean privateLayout, long logoId) Returns the number of layout sets where privateLayout = ? and logoId = ?.- Parameters:
privateLayout- the private layoutlogoId- the logo ID- Returns:
- the number of matching layout sets
-
create
Creates a new layout set with the primary key. Does not add the layout set to the database.- Parameters:
layoutSetId- the primary key for the new layout set- Returns:
- the new layout set
-
remove
Removes the layout set with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutSetId- the primary key of the layout set- Returns:
- the layout set that was removed
- Throws:
NoSuchLayoutSetException- if a layout set with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the layout set with the primary key or throws aNoSuchLayoutSetExceptionif it could not be found.- Parameters:
layoutSetId- the primary key of the layout set- Returns:
- the layout set
- Throws:
NoSuchLayoutSetException- if a layout set with the primary key could not be found
-
fetchByPrimaryKey
Returns the layout set with the primary key or returnsnullif it could not be found.- Parameters:
layoutSetId- the primary key of the layout set- Returns:
- the layout set, or
nullif a layout set with the primary key could not be found
-
fetchByG_P
Returns the layout set where groupId = ? and privateLayout = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the matching layout set, or
nullif a matching layout set could not be found
-
findByGroupId
Returns all the layout sets where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching layout sets
-
findByGroupId
Returns a range of all the layout sets 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.model.impl.LayoutSetModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)- Returns:
- the range of matching layout sets
-
findByGroupId
default List<LayoutSet> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets 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.model.impl.LayoutSetModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout sets
-
findByLayoutSetPrototypeUuid
Returns all the layout sets where layoutSetPrototypeUuid = ?.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuid- Returns:
- the matching layout sets
-
findByLayoutSetPrototypeUuid
default List<LayoutSet> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end) Returns a range of all the layout sets where layoutSetPrototypeUuid = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuidstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)- Returns:
- the range of matching layout sets
-
findByLayoutSetPrototypeUuid
default List<LayoutSet> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
layoutSetPrototypeUuid- the layout set prototype uuidstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout sets
-
findByC_L
Returns all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuid- Returns:
- the matching layout sets
-
findByC_L
default List<LayoutSet> findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end) Returns a range of all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuidstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)- Returns:
- the range of matching layout sets
-
findByC_L
default List<LayoutSet> findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where companyId = ? and layoutSetPrototypeUuid = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
companyId- the company IDlayoutSetPrototypeUuid- the layout set prototype uuidstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout sets
-
findByP_L
Returns all the layout sets where privateLayout = ? and logoId = ?.- Parameters:
privateLayout- the private layoutlogoId- the logo ID- Returns:
- the matching layout sets
-
findByP_L
Returns a range of all the layout sets where privateLayout = ? and logoId = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
privateLayout- the private layoutlogoId- the logo IDstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)- Returns:
- the range of matching layout sets
-
findByP_L
default List<LayoutSet> findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSet> orderByComparator) Returns an ordered range of all the layout sets where privateLayout = ? and logoId = ?.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.model.impl.LayoutSetModelImpl.- Parameters:
privateLayout- the private layoutlogoId- the logo IDstart- the lower bound of the range of layout setsend- the upper bound of the range of layout sets (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout sets
-