Interface LayoutBranchPersistence
- All Superinterfaces:
BasePersistence<LayoutBranch>
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
(LayoutBranch layoutBranch) Caches the layout branch in the entity cache if it is enabled.void
cacheResult
(List<LayoutBranch> layoutBranchs) Caches the layout branches in the entity cache if it is enabled.int
countAll()
Returns the number of layout branches.int
countByL_P
(long layoutSetBranchId, long plid) Returns the number of layout branches where layoutSetBranchId = ? and plid = ?.int
countByL_P_M
(long layoutSetBranchId, long plid, boolean master) Returns the number of layout branches where layoutSetBranchId = ? and plid = ? and master = ?.int
countByL_P_N
(long layoutSetBranchId, long plid, String name) Returns the number of layout branches where layoutSetBranchId = ? and plid = ? and name = ?.int
countByLayoutSetBranchId
(long layoutSetBranchId) Returns the number of layout branches where layoutSetBranchId = ?.int
countByPlid
(long plid) Returns the number of layout branches where plid = ?.create
(long layoutBranchId) Creates a new layout branch with the primary key.fetchByL_P_First
(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.fetchByL_P_Last
(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.fetchByL_P_M_First
(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.fetchByL_P_M_Last
(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.fetchByL_P_N
(long layoutSetBranchId, long plid, String name) Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or returnsnull
if it could not be found.fetchByL_P_N
(long layoutSetBranchId, long plid, String name, boolean useFinderCache) Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByLayoutSetBranchId_First
(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ?.fetchByLayoutSetBranchId_Last
(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ?.fetchByPlid_First
(long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where plid = ?.fetchByPlid_Last
(long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where plid = ?.fetchByPrimaryKey
(long layoutBranchId) Returns the layout branch with the primary key or returnsnull
if it could not be found.findAll()
Returns all the layout branches.findAll
(int start, int end) Returns a range of all the layout branches.findAll
(int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches.findAll
(int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches.findByL_P
(long layoutSetBranchId, long plid) Returns all the layout branches where layoutSetBranchId = ? and plid = ?.findByL_P
(long layoutSetBranchId, long plid, int start, int end) Returns a range of all the layout branches where layoutSetBranchId = ? and plid = ?.findByL_P
(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ?.findByL_P
(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ?.findByL_P_First
(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.findByL_P_Last
(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.findByL_P_M
(long layoutSetBranchId, long plid, boolean master) Returns all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_M
(long layoutSetBranchId, long plid, boolean master, int start, int end) Returns a range of all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_M
(long layoutSetBranchId, long plid, boolean master, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_M
(long layoutSetBranchId, long plid, boolean master, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_M_First
(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_M_Last
(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_M_PrevAndNext
(long layoutBranchId, long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.findByL_P_N
(long layoutSetBranchId, long plid, String name) Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or throws aNoSuchLayoutBranchException
if it could not be found.findByL_P_PrevAndNext
(long layoutBranchId, long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.findByLayoutSetBranchId
(long layoutSetBranchId) Returns all the layout branches where layoutSetBranchId = ?.findByLayoutSetBranchId
(long layoutSetBranchId, int start, int end) Returns a range of all the layout branches where layoutSetBranchId = ?.findByLayoutSetBranchId
(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where layoutSetBranchId = ?.findByLayoutSetBranchId
(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where layoutSetBranchId = ?.findByLayoutSetBranchId_First
(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ?.findByLayoutSetBranchId_Last
(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ?.findByLayoutSetBranchId_PrevAndNext
(long layoutBranchId, long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ?.findByPlid
(long plid) Returns all the layout branches where plid = ?.findByPlid
(long plid, int start, int end) Returns a range of all the layout branches where plid = ?.findByPlid
(long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where plid = ?.findByPlid
(long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where plid = ?.findByPlid_First
(long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where plid = ?.findByPlid_Last
(long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where plid = ?.findByPlid_PrevAndNext
(long layoutBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the layout branches before and after the current layout branch in the ordered set where plid = ?.findByPrimaryKey
(long layoutBranchId) Returns the layout branch with the primary key or throws aNoSuchLayoutBranchException
if it could not be found.remove
(long layoutBranchId) Removes the layout branch with the primary key from the database.void
Removes all the layout branches from the database.void
removeByL_P
(long layoutSetBranchId, long plid) Removes all the layout branches where layoutSetBranchId = ? and plid = ? from the database.void
removeByL_P_M
(long layoutSetBranchId, long plid, boolean master) Removes all the layout branches where layoutSetBranchId = ? and plid = ? and master = ? from the database.removeByL_P_N
(long layoutSetBranchId, long plid, String name) Removes the layout branch where layoutSetBranchId = ? and plid = ? and name = ? from the database.void
removeByLayoutSetBranchId
(long layoutSetBranchId) Removes all the layout branches where layoutSetBranchId = ? from the database.void
removeByPlid
(long plid) Removes all the layout branches where plid = ? from the database.updateImpl
(LayoutBranch layoutBranch) 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
-
findByLayoutSetBranchId
Returns all the layout branches where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId
- the layout set branch ID- Returns:
- the matching layout branches
-
findByLayoutSetBranchId
Returns a range of all the layout branches where layoutSetBranchId = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)- Returns:
- the range of matching layout branches
-
findByLayoutSetBranchId
List<LayoutBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where layoutSetBranchId = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout branches
-
findByLayoutSetBranchId
List<LayoutBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where layoutSetBranchId = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of 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 layout branches
-
findByLayoutSetBranchId_First
LayoutBranch findByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the first layout branch in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByLayoutSetBranchId_First
LayoutBranch fetchByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch, or
null
if a matching layout branch could not be found
-
findByLayoutSetBranchId_Last
LayoutBranch findByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the last layout branch in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByLayoutSetBranchId_Last
LayoutBranch fetchByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch, or
null
if a matching layout branch could not be found
-
findByLayoutSetBranchId_PrevAndNext
LayoutBranch[] findByLayoutSetBranchId_PrevAndNext(long layoutBranchId, long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ?.- Parameters:
layoutBranchId
- the primary key of the current layout branchlayoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout branch
- Throws:
NoSuchLayoutBranchException
- if a layout branch with the primary key could not be found
-
removeByLayoutSetBranchId
void removeByLayoutSetBranchId(long layoutSetBranchId) Removes all the layout branches where layoutSetBranchId = ? from the database.- Parameters:
layoutSetBranchId
- the layout set branch ID
-
countByLayoutSetBranchId
int countByLayoutSetBranchId(long layoutSetBranchId) Returns the number of layout branches where layoutSetBranchId = ?.- Parameters:
layoutSetBranchId
- the layout set branch ID- Returns:
- the number of matching layout branches
-
findByPlid
Returns all the layout branches where plid = ?.- Parameters:
plid
- the plid- Returns:
- the matching layout branches
-
findByPlid
Returns a range of all the layout branches where plid = ?.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 fromLayoutBranchModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)- Returns:
- the range of matching layout branches
-
findByPlid
List<LayoutBranch> findByPlid(long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where plid = ?.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 fromLayoutBranchModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout branches
-
findByPlid
List<LayoutBranch> findByPlid(long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where plid = ?.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 fromLayoutBranchModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of 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 layout branches
-
findByPlid_First
LayoutBranch findByPlid_First(long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the first layout branch in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByPlid_First
Returns the first layout branch in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch, or
null
if a matching layout branch could not be found
-
findByPlid_Last
LayoutBranch findByPlid_Last(long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the last layout branch in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByPlid_Last
Returns the last layout branch in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch, or
null
if a matching layout branch could not be found
-
findByPlid_PrevAndNext
LayoutBranch[] findByPlid_PrevAndNext(long layoutBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the layout branches before and after the current layout branch in the ordered set where plid = ?.- Parameters:
layoutBranchId
- the primary key of the current layout branchplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout branch
- Throws:
NoSuchLayoutBranchException
- if a layout branch with the primary key could not be found
-
removeByPlid
void removeByPlid(long plid) Removes all the layout branches where plid = ? from the database.- Parameters:
plid
- the plid
-
countByPlid
int countByPlid(long plid) Returns the number of layout branches where plid = ?.- Parameters:
plid
- the plid- Returns:
- the number of matching layout branches
-
findByL_P
Returns all the layout branches where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plid- Returns:
- the matching layout branches
-
findByL_P
Returns a range of all the layout branches where layoutSetBranchId = ? and plid = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)- Returns:
- the range of matching layout branches
-
findByL_P
List<LayoutBranch> findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout branches
-
findByL_P
List<LayoutBranch> findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of 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 layout branches
-
findByL_P_First
LayoutBranch findByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByL_P_First
LayoutBranch fetchByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch, or
null
if a matching layout branch could not be found
-
findByL_P_Last
LayoutBranch findByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByL_P_Last
LayoutBranch fetchByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch, or
null
if a matching layout branch could not be found
-
findByL_P_PrevAndNext
LayoutBranch[] findByL_P_PrevAndNext(long layoutBranchId, long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutBranchId
- the primary key of the current layout branchlayoutSetBranchId
- the layout set branch IDplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout branch
- Throws:
NoSuchLayoutBranchException
- if a layout branch with the primary key could not be found
-
removeByL_P
void removeByL_P(long layoutSetBranchId, long plid) Removes all the layout branches where layoutSetBranchId = ? and plid = ? from the database.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plid
-
countByL_P
int countByL_P(long layoutSetBranchId, long plid) Returns the number of layout branches where layoutSetBranchId = ? and plid = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plid- Returns:
- the number of matching layout branches
-
findByL_P_N
LayoutBranch findByL_P_N(long layoutSetBranchId, long plid, String name) throws NoSuchLayoutBranchException Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or throws aNoSuchLayoutBranchException
if it could not be found.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidname
- the name- Returns:
- the matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByL_P_N
Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidname
- the name- Returns:
- the matching layout branch, or
null
if a matching layout branch could not be found
-
fetchByL_P_N
Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout branch, or
null
if a matching layout branch could not be found
-
removeByL_P_N
LayoutBranch removeByL_P_N(long layoutSetBranchId, long plid, String name) throws NoSuchLayoutBranchException Removes the layout branch where layoutSetBranchId = ? and plid = ? and name = ? from the database.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidname
- the name- Returns:
- the layout branch that was removed
- Throws:
NoSuchLayoutBranchException
-
countByL_P_N
Returns the number of layout branches where layoutSetBranchId = ? and plid = ? and name = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidname
- the name- Returns:
- the number of matching layout branches
-
findByL_P_M
Returns all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the master- Returns:
- the matching layout branches
-
findByL_P_M
List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master, int start, int end) Returns a range of all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)- Returns:
- the range of matching layout branches
-
findByL_P_M
List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master, int start, int end, OrderByComparator<LayoutBranch> orderByComparator) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout branches
-
findByL_P_M
List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.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 fromLayoutBranchModelImpl
.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterstart
- the lower bound of the range of layout branchesend
- the upper bound of the range of 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 layout branches
-
findByL_P_M_First
LayoutBranch findByL_P_M_First(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByL_P_M_First
LayoutBranch fetchByL_P_M_First(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout branch, or
null
if a matching layout branch could not be found
-
findByL_P_M_Last
LayoutBranch findByL_P_M_Last(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch
- Throws:
NoSuchLayoutBranchException
- if a matching layout branch could not be found
-
fetchByL_P_M_Last
LayoutBranch fetchByL_P_M_Last(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout branch, or
null
if a matching layout branch could not be found
-
findByL_P_M_PrevAndNext
LayoutBranch[] findByL_P_M_PrevAndNext(long layoutBranchId, long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutBranchId
- the primary key of the current layout branchlayoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the masterorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout branch
- Throws:
NoSuchLayoutBranchException
- if a layout branch with the primary key could not be found
-
removeByL_P_M
void removeByL_P_M(long layoutSetBranchId, long plid, boolean master) Removes all the layout branches where layoutSetBranchId = ? and plid = ? and master = ? from the database.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the master
-
countByL_P_M
int countByL_P_M(long layoutSetBranchId, long plid, boolean master) Returns the number of layout branches where layoutSetBranchId = ? and plid = ? and master = ?.- Parameters:
layoutSetBranchId
- the layout set branch IDplid
- the plidmaster
- the master- Returns:
- the number of matching layout branches
-
cacheResult
Caches the layout branch in the entity cache if it is enabled.- Parameters:
layoutBranch
- the layout branch
-
cacheResult
Caches the layout branches in the entity cache if it is enabled.- Parameters:
layoutBranchs
- the layout branches
-
create
Creates a new layout branch with the primary key. Does not add the layout branch to the database.- Parameters:
layoutBranchId
- the primary key for the new layout branch- Returns:
- the new layout branch
-
remove
Removes the layout branch with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutBranchId
- the primary key of the layout branch- Returns:
- the layout branch that was removed
- Throws:
NoSuchLayoutBranchException
- if a layout branch with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the layout branch with the primary key or throws aNoSuchLayoutBranchException
if it could not be found.- Parameters:
layoutBranchId
- the primary key of the layout branch- Returns:
- the layout branch
- Throws:
NoSuchLayoutBranchException
- if a layout branch with the primary key could not be found
-
fetchByPrimaryKey
Returns the layout branch with the primary key or returnsnull
if it could not be found.- Parameters:
layoutBranchId
- the primary key of the layout branch- Returns:
- the layout branch, or
null
if a layout branch with the primary key could not be found
-
findAll
List<LayoutBranch> findAll()Returns all the layout branches.- Returns:
- the layout branches
-
findAll
Returns a range of all the 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 fromLayoutBranchModelImpl
.- Parameters:
start
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)- Returns:
- the range of layout branches
-
findAll
Returns an ordered range of all the 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 fromLayoutBranchModelImpl
.- Parameters:
start
- the lower bound of the range of layout branchesend
- the upper bound of the range of layout branches (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of layout branches
-
findAll
List<LayoutBranch> findAll(int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache) Returns an ordered range of all the 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 fromLayoutBranchModelImpl
.- Parameters:
start
- the lower bound of the range of layout branchesend
- the upper bound of the range of 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 layout branches
-
removeAll
void removeAll()Removes all the layout branches from the database. -
countAll
int countAll()Returns the number of layout branches.- Returns:
- the number of layout branches
-