public class RecentLayoutSetBranchPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>
implements com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
|---|
RecentLayoutSetBranchPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the recent layout set branch persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> recentLayoutSetBranchs)
Caches the recent layout set branchs in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
Caches the recent layout set branch in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(RecentLayoutSetBranchModelImpl recentLayoutSetBranchModelImpl) |
void |
clearCache()
Clears the cache for all recent layout set branchs.
|
void |
clearCache(List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> recentLayoutSetBranchs) |
void |
clearCache(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
Clears the cache for the recent layout set branch.
|
protected void |
clearUniqueFindersCache(RecentLayoutSetBranchModelImpl recentLayoutSetBranchModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of recent layout set branchs.
|
int |
countByGroupId(long groupId)
Returns the number of recent layout set branchs where groupId = ?.
|
int |
countByLayoutSetBranchId(long layoutSetBranchId)
Returns the number of recent layout set branchs where layoutSetBranchId = ?.
|
int |
countByU_L(long userId,
long layoutSetId)
Returns the number of recent layout set branchs where userId = ? and layoutSetId = ?.
|
int |
countByUserId(long userId)
Returns the number of recent layout set branchs where userId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
create(long recentLayoutSetBranchId)
Creates a new recent layout set branch with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByPrimaryKey(long recentLayoutSetBranchId)
Returns the recent layout set branch with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByU_L(long userId,
long layoutSetId)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByU_L(long userId,
long layoutSetId,
boolean useFinderCache)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where userId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where userId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findAll()
Returns all the recent layout set branchs.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findAll(int start,
int end)
Returns a range of all the recent layout set branchs.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the recent layout set branchs.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch[] |
findByGroupId_PrevAndNext(long recentLayoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the recent layout set branchs before and after the current recent layout set branch in the ordered set where groupId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByGroupId(long groupId)
Returns all the recent layout set branchs where groupId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the recent layout set branchs where groupId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs where groupId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the recent layout set branchs where groupId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch[] |
findByLayoutSetBranchId_PrevAndNext(long recentLayoutSetBranchId,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the recent layout set branchs before and after the current recent layout set branch in the ordered set where layoutSetBranchId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId)
Returns all the recent layout set branchs where layoutSetBranchId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end)
Returns a range of all the recent layout set branchs where layoutSetBranchId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs where layoutSetBranchId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the recent layout set branchs where layoutSetBranchId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByPrimaryKey(long recentLayoutSetBranchId)
Returns the recent layout set branch with the primary key or throws a
NoSuchRecentLayoutSetBranchException if it could not be found. |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByPrimaryKey(Serializable primaryKey)
Returns the recent layout set branch with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByU_L(long userId,
long layoutSetId)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or throws a
NoSuchRecentLayoutSetBranchException if it could not be found. |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the first recent layout set branch in the ordered set where userId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the last recent layout set branch in the ordered set where userId = ?.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch[] |
findByUserId_PrevAndNext(long recentLayoutSetBranchId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns the recent layout set branchs before and after the current recent layout set branch in the ordered set where userId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByUserId(long userId)
Returns all the recent layout set branchs where userId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the recent layout set branchs where userId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Returns an ordered range of all the recent layout set branchs where userId = ?.
|
List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the recent layout set branchs where userId = ?.
|
protected com.liferay.portal.kernel.model.RecentLayoutSetBranch |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.RecentLayoutSetBranch |
getByLayoutSetBranchId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.RecentLayoutSetBranch |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
remove(long recentLayoutSetBranchId)
Removes the recent layout set branch with the primary key from the database.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
remove(Serializable primaryKey)
Removes the recent layout set branch with the primary key from the database.
|
void |
removeAll()
Removes all the recent layout set branchs from the database.
|
void |
removeByGroupId(long groupId)
Removes all the recent layout set branchs where groupId = ? from the database.
|
void |
removeByLayoutSetBranchId(long layoutSetBranchId)
Removes all the recent layout set branchs where layoutSetBranchId = ? from the database.
|
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
removeByU_L(long userId,
long layoutSetId)
Removes the recent layout set branch where userId = ? and layoutSetId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the recent layout set branchs where userId = ? from the database.
|
protected com.liferay.portal.kernel.model.RecentLayoutSetBranch |
removeImpl(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch) |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
updateImpl(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
RecentLayoutSetBranchUtil to access the recent layout set branch persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public RecentLayoutSetBranchPersistenceImpl()
public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByGroupId(long groupId)
findByGroupId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByGroupId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByGroupId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByGroupId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByGroupId_First in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
fetchByGroupId_First in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
fetchByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch[] findByGroupId_PrevAndNext(long recentLayoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByGroupId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key of the current recent layout set branchgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.RecentLayoutSetBranch getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByUserId(long userId)
findByUserId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDpublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByUserId(long userId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByUserId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByUserId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByUserId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByUserId_First in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
fetchByUserId_First in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByUserId_Last in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
fetchByUserId_Last in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch[] findByUserId_PrevAndNext(long recentLayoutSetBranchId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByUserId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key of the current recent layout set branchuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.RecentLayoutSetBranch getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean previous)
public void removeByUserId(long userId)
removeByUserId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDpublic int countByUserId(long userId)
countByUserId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDpublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId)
findByLayoutSetBranchId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDpublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByLayoutSetBranchId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByLayoutSetBranchId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findByLayoutSetBranchId(long layoutSetBranchId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findByLayoutSetBranchId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDstart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByLayoutSetBranchId_First in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByLayoutSetBranchId_First(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
fetchByLayoutSetBranchId_First in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)null if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByLayoutSetBranchId_Last in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByLayoutSetBranchId_Last(long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
fetchByLayoutSetBranchId_Last in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)null if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch[] findByLayoutSetBranchId_PrevAndNext(long recentLayoutSetBranchId,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
findByLayoutSetBranchId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key of the current recent layout set branchlayoutSetBranchId - the layout set branch IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.RecentLayoutSetBranch getByLayoutSetBranchId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch,
long layoutSetBranchId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean previous)
public void removeByLayoutSetBranchId(long layoutSetBranchId)
removeByLayoutSetBranchId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDpublic int countByLayoutSetBranchId(long layoutSetBranchId)
countByLayoutSetBranchId in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencelayoutSetBranchId - the layout set branch IDpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByU_L(long userId,
long layoutSetId)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
NoSuchRecentLayoutSetBranchException if it could not be found.findByU_L in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDlayoutSetId - the layout set IDcom.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByU_L(long userId,
long layoutSetId)
null if it could not be found. Uses the finder cache.fetchByU_L in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDlayoutSetId - the layout set IDnull if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByU_L(long userId,
long layoutSetId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByU_L in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDlayoutSetId - the layout set IDuseFinderCache - whether to use the finder cachenull if a matching recent layout set branch could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch removeByU_L(long userId,
long layoutSetId)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
removeByU_L in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDlayoutSetId - the layout set IDcom.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchExceptionpublic int countByU_L(long userId,
long layoutSetId)
countByU_L in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceuserId - the user IDlayoutSetId - the layout set IDpublic void cacheResult(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
cacheResult in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>recentLayoutSetBranch - the recent layout set branchpublic void cacheResult(List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> recentLayoutSetBranchs)
cacheResult in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchs - the recent layout set branchspublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>public void clearCache(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>public void clearCache(List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> recentLayoutSetBranchs)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>protected void cacheUniqueFindersCache(RecentLayoutSetBranchModelImpl recentLayoutSetBranchModelImpl)
protected void clearUniqueFindersCache(RecentLayoutSetBranchModelImpl recentLayoutSetBranchModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.RecentLayoutSetBranch create(long recentLayoutSetBranchId)
create in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key for the new recent layout set branchpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch remove(long recentLayoutSetBranchId)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
remove in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key of the recent layout set branchcom.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>primaryKey - the primary key of the recent layout set branchcom.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.RecentLayoutSetBranch removeImpl(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>public com.liferay.portal.kernel.model.RecentLayoutSetBranch updateImpl(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
updateImpl in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>public com.liferay.portal.kernel.model.RecentLayoutSetBranch findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>primaryKey - the primary key of the recent layout set branchcom.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch findByPrimaryKey(long recentLayoutSetBranchId)
throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
NoSuchRecentLayoutSetBranchException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key of the recent layout set branchcom.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException - if a recent layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.RecentLayoutSetBranch fetchByPrimaryKey(long recentLayoutSetBranchId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencerecentLayoutSetBranchId - the primary key of the recent layout set branchnull if a recent layout set branch with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencepublic List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencestart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencestart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.RecentLayoutSetBranch> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RecentLayoutSetBranch> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencestart - the lower bound of the range of recent layout set branchsend - the upper bound of the range of recent layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistenceprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>public void afterPropertiesSet()
public void destroy()