@ProviderType public interface RecentLayoutSetBranchPersistence extends BasePersistence<RecentLayoutSetBranch>
Caching information and settings can be found in portal.properties
RecentLayoutSetBranchPersistenceImpl
,
RecentLayoutSetBranchUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<RecentLayoutSetBranch> recentLayoutSetBranchs)
Caches the recent layout set branchs in the entity cache if it is enabled.
|
void |
cacheResult(RecentLayoutSetBranch recentLayoutSetBranch)
Caches the recent layout set branch in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of recent layout set branchs.
|
int |
countByGroupId(long groupId)
Returns the number of recent layout set branchs where groupId = ?.
|
int |
countByLayoutSetBranchId(long layoutSetBranchId)
Returns the number of recent layout set branchs where layoutSetBranchId = ?.
|
int |
countByU_L(long userId,
long layoutSetId)
Returns the number of recent layout set branchs where userId = ? and layoutSetId = ?.
|
int |
countByUserId(long userId)
Returns the number of recent layout set branchs where userId = ?.
|
RecentLayoutSetBranch |
create(long recentLayoutSetBranchId)
Creates a new recent layout set branch with the primary key.
|
RecentLayoutSetBranch |
fetchByGroupId_First(long groupId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where groupId = ?.
|
RecentLayoutSetBranch |
fetchByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where groupId = ?.
|
RecentLayoutSetBranch |
fetchByLayoutSetBranchId_First(long layoutSetBranchId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
RecentLayoutSetBranch |
fetchByLayoutSetBranchId_Last(long layoutSetBranchId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
RecentLayoutSetBranch |
fetchByPrimaryKey(long recentLayoutSetBranchId)
Returns the recent layout set branch with the primary key or returns
null if it could not be found. |
Map<Serializable,RecentLayoutSetBranch> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
RecentLayoutSetBranch |
fetchByU_L(long userId,
long layoutSetId)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or returns
null if it could not be found. |
RecentLayoutSetBranch |
fetchByU_L(long userId,
long layoutSetId,
boolean retrieveFromCache)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or returns
null if it could not be found, optionally using the finder cache. |
RecentLayoutSetBranch |
fetchByUserId_First(long userId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where userId = ?.
|
RecentLayoutSetBranch |
fetchByUserId_Last(long userId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where userId = ?.
|
List<RecentLayoutSetBranch> |
findAll()
Returns all the recent layout set branchs.
|
List<RecentLayoutSetBranch> |
findAll(int start,
int end)
Returns a range of all the recent layout set branchs.
|
List<RecentLayoutSetBranch> |
findAll(int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs.
|
List<RecentLayoutSetBranch> |
findAll(int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout set branchs.
|
RecentLayoutSetBranch |
findByGroupId_First(long groupId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where groupId = ?.
|
RecentLayoutSetBranch |
findByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where groupId = ?.
|
RecentLayoutSetBranch[] |
findByGroupId_PrevAndNext(long recentLayoutSetBranchId,
long groupId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the recent layout set branchs before and after the current recent layout set branch in the ordered set where groupId = ?.
|
List<RecentLayoutSetBranch> |
findByGroupId(long groupId)
Returns all the recent layout set branchs where groupId = ?.
|
List<RecentLayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the recent layout set branchs where groupId = ?.
|
List<RecentLayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs where groupId = ?.
|
List<RecentLayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout set branchs where groupId = ?.
|
RecentLayoutSetBranch |
findByLayoutSetBranchId_First(long layoutSetBranchId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
RecentLayoutSetBranch |
findByLayoutSetBranchId_Last(long layoutSetBranchId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
RecentLayoutSetBranch[] |
findByLayoutSetBranchId_PrevAndNext(long recentLayoutSetBranchId,
long layoutSetBranchId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the recent layout set branchs before and after the current recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
List<RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId)
Returns all the recent layout set branchs where layoutSetBranchId = ?.
|
List<RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end)
Returns a range of all the recent layout set branchs where layoutSetBranchId = ?.
|
List<RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs where layoutSetBranchId = ?.
|
List<RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout set branchs where layoutSetBranchId = ?.
|
RecentLayoutSetBranch |
findByPrimaryKey(long recentLayoutSetBranchId)
Returns the recent layout set branch with the primary key or throws a
NoSuchRecentLayoutSetBranchException if it could not be found. |
RecentLayoutSetBranch |
findByU_L(long userId,
long layoutSetId)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or throws a
NoSuchRecentLayoutSetBranchException if it could not be found. |
RecentLayoutSetBranch |
findByUserId_First(long userId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where userId = ?.
|
RecentLayoutSetBranch |
findByUserId_Last(long userId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where userId = ?.
|
RecentLayoutSetBranch[] |
findByUserId_PrevAndNext(long recentLayoutSetBranchId,
long userId,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns the recent layout set branchs before and after the current recent layout set branch in the ordered set where userId = ?.
|
List<RecentLayoutSetBranch> |
findByUserId(long userId)
Returns all the recent layout set branchs where userId = ?.
|
List<RecentLayoutSetBranch> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the recent layout set branchs where userId = ?.
|
List<RecentLayoutSetBranch> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs where userId = ?.
|
List<RecentLayoutSetBranch> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout set branchs where userId = ?.
|
RecentLayoutSetBranch |
remove(long recentLayoutSetBranchId)
Removes the recent layout set branch with the primary key from the database.
|
void |
removeAll()
Removes all the recent layout set branchs from the database.
|
void |
removeByGroupId(long groupId)
Removes all the recent layout set branchs where groupId = ? from the database.
|
void |
removeByLayoutSetBranchId(long layoutSetBranchId)
Removes all the recent layout set branchs where layoutSetBranchId = ? from the database.
|
RecentLayoutSetBranch |
removeByU_L(long userId,
long layoutSetId)
Removes the recent layout set branch where userId = ? and layoutSetId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the recent layout set branchs where userId = ? from the database.
|
RecentLayoutSetBranch |
updateImpl(RecentLayoutSetBranch recentLayoutSetBranch) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<RecentLayoutSetBranch> findByGroupId(long groupId)
groupId
- the group IDList<RecentLayoutSetBranch> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)List<RecentLayoutSetBranch> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutSetBranch> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheRecentLayoutSetBranch findByGroupId_First(long groupId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByGroupId_First(long groupId, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout set branch could not be foundRecentLayoutSetBranch findByGroupId_Last(long groupId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByGroupId_Last(long groupId, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout set branch could not be foundRecentLayoutSetBranch[] findByGroupId_PrevAndNext(long recentLayoutSetBranchId, long groupId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
recentLayoutSetBranchId
- the primary key of the current recent layout set branchgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a recent layout set branch with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDList<RecentLayoutSetBranch> findByUserId(long userId)
userId
- the user IDList<RecentLayoutSetBranch> findByUserId(long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId
- the user IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)List<RecentLayoutSetBranch> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId
- the user IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutSetBranch> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId
- the user IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheRecentLayoutSetBranch findByUserId_First(long userId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByUserId_First(long userId, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout set branch could not be foundRecentLayoutSetBranch findByUserId_Last(long userId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByUserId_Last(long userId, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout set branch could not be foundRecentLayoutSetBranch[] findByUserId_PrevAndNext(long recentLayoutSetBranchId, long userId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
recentLayoutSetBranchId
- the primary key of the current recent layout set branchuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a recent layout set branch with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDList<RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId)
layoutSetBranchId
- the layout set branch IDList<RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetBranchId
- the layout set branch IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)List<RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetBranchId
- the layout set branch IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetBranchId
- the layout set branch IDstart
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheRecentLayoutSetBranch findByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout set branch could not be foundRecentLayoutSetBranch findByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
layoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout set branch could not be foundRecentLayoutSetBranch[] findByLayoutSetBranchId_PrevAndNext(long recentLayoutSetBranchId, long layoutSetBranchId, OrderByComparator<RecentLayoutSetBranch> orderByComparator) throws NoSuchRecentLayoutSetBranchException
recentLayoutSetBranchId
- the primary key of the current recent layout set branchlayoutSetBranchId
- the layout set branch IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutSetBranchException
- if a recent layout set branch with the primary key could not be foundvoid removeByLayoutSetBranchId(long layoutSetBranchId)
layoutSetBranchId
- the layout set branch IDint countByLayoutSetBranchId(long layoutSetBranchId)
layoutSetBranchId
- the layout set branch IDRecentLayoutSetBranch findByU_L(long userId, long layoutSetId) throws NoSuchRecentLayoutSetBranchException
NoSuchRecentLayoutSetBranchException
if it could not be found.userId
- the user IDlayoutSetId
- the layout set IDNoSuchRecentLayoutSetBranchException
- if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByU_L(long userId, long layoutSetId)
null
if it could not be found. Uses the finder cache.userId
- the user IDlayoutSetId
- the layout set IDnull
if a matching recent layout set branch could not be foundRecentLayoutSetBranch fetchByU_L(long userId, long layoutSetId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDlayoutSetId
- the layout set IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching recent layout set branch could not be foundRecentLayoutSetBranch removeByU_L(long userId, long layoutSetId) throws NoSuchRecentLayoutSetBranchException
userId
- the user IDlayoutSetId
- the layout set IDNoSuchRecentLayoutSetBranchException
int countByU_L(long userId, long layoutSetId)
userId
- the user IDlayoutSetId
- the layout set IDvoid cacheResult(RecentLayoutSetBranch recentLayoutSetBranch)
recentLayoutSetBranch
- the recent layout set branchvoid cacheResult(List<RecentLayoutSetBranch> recentLayoutSetBranchs)
recentLayoutSetBranchs
- the recent layout set branchsRecentLayoutSetBranch create(long recentLayoutSetBranchId)
recentLayoutSetBranchId
- the primary key for the new recent layout set branchRecentLayoutSetBranch remove(long recentLayoutSetBranchId) throws NoSuchRecentLayoutSetBranchException
recentLayoutSetBranchId
- the primary key of the recent layout set branchNoSuchRecentLayoutSetBranchException
- if a recent layout set branch with the primary key could not be foundRecentLayoutSetBranch updateImpl(RecentLayoutSetBranch recentLayoutSetBranch)
RecentLayoutSetBranch findByPrimaryKey(long recentLayoutSetBranchId) throws NoSuchRecentLayoutSetBranchException
NoSuchRecentLayoutSetBranchException
if it could not be found.recentLayoutSetBranchId
- the primary key of the recent layout set branchNoSuchRecentLayoutSetBranchException
- if a recent layout set branch with the primary key could not be foundRecentLayoutSetBranch fetchByPrimaryKey(long recentLayoutSetBranchId)
null
if it could not be found.recentLayoutSetBranchId
- the primary key of the recent layout set branchnull
if a recent layout set branch with the primary key could not be foundMap<Serializable,RecentLayoutSetBranch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<RecentLayoutSetBranch>
List<RecentLayoutSetBranch> findAll()
List<RecentLayoutSetBranch> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)List<RecentLayoutSetBranch> findAll(int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutSetBranch> findAll(int start, int end, OrderByComparator<RecentLayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of recent layout set branchsend
- the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()