@ProviderType public interface RecentLayoutRevisionPersistence extends BasePersistence<RecentLayoutRevision>
Caching information and settings can be found in portal.properties
RecentLayoutRevisionPersistenceImpl
,
RecentLayoutRevisionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<RecentLayoutRevision> recentLayoutRevisions)
Caches the recent layout revisions in the entity cache if it is enabled.
|
void |
cacheResult(RecentLayoutRevision recentLayoutRevision)
Caches the recent layout revision in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of recent layout revisions.
|
int |
countByGroupId(long groupId)
Returns the number of recent layout revisions where groupId = ?.
|
int |
countByLayoutRevisionId(long layoutRevisionId)
Returns the number of recent layout revisions where layoutRevisionId = ?.
|
int |
countByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Returns the number of recent layout revisions where userId = ? and layoutSetBranchId = ? and plid = ?.
|
int |
countByUserId(long userId)
Returns the number of recent layout revisions where userId = ?.
|
RecentLayoutRevision |
create(long recentLayoutRevisionId)
Creates a new recent layout revision with the primary key.
|
RecentLayoutRevision |
fetchByGroupId_First(long groupId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the first recent layout revision in the ordered set where groupId = ?.
|
RecentLayoutRevision |
fetchByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the last recent layout revision in the ordered set where groupId = ?.
|
RecentLayoutRevision |
fetchByLayoutRevisionId_First(long layoutRevisionId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the first recent layout revision in the ordered set where layoutRevisionId = ?.
|
RecentLayoutRevision |
fetchByLayoutRevisionId_Last(long layoutRevisionId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the last recent layout revision in the ordered set where layoutRevisionId = ?.
|
RecentLayoutRevision |
fetchByPrimaryKey(long recentLayoutRevisionId)
Returns the recent layout revision with the primary key or returns
null if it could not be found. |
Map<Serializable,RecentLayoutRevision> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
RecentLayoutRevision |
fetchByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Returns the recent layout revision where userId = ? and layoutSetBranchId = ? and plid = ? or returns
null if it could not be found. |
RecentLayoutRevision |
fetchByU_L_P(long userId,
long layoutSetBranchId,
long plid,
boolean retrieveFromCache)
Returns the recent layout revision where userId = ? and layoutSetBranchId = ? and plid = ? or returns
null if it could not be found, optionally using the finder cache. |
RecentLayoutRevision |
fetchByUserId_First(long userId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the first recent layout revision in the ordered set where userId = ?.
|
RecentLayoutRevision |
fetchByUserId_Last(long userId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the last recent layout revision in the ordered set where userId = ?.
|
List<RecentLayoutRevision> |
findAll()
Returns all the recent layout revisions.
|
List<RecentLayoutRevision> |
findAll(int start,
int end)
Returns a range of all the recent layout revisions.
|
List<RecentLayoutRevision> |
findAll(int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns an ordered range of all the recent layout revisions.
|
List<RecentLayoutRevision> |
findAll(int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout revisions.
|
RecentLayoutRevision |
findByGroupId_First(long groupId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the first recent layout revision in the ordered set where groupId = ?.
|
RecentLayoutRevision |
findByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the last recent layout revision in the ordered set where groupId = ?.
|
RecentLayoutRevision[] |
findByGroupId_PrevAndNext(long recentLayoutRevisionId,
long groupId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the recent layout revisions before and after the current recent layout revision in the ordered set where groupId = ?.
|
List<RecentLayoutRevision> |
findByGroupId(long groupId)
Returns all the recent layout revisions where groupId = ?.
|
List<RecentLayoutRevision> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the recent layout revisions where groupId = ?.
|
List<RecentLayoutRevision> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns an ordered range of all the recent layout revisions where groupId = ?.
|
List<RecentLayoutRevision> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout revisions where groupId = ?.
|
RecentLayoutRevision |
findByLayoutRevisionId_First(long layoutRevisionId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the first recent layout revision in the ordered set where layoutRevisionId = ?.
|
RecentLayoutRevision |
findByLayoutRevisionId_Last(long layoutRevisionId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the last recent layout revision in the ordered set where layoutRevisionId = ?.
|
RecentLayoutRevision[] |
findByLayoutRevisionId_PrevAndNext(long recentLayoutRevisionId,
long layoutRevisionId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the recent layout revisions before and after the current recent layout revision in the ordered set where layoutRevisionId = ?.
|
List<RecentLayoutRevision> |
findByLayoutRevisionId(long layoutRevisionId)
Returns all the recent layout revisions where layoutRevisionId = ?.
|
List<RecentLayoutRevision> |
findByLayoutRevisionId(long layoutRevisionId,
int start,
int end)
Returns a range of all the recent layout revisions where layoutRevisionId = ?.
|
List<RecentLayoutRevision> |
findByLayoutRevisionId(long layoutRevisionId,
int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns an ordered range of all the recent layout revisions where layoutRevisionId = ?.
|
List<RecentLayoutRevision> |
findByLayoutRevisionId(long layoutRevisionId,
int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout revisions where layoutRevisionId = ?.
|
RecentLayoutRevision |
findByPrimaryKey(long recentLayoutRevisionId)
Returns the recent layout revision with the primary key or throws a
NoSuchRecentLayoutRevisionException if it could not be found. |
RecentLayoutRevision |
findByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Returns the recent layout revision where userId = ? and layoutSetBranchId = ? and plid = ? or throws a
NoSuchRecentLayoutRevisionException if it could not be found. |
RecentLayoutRevision |
findByUserId_First(long userId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the first recent layout revision in the ordered set where userId = ?.
|
RecentLayoutRevision |
findByUserId_Last(long userId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the last recent layout revision in the ordered set where userId = ?.
|
RecentLayoutRevision[] |
findByUserId_PrevAndNext(long recentLayoutRevisionId,
long userId,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns the recent layout revisions before and after the current recent layout revision in the ordered set where userId = ?.
|
List<RecentLayoutRevision> |
findByUserId(long userId)
Returns all the recent layout revisions where userId = ?.
|
List<RecentLayoutRevision> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the recent layout revisions where userId = ?.
|
List<RecentLayoutRevision> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator)
Returns an ordered range of all the recent layout revisions where userId = ?.
|
List<RecentLayoutRevision> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutRevision> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout revisions where userId = ?.
|
RecentLayoutRevision |
remove(long recentLayoutRevisionId)
Removes the recent layout revision with the primary key from the database.
|
void |
removeAll()
Removes all the recent layout revisions from the database.
|
void |
removeByGroupId(long groupId)
Removes all the recent layout revisions where groupId = ? from the database.
|
void |
removeByLayoutRevisionId(long layoutRevisionId)
Removes all the recent layout revisions where layoutRevisionId = ? from the database.
|
RecentLayoutRevision |
removeByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Removes the recent layout revision where userId = ? and layoutSetBranchId = ? and plid = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the recent layout revisions where userId = ? from the database.
|
RecentLayoutRevision |
updateImpl(RecentLayoutRevision recentLayoutRevision) |
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<RecentLayoutRevision> findByGroupId(long groupId)
groupId
- the group IDList<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)List<RecentLayoutRevision> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutRevision> findByGroupId(long groupId, int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheRecentLayoutRevision findByGroupId_First(long groupId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByGroupId_First(long groupId, OrderByComparator<RecentLayoutRevision> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout revision could not be foundRecentLayoutRevision findByGroupId_Last(long groupId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByGroupId_Last(long groupId, OrderByComparator<RecentLayoutRevision> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout revision could not be foundRecentLayoutRevision[] findByGroupId_PrevAndNext(long recentLayoutRevisionId, long groupId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
recentLayoutRevisionId
- the primary key of the current recent layout revisiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a recent layout revision with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDList<RecentLayoutRevision> findByUserId(long userId)
userId
- the user IDList<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)List<RecentLayoutRevision> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutRevision> findByUserId(long userId, int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheRecentLayoutRevision findByUserId_First(long userId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByUserId_First(long userId, OrderByComparator<RecentLayoutRevision> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout revision could not be foundRecentLayoutRevision findByUserId_Last(long userId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByUserId_Last(long userId, OrderByComparator<RecentLayoutRevision> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout revision could not be foundRecentLayoutRevision[] findByUserId_PrevAndNext(long recentLayoutRevisionId, long userId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
recentLayoutRevisionId
- the primary key of the current recent layout revisionuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a recent layout revision with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDList<RecentLayoutRevision> findByLayoutRevisionId(long layoutRevisionId)
layoutRevisionId
- the layout revision IDList<RecentLayoutRevision> findByLayoutRevisionId(long layoutRevisionId, 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 RecentLayoutRevisionModelImpl
. 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.
layoutRevisionId
- the layout revision IDstart
- the lower bound of the range of recent layout revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)List<RecentLayoutRevision> findByLayoutRevisionId(long layoutRevisionId, int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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.
layoutRevisionId
- the layout revision IDstart
- the lower bound of the range of recent layout revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutRevision> findByLayoutRevisionId(long layoutRevisionId, int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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.
layoutRevisionId
- the layout revision IDstart
- the lower bound of the range of recent layout revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheRecentLayoutRevision findByLayoutRevisionId_First(long layoutRevisionId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
layoutRevisionId
- the layout revision IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByLayoutRevisionId_First(long layoutRevisionId, OrderByComparator<RecentLayoutRevision> orderByComparator)
layoutRevisionId
- the layout revision IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout revision could not be foundRecentLayoutRevision findByLayoutRevisionId_Last(long layoutRevisionId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
layoutRevisionId
- the layout revision IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByLayoutRevisionId_Last(long layoutRevisionId, OrderByComparator<RecentLayoutRevision> orderByComparator)
layoutRevisionId
- the layout revision IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching recent layout revision could not be foundRecentLayoutRevision[] findByLayoutRevisionId_PrevAndNext(long recentLayoutRevisionId, long layoutRevisionId, OrderByComparator<RecentLayoutRevision> orderByComparator) throws NoSuchRecentLayoutRevisionException
recentLayoutRevisionId
- the primary key of the current recent layout revisionlayoutRevisionId
- the layout revision IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRecentLayoutRevisionException
- if a recent layout revision with the primary key could not be foundvoid removeByLayoutRevisionId(long layoutRevisionId)
layoutRevisionId
- the layout revision IDint countByLayoutRevisionId(long layoutRevisionId)
layoutRevisionId
- the layout revision IDRecentLayoutRevision findByU_L_P(long userId, long layoutSetBranchId, long plid) throws NoSuchRecentLayoutRevisionException
NoSuchRecentLayoutRevisionException
if it could not be found.userId
- the user IDlayoutSetBranchId
- the layout set branch IDplid
- the plidNoSuchRecentLayoutRevisionException
- if a matching recent layout revision could not be foundRecentLayoutRevision fetchByU_L_P(long userId, long layoutSetBranchId, long plid)
null
if it could not be found. Uses the finder cache.userId
- the user IDlayoutSetBranchId
- the layout set branch IDplid
- the plidnull
if a matching recent layout revision could not be foundRecentLayoutRevision fetchByU_L_P(long userId, long layoutSetBranchId, long plid, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDlayoutSetBranchId
- the layout set branch IDplid
- the plidretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching recent layout revision could not be foundRecentLayoutRevision removeByU_L_P(long userId, long layoutSetBranchId, long plid) throws NoSuchRecentLayoutRevisionException
userId
- the user IDlayoutSetBranchId
- the layout set branch IDplid
- the plidNoSuchRecentLayoutRevisionException
int countByU_L_P(long userId, long layoutSetBranchId, long plid)
userId
- the user IDlayoutSetBranchId
- the layout set branch IDplid
- the plidvoid cacheResult(RecentLayoutRevision recentLayoutRevision)
recentLayoutRevision
- the recent layout revisionvoid cacheResult(List<RecentLayoutRevision> recentLayoutRevisions)
recentLayoutRevisions
- the recent layout revisionsRecentLayoutRevision create(long recentLayoutRevisionId)
recentLayoutRevisionId
- the primary key for the new recent layout revisionRecentLayoutRevision remove(long recentLayoutRevisionId) throws NoSuchRecentLayoutRevisionException
recentLayoutRevisionId
- the primary key of the recent layout revisionNoSuchRecentLayoutRevisionException
- if a recent layout revision with the primary key could not be foundRecentLayoutRevision updateImpl(RecentLayoutRevision recentLayoutRevision)
RecentLayoutRevision findByPrimaryKey(long recentLayoutRevisionId) throws NoSuchRecentLayoutRevisionException
NoSuchRecentLayoutRevisionException
if it could not be found.recentLayoutRevisionId
- the primary key of the recent layout revisionNoSuchRecentLayoutRevisionException
- if a recent layout revision with the primary key could not be foundRecentLayoutRevision fetchByPrimaryKey(long recentLayoutRevisionId)
null
if it could not be found.recentLayoutRevisionId
- the primary key of the recent layout revisionnull
if a recent layout revision with the primary key could not be foundMap<Serializable,RecentLayoutRevision> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<RecentLayoutRevision>
List<RecentLayoutRevision> findAll()
List<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)List<RecentLayoutRevision> findAll(int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<RecentLayoutRevision> findAll(int start, int end, OrderByComparator<RecentLayoutRevision> 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 RecentLayoutRevisionModelImpl
. 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 revisionsend
- the upper bound of the range of recent layout revisions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()