Interface RecentLayoutBranchPersistence
- All Superinterfaces:
BasePersistence<RecentLayoutBranch>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(RecentLayoutBranch recentLayoutBranch) Caches the recent layout branch in the entity cache if it is enabled.void
cacheResult
(List<RecentLayoutBranch> recentLayoutBranchs) Caches the recent layout branches in the entity cache if it is enabled.int
countAll()
Returns the number of recent layout branches.int
countByGroupId
(long groupId) Returns the number of recent layout branches where groupId = ?.int
countByLayoutBranchId
(long layoutBranchId) Returns the number of recent layout branches where layoutBranchId = ?.int
countByU_L_P
(long userId, long layoutSetBranchId, long plid) Returns the number of recent layout branches where userId = ? and layoutSetBranchId = ? and plid = ?.int
countByUserId
(long userId) Returns the number of recent layout branches where userId = ?.create
(long recentLayoutBranchId) Creates a new recent layout branch with the primary key.fetchByGroupId_First
(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where groupId = ?.fetchByLayoutBranchId_First
(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where layoutBranchId = ?.fetchByLayoutBranchId_Last
(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where layoutBranchId = ?.fetchByPrimaryKey
(long recentLayoutBranchId) Returns the recent layout branch with the primary key or returnsnull
if it could not be found.fetchByU_L_P
(long userId, long layoutSetBranchId, long plid) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnull
if it could not be found.fetchByU_L_P
(long userId, long layoutSetBranchId, long plid, boolean useFinderCache) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUserId_First
(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where userId = ?.fetchByUserId_Last
(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where userId = ?.findAll()
Returns all the recent layout branches.findAll
(int start, int end) Returns a range of all the recent layout branches.findAll
(int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches.findAll
(int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches.findByGroupId
(long groupId) Returns all the recent layout branches where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the recent layout branches where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long recentLayoutBranchId, long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the recent layout branches before and after the current recent layout branch in the ordered set where groupId = ?.findByLayoutBranchId
(long layoutBranchId) Returns all the recent layout branches where layoutBranchId = ?.findByLayoutBranchId
(long layoutBranchId, int start, int end) Returns a range of all the recent layout branches where layoutBranchId = ?.findByLayoutBranchId
(long layoutBranchId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where layoutBranchId = ?.findByLayoutBranchId
(long layoutBranchId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where layoutBranchId = ?.findByLayoutBranchId_First
(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where layoutBranchId = ?.findByLayoutBranchId_Last
(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where layoutBranchId = ?.findByLayoutBranchId_PrevAndNext
(long recentLayoutBranchId, long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the recent layout branches before and after the current recent layout branch in the ordered set where layoutBranchId = ?.findByPrimaryKey
(long recentLayoutBranchId) Returns the recent layout branch with the primary key or throws aNoSuchRecentLayoutBranchException
if it could not be found.findByU_L_P
(long userId, long layoutSetBranchId, long plid) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or throws aNoSuchRecentLayoutBranchException
if it could not be found.findByUserId
(long userId) Returns all the recent layout branches where userId = ?.findByUserId
(long userId, int start, int end) Returns a range of all the recent layout branches where userId = ?.findByUserId
(long userId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns an ordered range of all the recent layout branches where userId = ?.findByUserId
(long userId, int start, int end, OrderByComparator<RecentLayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the recent layout branches where userId = ?.findByUserId_First
(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the first recent layout branch in the ordered set where userId = ?.findByUserId_Last
(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where userId = ?.findByUserId_PrevAndNext
(long recentLayoutBranchId, long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the recent layout branches before and after the current recent layout branch in the ordered set where userId = ?.remove
(long recentLayoutBranchId) Removes the recent layout branch with the primary key from the database.void
Removes all the recent layout branches from the database.void
removeByGroupId
(long groupId) Removes all the recent layout branches where groupId = ? from the database.void
removeByLayoutBranchId
(long layoutBranchId) Removes all the recent layout branches where layoutBranchId = ? from the database.removeByU_L_P
(long userId, long layoutSetBranchId, long plid) Removes the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? from the database.void
removeByUserId
(long userId) Removes all the recent layout branches where userId = ? from the database.updateImpl
(RecentLayoutBranch recentLayoutBranch) 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
-
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByGroupId_First
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
null
if a matching recent layout branch could not be found
-
findByGroupId_Last
RecentLayoutBranch findByGroupId_Last(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the last recent layout branch in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByGroupId_Last
RecentLayoutBranch fetchByGroupId_Last(long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching recent layout branch, or
null
if a matching recent layout branch could not be found
-
findByGroupId_PrevAndNext
RecentLayoutBranch[] findByGroupId_PrevAndNext(long recentLayoutBranchId, long groupId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the recent layout branches before and after the current recent layout branch in the ordered set where groupId = ?.- Parameters:
recentLayoutBranchId
- the primary key of the current recent layout branchgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a recent layout branch with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the recent layout branches where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByUserId_First
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
null
if a matching recent layout branch could not be found
-
findByUserId_Last
RecentLayoutBranch findByUserId_Last(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the last recent layout branch in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByUserId_Last
RecentLayoutBranch fetchByUserId_Last(long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last recent layout branch in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching recent layout branch, or
null
if a matching recent layout branch could not be found
-
findByUserId_PrevAndNext
RecentLayoutBranch[] findByUserId_PrevAndNext(long recentLayoutBranchId, long userId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the recent layout branches before and after the current recent layout branch in the ordered set where userId = ?.- Parameters:
recentLayoutBranchId
- the primary key of the current recent layout branchuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a recent layout branch with the primary key could not be found
-
removeByUserId
void removeByUserId(long userId) Removes all the recent layout branches where userId = ? from the database.- Parameters:
userId
- the user ID
-
countByUserId
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
Returns a range of all the recent layout branches where layoutBranchId = ?.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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByLayoutBranchId_First
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
null
if a matching recent layout branch could not be found
-
findByLayoutBranchId_Last
RecentLayoutBranch findByLayoutBranchId_Last(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the last 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 last matching recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByLayoutBranchId_Last
RecentLayoutBranch fetchByLayoutBranchId_Last(long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) Returns the last 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 last matching recent layout branch, or
null
if a matching recent layout branch could not be found
-
findByLayoutBranchId_PrevAndNext
RecentLayoutBranch[] findByLayoutBranchId_PrevAndNext(long recentLayoutBranchId, long layoutBranchId, OrderByComparator<RecentLayoutBranch> orderByComparator) throws NoSuchRecentLayoutBranchException Returns the recent layout branches before and after the current recent layout branch in the ordered set where layoutBranchId = ?.- Parameters:
recentLayoutBranchId
- the primary key of the current recent layout branchlayoutBranchId
- the layout branch IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a recent layout branch with the primary key could not be found
-
removeByLayoutBranchId
void removeByLayoutBranchId(long layoutBranchId) Removes all the recent layout branches where layoutBranchId = ? from the database.- Parameters:
layoutBranchId
- the layout branch ID
-
countByLayoutBranchId
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
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 aNoSuchRecentLayoutBranchException
if it could not be found.- Parameters:
userId
- the user IDlayoutSetBranchId
- the layout set branch IDplid
- the plid- Returns:
- the matching recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a matching recent layout branch could not be found
-
fetchByU_L_P
Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnull
if 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
null
if a matching recent layout branch could not be found
-
fetchByU_L_P
RecentLayoutBranch fetchByU_L_P(long userId, long layoutSetBranchId, long plid, boolean useFinderCache) Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returnsnull
if 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
null
if a matching recent layout branch could not be found
-
removeByU_L_P
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
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
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
- Throws:
NoSuchRecentLayoutBranchException
- if a recent layout branch with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
RecentLayoutBranch findByPrimaryKey(long recentLayoutBranchId) throws NoSuchRecentLayoutBranchException Returns the recent layout branch with the primary key or throws aNoSuchRecentLayoutBranchException
if it could not be found.- Parameters:
recentLayoutBranchId
- the primary key of the recent layout branch- Returns:
- the recent layout branch
- Throws:
NoSuchRecentLayoutBranchException
- if a recent layout branch with the primary key could not be found
-
fetchByPrimaryKey
Returns the recent layout branch with the primary key or returnsnull
if it could not be found.- Parameters:
recentLayoutBranchId
- the primary key of the recent layout branch- Returns:
- the recent layout branch, or
null
if a recent layout branch with the primary key could not be found
-
findAll
List<RecentLayoutBranch> 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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
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 - 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 fromRecentLayoutBranchModelImpl
.- 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
void removeAll()Removes all the recent layout branches from the database. -
countAll
int countAll()Returns the number of recent layout branches.- Returns:
- the number of recent layout branches
-