@ProviderType
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
RecentLayoutSetBranchPersistence,
RecentLayoutSetBranchUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LAYOUTSETBRANCHID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_U_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_U_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTSETBRANCHID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTSETBRANCHID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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,
boolean isNew) |
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) |
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 |
fetchByPrimaryKey(Serializable primaryKey)
Returns the recent layout set branch with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.RecentLayoutSetBranch> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
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 retrieveFromCache)
Returns the recent layout set branch where userId = ? and layoutSetId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 retrieveFromCache)
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 retrieveFromCache)
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 retrieveFromCache)
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
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 retrieveFromCache)
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 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) |
protected com.liferay.portal.kernel.model.RecentLayoutSetBranch |
toUnwrappedModel(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch) |
com.liferay.portal.kernel.model.RecentLayoutSetBranch |
updateImpl(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch) |
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic 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 com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTSETBRANCHID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTSETBRANCHID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LAYOUTSETBRANCHID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_U_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U_L
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from 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 retrieveFromCache)
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 IDretrieveFromCache - whether to retrieve from 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.RecentLayoutSetBranchPersistencerecentLayoutSetBranch - 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 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 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, boolean isNew)
protected void clearUniqueFindersCache(RecentLayoutSetBranchModelImpl recentLayoutSetBranchModelImpl)
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>protected com.liferay.portal.kernel.model.RecentLayoutSetBranch toUnwrappedModel(com.liferay.portal.kernel.model.RecentLayoutSetBranch recentLayoutSetBranch)
public com.liferay.portal.kernel.model.RecentLayoutSetBranch findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchRecentLayoutSetBranchException
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(Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>fetchByPrimaryKey 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 branchnull 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 Map<Serializable,com.liferay.portal.kernel.model.RecentLayoutSetBranch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RecentLayoutSetBranch>fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistencefetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RecentLayoutSetBranch>public 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RecentLayoutSetBranchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from 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 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()