Class RecentLayoutBranchUtil
com.liferay.portal.service.persistence.impl.RecentLayoutBranchPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(RecentLayoutBranch recentLayoutBranch) Caches the recent layout branch in the entity cache if it is enabled.static voidcacheResult(List<RecentLayoutBranch> recentLayoutBranchs) Caches the recent layout branches in the entity cache if it is enabled.static voidstatic voidclearCache(RecentLayoutBranch recentLayoutBranch) static intcountAll()Returns the number of recent layout branches.static intcountByGroupId(long groupId) Returns the number of recent layout branches where groupId = ?.static intcountByLayoutBranchId(long layoutBranchId) Returns the number of recent layout branches where layoutBranchId = ?.static intcountByU_L_P(long userId, long layoutSetBranchId, long plid) Returns the number of recent layout branches where userId = ? and layoutSetBranchId = ? and plid = ?.static intcountByUserId(long userId) Returns the number of recent layout branches where userId = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static RecentLayoutBranchcreate(long recentLayoutBranchId) Creates a new recent layout branch with the primary key.static RecentLayoutBranchfetchByGroupId_First(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where groupId = ?.static RecentLayoutBranchfetchByLayoutBranchId_First(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where layoutBranchId = ?.static RecentLayoutBranchfetchByPrimaryKey(long recentLayoutBranchId) Returns the recent layout branch with the primary key or returnsnullif it could not be found.static Map<Serializable, RecentLayoutBranch> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static RecentLayoutBranchfetchByU_L_P(long userId, long layoutSetBranchId, long plid) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnullif it could not be found.static RecentLayoutBranchfetchByU_L_P(long userId, long layoutSetBranchId, long plid, boolean useFinderCache) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.static RecentLayoutBranchfetchByUserId_First(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where userId = ?.static List<RecentLayoutBranch> findAll()Returns all the recent layout branches.static List<RecentLayoutBranch> findAll(int start, int end) Returns a range of all the recent layout branches.static List<RecentLayoutBranch> findAll(int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches.static List<RecentLayoutBranch> findAll(int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches.static List<RecentLayoutBranch> findByGroupId(long groupId) Returns all the recent layout branches where groupId = ?.static List<RecentLayoutBranch> findByGroupId(long groupId, int start, int end) Returns a range of all the recent layout branches where groupId = ?.static List<RecentLayoutBranch> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where groupId = ?.static List<RecentLayoutBranch> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where groupId = ?.static RecentLayoutBranchfindByGroupId_First(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where groupId = ?.static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId) Returns all the recent layout branches where layoutBranchId = ?.static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId, int start, int end) Returns a range of all the recent layout branches where layoutBranchId = ?.static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where layoutBranchId = ?.static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where layoutBranchId = ?.static RecentLayoutBranchfindByLayoutBranchId_First(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where layoutBranchId = ?.static RecentLayoutBranchfindByPrimaryKey(long recentLayoutBranchId) Returns the recent layout branch with the primary key or throws aNoSuchRecentLayoutBranchExceptionif it could not be found.static RecentLayoutBranchfindByU_L_P(long userId, long layoutSetBranchId, long plid) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or throws aNoSuchRecentLayoutBranchExceptionif it could not be found.static List<RecentLayoutBranch> findByUserId(long userId) Returns all the recent layout branches where userId = ?.static List<RecentLayoutBranch> findByUserId(long userId, int start, int end) Returns a range of all the recent layout branches where userId = ?.static List<RecentLayoutBranch> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where userId = ?.static List<RecentLayoutBranch> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where userId = ?.static RecentLayoutBranchfindByUserId_First(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where userId = ?.static List<RecentLayoutBranch> findWithDynamicQuery(DynamicQuery dynamicQuery) static List<RecentLayoutBranch> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) static List<RecentLayoutBranch> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) static RecentLayoutBranchremove(long recentLayoutBranchId) Removes the recent layout branch with the primary key from the database.static voidRemoves all the recent layout branches from the database.static voidremoveByGroupId(long groupId) Removes all the recent layout branches where groupId = ? from the database.static voidremoveByLayoutBranchId(long layoutBranchId) Removes all the recent layout branches where layoutBranchId = ? from the database.static RecentLayoutBranchremoveByU_L_P(long userId, long layoutSetBranchId, long plid) Removes the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? from the database.static voidremoveByUserId(long userId) Removes all the recent layout branches where userId = ? from the database.static voidsetPersistence(RecentLayoutBranchPersistence persistence) static RecentLayoutBranchupdate(RecentLayoutBranch recentLayoutBranch) static RecentLayoutBranchupdate(RecentLayoutBranch recentLayoutBranch, ServiceContext serviceContext) static RecentLayoutBranchupdateImpl(RecentLayoutBranch recentLayoutBranch)
-
Constructor Details
-
RecentLayoutBranchUtil
public RecentLayoutBranchUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
- See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,RecentLayoutBranch> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
- See Also:
-
findWithDynamicQuery
public static List<RecentLayoutBranch> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<RecentLayoutBranch> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static RecentLayoutBranch update(RecentLayoutBranch recentLayoutBranch, ServiceContext serviceContext) - See Also:
-
findByGroupId
Returns all the recent layout branches where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching recent layout branches
-
findByGroupId
Returns a range of all the recent layout branches 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.RecentLayoutBranchModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)- Returns:
- the range of matching recent layout branches
-
findByGroupId
public static List<RecentLayoutBranch> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches 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.RecentLayoutBranchModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching recent layout branches
-
findByGroupId
public static List<RecentLayoutBranch> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches 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.RecentLayoutBranchModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching recent layout branches
-
findByGroupId_First
public static RecentLayoutBranch findByGroupId_First(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the first recent layout branch in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching recent layout branch
-
fetchByGroupId_First
public static RecentLayoutBranch fetchByGroupId_First(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching recent layout branch, or
nullif a matching recent layout branch could not be found
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the recent layout branches where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of recent layout branches where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching recent layout branches
-
findByUserId
Returns all the recent layout branches where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching recent layout branches
-
findByUserId
Returns a range of all the recent layout branches where userId = ?.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.RecentLayoutBranchModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)- Returns:
- the range of matching recent layout branches
-
findByUserId
public static List<RecentLayoutBranch> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where userId = ?.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.RecentLayoutBranchModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching recent layout branches
-
findByUserId
public static List<RecentLayoutBranch> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where userId = ?.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.RecentLayoutBranchModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching recent layout branches
-
findByUserId_First
public static RecentLayoutBranch findByUserId_First(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the first recent layout branch in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching recent layout branch
-
fetchByUserId_First
public static RecentLayoutBranch fetchByUserId_First(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching recent layout branch, or
nullif a matching recent layout branch could not be found
-
removeByUserId
public static void removeByUserId(long userId) Removes all the recent layout branches where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of recent layout branches where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching recent layout branches
-
findByLayoutBranchId
Returns all the recent layout branches where layoutBranchId = ?.- Parameters:
layoutBranchId- the layout branch ID- Returns:
- the matching recent layout branches
-
findByLayoutBranchId
public static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId, int start, int end) Returns a range of all the recent layout branches where layoutBranchId = ?.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.RecentLayoutBranchModelImpl.- Parameters:
layoutBranchId- the layout branch IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)- Returns:
- the range of matching recent layout branches
-
findByLayoutBranchId
public static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where layoutBranchId = ?.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.RecentLayoutBranchModelImpl.- Parameters:
layoutBranchId- the layout branch IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching recent layout branches
-
findByLayoutBranchId
public static List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where layoutBranchId = ?.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.RecentLayoutBranchModelImpl.- Parameters:
layoutBranchId- the layout branch IDstart- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching recent layout branches
-
findByLayoutBranchId_First
public static RecentLayoutBranch findByLayoutBranchId_First(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the first recent layout branch in the ordered set where layoutBranchId = ?.- Parameters:
layoutBranchId- the layout branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching recent layout branch
-
fetchByLayoutBranchId_First
public static RecentLayoutBranch fetchByLayoutBranchId_First(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where layoutBranchId = ?.- Parameters:
layoutBranchId- the layout branch IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching recent layout branch, or
nullif a matching recent layout branch could not be found
-
removeByLayoutBranchId
public static void removeByLayoutBranchId(long layoutBranchId) Removes all the recent layout branches where layoutBranchId = ? from the database.- Parameters:
layoutBranchId- the layout branch ID
-
countByLayoutBranchId
public static int countByLayoutBranchId(long layoutBranchId) Returns the number of recent layout branches where layoutBranchId = ?.- Parameters:
layoutBranchId- the layout branch ID- Returns:
- the number of matching recent layout branches
-
findByU_L_P
public static RecentLayoutBranch findByU_L_P(long userId, long layoutSetBranchId, long plid) throws NoSuchRecentLayoutBranchException Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or throws aNoSuchRecentLayoutBranchExceptionif it could not be found.- Parameters:
userId- the user IDlayoutSetBranchId- the layout set branch IDplid- the plid- Returns:
- the matching recent layout branch
-
fetchByU_L_P
Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDlayoutSetBranchId- the layout set branch IDplid- the plid- Returns:
- the matching recent layout branch, or
nullif a matching recent layout branch could not be found
-
fetchByU_L_P
public static RecentLayoutBranch fetchByU_L_P(long userId, long layoutSetBranchId, long plid, boolean useFinderCache) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDlayoutSetBranchId- the layout set branch IDplid- the pliduseFinderCache- whether to use the finder cache- Returns:
- the matching recent layout branch, or
nullif a matching recent layout branch could not be found
-
removeByU_L_P
public static RecentLayoutBranch removeByU_L_P(long userId, long layoutSetBranchId, long plid) throws NoSuchRecentLayoutBranchException Removes the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? from the database.- Parameters:
userId- the user IDlayoutSetBranchId- the layout set branch IDplid- the plid- Returns:
- the recent layout branch that was removed
- Throws:
NoSuchRecentLayoutBranchException
-
countByU_L_P
public static int countByU_L_P(long userId, long layoutSetBranchId, long plid) Returns the number of recent layout branches where userId = ? and layoutSetBranchId = ? and plid = ?.- Parameters:
userId- the user IDlayoutSetBranchId- the layout set branch IDplid- the plid- Returns:
- the number of matching recent layout branches
-
cacheResult
Caches the recent layout branch in the entity cache if it is enabled.- Parameters:
recentLayoutBranch- the recent layout branch
-
cacheResult
Caches the recent layout branches in the entity cache if it is enabled.- Parameters:
recentLayoutBranchs- the recent layout branches
-
create
Creates a new recent layout branch with the primary key. Does not add the recent layout branch to the database.- Parameters:
recentLayoutBranchId- the primary key for the new recent layout branch- Returns:
- the new recent layout branch
-
remove
public static RecentLayoutBranch remove(long recentLayoutBranchId) throws NoSuchRecentLayoutBranchException Removes the recent layout branch with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
recentLayoutBranchId- the primary key of the recent layout branch- Returns:
- the recent layout branch that was removed
-
updateImpl
-
findByPrimaryKey
public static RecentLayoutBranch findByPrimaryKey(long recentLayoutBranchId) throws NoSuchRecentLayoutBranchException Returns the recent layout branch with the primary key or throws aNoSuchRecentLayoutBranchExceptionif it could not be found.- Parameters:
recentLayoutBranchId- the primary key of the recent layout branch- Returns:
- the recent layout branch
-
fetchByPrimaryKey
Returns the recent layout branch with the primary key or returnsnullif it could not be found.- Parameters:
recentLayoutBranchId- the primary key of the recent layout branch- Returns:
- the recent layout branch, or
nullif a recent layout branch with the primary key could not be found
-
findAll
Returns all the recent layout branches.- Returns:
- the recent layout branches
-
findAll
Returns a range of all the recent layout branches.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.RecentLayoutBranchModelImpl.- Parameters:
start- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)- Returns:
- the range of recent layout branches
-
findAll
public static List<RecentLayoutBranch> findAll(int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches.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.RecentLayoutBranchModelImpl.- Parameters:
start- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of recent layout branches
-
findAll
public static List<RecentLayoutBranch> findAll(int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches.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.RecentLayoutBranchModelImpl.- Parameters:
start- the lower bound of the range of recent layout branchesend- the upper bound of the range of recent layout branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of recent layout branches
-
removeAll
public static void removeAll()Removes all the recent layout branches from the database. -
countAll
public static int countAll()Returns the number of recent layout branches.- Returns:
- the number of recent layout branches
-
getPersistence
-
setPersistence
-