|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<RecentLayoutBranch>
com.liferay.portal.service.persistence.impl.RecentLayoutBranchPersistenceImpl
@ProviderType public class RecentLayoutBranchPersistenceImpl
The persistence implementation for the recent layout branch service.
Caching information and settings can be found in portal.properties
RecentLayoutBranchPersistence,
RecentLayoutBranchUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
RecentLayoutBranchPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the recent layout branch persistence. |
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. |
protected void |
cacheUniqueFindersCache(RecentLayoutBranchModelImpl recentLayoutBranchModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all recent layout branchs. |
void |
clearCache(List<RecentLayoutBranch> recentLayoutBranchs)
Clears the cache for a List instances of this model. |
void |
clearCache(RecentLayoutBranch recentLayoutBranch)
Clears the cache for the recent layout branch. |
protected void |
clearUniqueFindersCache(RecentLayoutBranchModelImpl recentLayoutBranchModelImpl)
|
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. |
void |
destroy()
|
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. |
RecentLayoutBranch |
fetchByPrimaryKey(Serializable primaryKey)
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 |
findByPrimaryKey(Serializable primaryKey)
Returns the recent layout branch with the primary key or throws a NoSuchModelException 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 = ?. |
protected RecentLayoutBranch |
getByGroupId_PrevAndNext(Session session,
RecentLayoutBranch recentLayoutBranch,
long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean previous)
|
protected RecentLayoutBranch |
getByLayoutBranchId_PrevAndNext(Session session,
RecentLayoutBranch recentLayoutBranch,
long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean previous)
|
protected RecentLayoutBranch |
getByUserId_PrevAndNext(Session session,
RecentLayoutBranch recentLayoutBranch,
long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
RecentLayoutBranch |
remove(long recentLayoutBranchId)
Removes the recent layout branch with the primary key from the database. |
RecentLayoutBranch |
remove(Serializable primaryKey)
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. |
protected RecentLayoutBranch |
removeImpl(RecentLayoutBranch recentLayoutBranch)
Removes the model instance from the database. |
protected RecentLayoutBranch |
toUnwrappedModel(RecentLayoutBranch recentLayoutBranch)
|
RecentLayoutBranch |
updateImpl(RecentLayoutBranch recentLayoutBranch)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTBRANCHID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTBRANCHID
public static final FinderPath FINDER_PATH_COUNT_BY_LAYOUTBRANCHID
public static final FinderPath FINDER_PATH_FETCH_BY_U_L_P
public static final FinderPath FINDER_PATH_COUNT_BY_U_L_P
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public RecentLayoutBranchPersistenceImpl()
| Method Detail |
|---|
public List<RecentLayoutBranch> findByGroupId(long groupId)
findByGroupId in interface RecentLayoutBranchPersistencegroupId - the group ID
public 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.
findByGroupId in interface RecentLayoutBranchPersistencegroupId - 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)
public 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.
findByGroupId in interface RecentLayoutBranchPersistencegroupId - 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)
public 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.
findByGroupId in interface RecentLayoutBranchPersistencegroupId - 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
public RecentLayoutBranch findByGroupId_First(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByGroupId_First in interface RecentLayoutBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByGroupId_First(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
fetchByGroupId_First in interface RecentLayoutBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
public RecentLayoutBranch findByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByGroupId_Last in interface RecentLayoutBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByGroupId_Last(long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
fetchByGroupId_Last in interface RecentLayoutBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
public RecentLayoutBranch[] findByGroupId_PrevAndNext(long recentLayoutBranchId,
long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByGroupId_PrevAndNext in interface RecentLayoutBranchPersistencerecentLayoutBranchId - 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 found
protected RecentLayoutBranch getByGroupId_PrevAndNext(Session session,
RecentLayoutBranch recentLayoutBranch,
long groupId,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface RecentLayoutBranchPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface RecentLayoutBranchPersistencegroupId - the group ID
public List<RecentLayoutBranch> findByUserId(long userId)
findByUserId in interface RecentLayoutBranchPersistenceuserId - the user ID
public 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.
findByUserId in interface RecentLayoutBranchPersistenceuserId - 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)
public 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.
findByUserId in interface RecentLayoutBranchPersistenceuserId - 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)
public 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.
findByUserId in interface RecentLayoutBranchPersistenceuserId - 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
public RecentLayoutBranch findByUserId_First(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByUserId_First in interface RecentLayoutBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByUserId_First(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
fetchByUserId_First in interface RecentLayoutBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
public RecentLayoutBranch findByUserId_Last(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByUserId_Last in interface RecentLayoutBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByUserId_Last(long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
fetchByUserId_Last in interface RecentLayoutBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
public RecentLayoutBranch[] findByUserId_PrevAndNext(long recentLayoutBranchId,
long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByUserId_PrevAndNext in interface RecentLayoutBranchPersistencerecentLayoutBranchId - 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 found
protected RecentLayoutBranch getByUserId_PrevAndNext(Session session,
RecentLayoutBranch recentLayoutBranch,
long userId,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean previous)
public void removeByUserId(long userId)
removeByUserId in interface RecentLayoutBranchPersistenceuserId - the user IDpublic int countByUserId(long userId)
countByUserId in interface RecentLayoutBranchPersistenceuserId - the user ID
public List<RecentLayoutBranch> findByLayoutBranchId(long layoutBranchId)
findByLayoutBranchId in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch ID
public 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.
findByLayoutBranchId in interface RecentLayoutBranchPersistencelayoutBranchId - 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)
public 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.
findByLayoutBranchId in interface RecentLayoutBranchPersistencelayoutBranchId - 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)
public 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.
findByLayoutBranchId in interface RecentLayoutBranchPersistencelayoutBranchId - 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
public RecentLayoutBranch findByLayoutBranchId_First(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByLayoutBranchId_First in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByLayoutBranchId_First(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
fetchByLayoutBranchId_First in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
public RecentLayoutBranch findByLayoutBranchId_Last(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByLayoutBranchId_Last in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByLayoutBranchId_Last(long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
fetchByLayoutBranchId_Last in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching recent layout branch could not be found
public RecentLayoutBranch[] findByLayoutBranchId_PrevAndNext(long recentLayoutBranchId,
long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator)
throws NoSuchRecentLayoutBranchException
findByLayoutBranchId_PrevAndNext in interface RecentLayoutBranchPersistencerecentLayoutBranchId - 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 found
protected RecentLayoutBranch getByLayoutBranchId_PrevAndNext(Session session,
RecentLayoutBranch recentLayoutBranch,
long layoutBranchId,
OrderByComparator<RecentLayoutBranch> orderByComparator,
boolean previous)
public void removeByLayoutBranchId(long layoutBranchId)
removeByLayoutBranchId in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch IDpublic int countByLayoutBranchId(long layoutBranchId)
countByLayoutBranchId in interface RecentLayoutBranchPersistencelayoutBranchId - the layout branch ID
public RecentLayoutBranch findByU_L_P(long userId,
long layoutSetBranchId,
long plid)
throws NoSuchRecentLayoutBranchException
NoSuchRecentLayoutBranchException if it could not be found.
findByU_L_P in interface RecentLayoutBranchPersistenceuserId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
NoSuchRecentLayoutBranchException - if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByU_L_P(long userId,
long layoutSetBranchId,
long plid)
null if it could not be found. Uses the finder cache.
fetchByU_L_P in interface RecentLayoutBranchPersistenceuserId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
null if a matching recent layout branch could not be found
public RecentLayoutBranch fetchByU_L_P(long userId,
long layoutSetBranchId,
long plid,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByU_L_P in interface RecentLayoutBranchPersistenceuserId - 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
public RecentLayoutBranch removeByU_L_P(long userId,
long layoutSetBranchId,
long plid)
throws NoSuchRecentLayoutBranchException
removeByU_L_P in interface RecentLayoutBranchPersistenceuserId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
NoSuchRecentLayoutBranchException
public int countByU_L_P(long userId,
long layoutSetBranchId,
long plid)
countByU_L_P in interface RecentLayoutBranchPersistenceuserId - the user IDlayoutSetBranchId - the layout set branch IDplid - the plid
public void cacheResult(RecentLayoutBranch recentLayoutBranch)
cacheResult in interface RecentLayoutBranchPersistencerecentLayoutBranch - the recent layout branchpublic void cacheResult(List<RecentLayoutBranch> recentLayoutBranchs)
cacheResult in interface RecentLayoutBranchPersistencerecentLayoutBranchs - the recent layout branchspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<RecentLayoutBranch>clearCache in class BasePersistenceImpl<RecentLayoutBranch>public void clearCache(RecentLayoutBranch recentLayoutBranch)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<RecentLayoutBranch>clearCache in class BasePersistenceImpl<RecentLayoutBranch>recentLayoutBranch - the instance of this model to clear the cache forpublic void clearCache(List<RecentLayoutBranch> recentLayoutBranchs)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<RecentLayoutBranch>clearCache in class BasePersistenceImpl<RecentLayoutBranch>recentLayoutBranchs - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(RecentLayoutBranchModelImpl recentLayoutBranchModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(RecentLayoutBranchModelImpl recentLayoutBranchModelImpl)
public RecentLayoutBranch create(long recentLayoutBranchId)
create in interface RecentLayoutBranchPersistencerecentLayoutBranchId - the primary key for the new recent layout branch
public RecentLayoutBranch remove(long recentLayoutBranchId)
throws NoSuchRecentLayoutBranchException
remove in interface RecentLayoutBranchPersistencerecentLayoutBranchId - the primary key of the recent layout branch
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be found
public RecentLayoutBranch remove(Serializable primaryKey)
throws NoSuchRecentLayoutBranchException
remove in interface BasePersistence<RecentLayoutBranch>remove in class BasePersistenceImpl<RecentLayoutBranch>primaryKey - the primary key of the recent layout branch
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundprotected RecentLayoutBranch removeImpl(RecentLayoutBranch recentLayoutBranch)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<RecentLayoutBranch>recentLayoutBranch - the model instance to remove
public RecentLayoutBranch updateImpl(RecentLayoutBranch recentLayoutBranch)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface RecentLayoutBranchPersistenceupdateImpl in class BasePersistenceImpl<RecentLayoutBranch>recentLayoutBranch - the model instance to update
protected RecentLayoutBranch toUnwrappedModel(RecentLayoutBranch recentLayoutBranch)
public RecentLayoutBranch findByPrimaryKey(Serializable primaryKey)
throws NoSuchRecentLayoutBranchException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<RecentLayoutBranch>findByPrimaryKey in class BasePersistenceImpl<RecentLayoutBranch>primaryKey - the primary key of the recent layout branch
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be found
public RecentLayoutBranch findByPrimaryKey(long recentLayoutBranchId)
throws NoSuchRecentLayoutBranchException
NoSuchRecentLayoutBranchException if it could not be found.
findByPrimaryKey in interface RecentLayoutBranchPersistencerecentLayoutBranchId - the primary key of the recent layout branch
NoSuchRecentLayoutBranchException - if a recent layout branch with the primary key could not be foundpublic RecentLayoutBranch fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<RecentLayoutBranch>fetchByPrimaryKey in class BasePersistenceImpl<RecentLayoutBranch>primaryKey - the primary key of the recent layout branch
null if a recent layout branch with the primary key could not be foundpublic RecentLayoutBranch fetchByPrimaryKey(long recentLayoutBranchId)
null if it could not be found.
fetchByPrimaryKey in interface RecentLayoutBranchPersistencerecentLayoutBranchId - the primary key of the recent layout branch
null if a recent layout branch with the primary key could not be foundpublic Map<Serializable,RecentLayoutBranch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<RecentLayoutBranch>fetchByPrimaryKeys in interface RecentLayoutBranchPersistencefetchByPrimaryKeys in class BasePersistenceImpl<RecentLayoutBranch>public List<RecentLayoutBranch> findAll()
findAll in interface RecentLayoutBranchPersistence
public 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.
findAll in interface RecentLayoutBranchPersistencestart - the lower bound of the range of recent layout branchsend - the upper bound of the range of recent layout branchs (not inclusive)
public 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.
findAll in interface RecentLayoutBranchPersistencestart - 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)
public 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.
findAll in interface RecentLayoutBranchPersistencestart - 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
public void removeAll()
removeAll in interface RecentLayoutBranchPersistencepublic int countAll()
countAll in interface RecentLayoutBranchPersistenceprotected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<RecentLayoutBranch>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||