|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface RecentLayoutBranchPersistence
The persistence interface for the recent layout branch service.
Caching information and settings can be found in portal.properties
RecentLayoutBranchPersistenceImpl,
RecentLayoutBranchUtil| Method Summary | |
|---|---|
void |
cacheResult(List<RecentLayoutBranch> recentLayoutBranchs)
Caches the recent layout branchs in the entity cache if it is enabled. |
void |
cacheResult(RecentLayoutBranch recentLayoutBranch)
Caches the recent layout branch in the entity cache if it is enabled. |
int |
countAll()
Returns the number of recent layout branchs. |
int |
countByGroupId(long groupId)
Returns the number of recent layout branchs where groupId = ?. |
int |
countByLayoutBranchId(long layoutBranchId)
Returns the number of recent layout branchs where layoutBranchId = ?. |
int |
countByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Returns the number of recent layout branchs where userId = ? and layoutSetBranchId = ? and plid = ?. |
int |
countByUserId(long userId)
Returns the number of recent layout branchs where userId = ?. |
RecentLayoutBranch |
create(long recentLayoutBranchId)
Creates a new recent layout branch with the primary key. |
RecentLayoutBranch |
fetchByGroupId_First(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the first recent layout branch in the ordered set where groupId = ?. |
RecentLayoutBranch |
fetchByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the last recent layout branch in the ordered set where groupId = ?. |
RecentLayoutBranch |
fetchByLayoutBranchId_First(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the first recent layout branch in the ordered set where layoutBranchId = ?. |
RecentLayoutBranch |
fetchByLayoutBranchId_Last(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the last recent layout branch in the ordered set where layoutBranchId = ?. |
RecentLayoutBranch |
fetchByPrimaryKey(long recentLayoutBranchId)
Returns the recent layout branch with the primary key or returns null if it could not be found. |
Map<Serializable,RecentLayoutBranch> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
RecentLayoutBranch |
fetchByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returns null if it could not be found. |
RecentLayoutBranch |
fetchByU_L_P(long userId,
long layoutSetBranchId,
long plid,
boolean retrieveFromCache)
Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache. |
RecentLayoutBranch |
fetchByUserId_First(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the first recent layout branch in the ordered set where userId = ?. |
RecentLayoutBranch |
fetchByUserId_Last(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the last recent layout branch in the ordered set where userId = ?. |
List<RecentLayoutBranch> |
findAll()
Returns all the recent layout branchs. |
List<RecentLayoutBranch> |
findAll(int start,
int end)
Returns a range of all the recent layout branchs. |
List<RecentLayoutBranch> |
findAll(int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns an ordered range of all the recent layout branchs. |
List<RecentLayoutBranch> |
findAll(int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout branchs. |
RecentLayoutBranch |
findByGroupId_First(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the first recent layout branch in the ordered set where groupId = ?. |
RecentLayoutBranch |
findByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the last recent layout branch in the ordered set where groupId = ?. |
RecentLayoutBranch[] |
findByGroupId_PrevAndNext(long recentLayoutBranchId,
long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the recent layout branchs before and after the current recent layout branch in the ordered set where groupId = ?. |
List<RecentLayoutBranch> |
findByGroupId(long groupId)
Returns all the recent layout branchs where groupId = ?. |
List<RecentLayoutBranch> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the recent layout branchs where groupId = ?. |
List<RecentLayoutBranch> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns an ordered range of all the recent layout branchs where groupId = ?. |
List<RecentLayoutBranch> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout branchs where groupId = ?. |
RecentLayoutBranch |
findByLayoutBranchId_First(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the first recent layout branch in the ordered set where layoutBranchId = ?. |
RecentLayoutBranch |
findByLayoutBranchId_Last(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the last recent layout branch in the ordered set where layoutBranchId = ?. |
RecentLayoutBranch[] |
findByLayoutBranchId_PrevAndNext(long recentLayoutBranchId,
long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the recent layout branchs before and after the current recent layout branch in the ordered set where layoutBranchId = ?. |
List<RecentLayoutBranch> |
findByLayoutBranchId(long layoutBranchId)
Returns all the recent layout branchs where layoutBranchId = ?. |
List<RecentLayoutBranch> |
findByLayoutBranchId(long layoutBranchId,
int start,
int end)
Returns a range of all the recent layout branchs where layoutBranchId = ?. |
List<RecentLayoutBranch> |
findByLayoutBranchId(long layoutBranchId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns an ordered range of all the recent layout branchs where layoutBranchId = ?. |
List<RecentLayoutBranch> |
findByLayoutBranchId(long layoutBranchId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout branchs where layoutBranchId = ?. |
RecentLayoutBranch |
findByPrimaryKey(long recentLayoutBranchId)
Returns the recent layout branch with the primary key or throws a NoSuchRecentLayoutBranchException if it could not be found. |
RecentLayoutBranch |
findByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Returns the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? or throws a NoSuchRecentLayoutBranchException if it could not be found. |
RecentLayoutBranch |
findByUserId_First(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the first recent layout branch in the ordered set where userId = ?. |
RecentLayoutBranch |
findByUserId_Last(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the last recent layout branch in the ordered set where userId = ?. |
RecentLayoutBranch[] |
findByUserId_PrevAndNext(long recentLayoutBranchId,
long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns the recent layout branchs before and after the current recent layout branch in the ordered set where userId = ?. |
List<RecentLayoutBranch> |
findByUserId(long userId)
Returns all the recent layout branchs where userId = ?. |
List<RecentLayoutBranch> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the recent layout branchs where userId = ?. |
List<RecentLayoutBranch> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator)
Returns an ordered range of all the recent layout branchs where userId = ?. |
List<RecentLayoutBranch> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the recent layout branchs where userId = ?. |
RecentLayoutBranch |
remove(long recentLayoutBranchId)
Removes the recent layout branch with the primary key from the database. |
void |
removeAll()
Removes all the recent layout branchs from the database. |
void |
removeByGroupId(long groupId)
Removes all the recent layout branchs where groupId = ? from the database. |
void |
removeByLayoutBranchId(long layoutBranchId)
Removes all the recent layout branchs where layoutBranchId = ? from the database. |
RecentLayoutBranch |
removeByU_L_P(long userId,
long layoutSetBranchId,
long plid)
Removes the recent layout branch where userId = ? and layoutSetBranchId = ? and plid = ? from the database. |
void |
removeByUserId(long userId)
Removes all the recent layout branchs where userId = ? from the database. |
RecentLayoutBranch |
updateImpl(RecentLayoutBranch recentLayoutBranch)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
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, update, update |
| Method Detail |
|---|
List<RecentLayoutBranch> findByGroupId(long groupId)
groupId - the group ID
List<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)
List<RecentLayoutBranch> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<RecentLayoutBranch> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
RecentLayoutBranch findByGroupId_First(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch fetchByGroupId_First(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
RecentLayoutBranch findByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch fetchByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
RecentLayoutBranch[] findByGroupId_PrevAndNext(long recentLayoutBranchId,
long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
recentLayoutBranchId - the primary key of the current recent layout branchgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group ID
List<RecentLayoutBranch> findByUserId(long userId)
userId - the user ID
List<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)
List<RecentLayoutBranch> findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<RecentLayoutBranch> findByUserId(long userId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
RecentLayoutBranch findByUserId_First(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch fetchByUserId_First(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
RecentLayoutBranch findByUserId_Last(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch fetchByUserId_Last(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
RecentLayoutBranch[] findByUserId_PrevAndNext(long recentLayoutBranchId,
long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
recentLayoutBranchId - the primary key of the current recent layout branchuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user ID
List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId)
layoutBranchId - the layout branch ID
List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId,
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 RecentLayoutBranchModelImpl. 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.
layoutBranchId - the layout branch IDstart - the lower bound of the range of recent layout branchsend - the upper bound of the range of recent layout branchs (not inclusive)
List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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.
layoutBranchId - the layout branch IDstart - the lower bound of the range of recent layout branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId,
int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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.
layoutBranchId - the layout branch IDstart - the lower bound of the range of recent layout branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
RecentLayoutBranch findByLayoutBranchId_First(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
layoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch fetchByLayoutBranchId_First(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
layoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
RecentLayoutBranch findByLayoutBranchId_Last(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
layoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch fetchByLayoutBranchId_Last(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
layoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
RecentLayoutBranch[] findByLayoutBranchId_PrevAndNext(long recentLayoutBranchId,
long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
recentLayoutBranchId - the primary key of the current recent layout branchlayoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundvoid removeByLayoutBranchId(long layoutBranchId)
layoutBranchId - the layout branch IDint countByLayoutBranchId(long layoutBranchId)
layoutBranchId - the layout branch ID
RecentLayoutBranch findByU_L_P(long userId,
long layoutSetBranchId,
long plid)
throws NoSuchRecentLayoutBranchException
NoSuchRecentLayoutBranchException if it could not be found.
userId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
RecentLayoutBranch 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 plid
null if a matching recent layout branch could not be found
RecentLayoutBranch 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 cache
null if a matching recent layout branch could not be found
RecentLayoutBranch removeByU_L_P(long userId,
long layoutSetBranchId,
long plid)
throws NoSuchRecentLayoutBranchException
userId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
NoSuchRecentLayoutBranchException
int countByU_L_P(long userId,
long layoutSetBranchId,
long plid)
userId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
void cacheResult(RecentLayoutBranch recentLayoutBranch)
recentLayoutBranch - the recent layout branchvoid cacheResult(List<RecentLayoutBranch> recentLayoutBranchs)
recentLayoutBranchs - the recent layout branchsRecentLayoutBranch create(long recentLayoutBranchId)
recentLayoutBranchId - the primary key for the new recent layout branch
RecentLayoutBranch remove(long recentLayoutBranchId)
throws NoSuchRecentLayoutBranchException
recentLayoutBranchId - the primary key of the recent layout branch
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundRecentLayoutBranch updateImpl(RecentLayoutBranch recentLayoutBranch)
RecentLayoutBranch findByPrimaryKey(long recentLayoutBranchId)
throws NoSuchRecentLayoutBranchException
NoSuchRecentLayoutBranchException if it could not be found.
recentLayoutBranchId - the primary key of the recent layout branch
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundRecentLayoutBranch fetchByPrimaryKey(long recentLayoutBranchId)
null if it could not be found.
recentLayoutBranchId - the primary key of the recent layout branch
null if a recent layout branch with the primary key could not be foundMap<Serializable,RecentLayoutBranch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<RecentLayoutBranch>List<RecentLayoutBranch> findAll()
List<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)
List<RecentLayoutBranch> findAll(int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
List<RecentLayoutBranch> findAll(int start,
int end,
OrderByComparator<RecentLayoutBranch> 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 RecentLayoutBranchModelImpl. 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 branchsend - the upper bound of the range of recent layout branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
void removeAll()
int countAll()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||