public class LayoutSetBranchPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>
implements com.liferay.portal.service.persistence.LayoutSetBranchPersistence
Caching information and settings can be found in portal.properties
LayoutSetBranchPersistence,
LayoutSetBranchUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.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_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_M |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_P_N |
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_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_M |
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_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_M |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 |
|---|
LayoutSetBranchPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the layout set branch persistence.
|
void |
cacheResult(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
Caches the layout set branch in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.model.LayoutSetBranch> layoutSetBranchs)
Caches the layout set branchs in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portal.model.LayoutSetBranch layoutSetBranch) |
void |
clearCache()
Clears the cache for all layout set branchs.
|
void |
clearCache(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
Clears the cache for the layout set branch.
|
void |
clearCache(java.util.List<com.liferay.portal.model.LayoutSetBranch> layoutSetBranchs) |
protected void |
clearUniqueFindersCache(com.liferay.portal.model.LayoutSetBranch layoutSetBranch) |
int |
countAll()
Returns the number of layout set branchs.
|
int |
countByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns the number of layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
int |
countByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Returns the number of layout set branchs where groupId = ? and privateLayout = ? and name = ?.
|
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layout set branchs where groupId = ? and privateLayout = ?.
|
int |
countByGroupId(long groupId)
Returns the number of layout set branchs where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch |
create(long layoutSetBranchId)
Creates a new layout set branch with the primary key.
|
void |
destroy() |
com.liferay.portal.model.LayoutSetBranch |
fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.model.LayoutSetBranch |
fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.model.LayoutSetBranch |
fetchByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.model.LayoutSetBranch |
fetchByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.model.LayoutSetBranch |
fetchByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.model.LayoutSetBranch |
fetchByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name,
boolean retrieveFromCache)
Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.LayoutSetBranch |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch |
fetchByPrimaryKey(long layoutSetBranchId)
Returns the layout set branch with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.LayoutSetBranch |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout set branch with the primary key or returns
null if it could not be found. |
int |
filterCountByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns the number of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of layout set branchs that the user has permission to view where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch[] |
filterFindByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
Returns a range of all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.model.LayoutSetBranch[] |
filterFindByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ? and privateLayout = ?.
|
com.liferay.portal.model.LayoutSetBranch[] |
filterFindByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByGroupId(long groupId)
Returns all the layout set branchs that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set branchs that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ?.
|
protected com.liferay.portal.model.LayoutSetBranch |
filterGetByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutSetBranch |
filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutSetBranch |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findAll()
Returns all the layout set branchs.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findAll(int start,
int end)
Returns a range of all the layout set branchs.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs.
|
com.liferay.portal.model.LayoutSetBranch |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.model.LayoutSetBranch[] |
findByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or throws a
NoSuchLayoutSetBranchException if it could not be found. |
com.liferay.portal.model.LayoutSetBranch[] |
findByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layout set branchs where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch[] |
findByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByGroupId(long groupId)
Returns all the layout set branchs where groupId = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ?.
|
java.util.List<com.liferay.portal.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ?.
|
com.liferay.portal.model.LayoutSetBranch |
findByPrimaryKey(long layoutSetBranchId)
Returns the layout set branch with the primary key or throws a
NoSuchLayoutSetBranchException if it could not be found. |
com.liferay.portal.model.LayoutSetBranch |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout set branch with the primary key or throws a
NoSuchModelException if it could not be found. |
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portal.model.LayoutSetBranch |
getByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutSetBranch |
getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutSetBranch |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portal.model.LayoutSetBranch |
remove(long layoutSetBranchId)
Removes the layout set branch with the primary key from the database.
|
com.liferay.portal.model.LayoutSetBranch |
remove(java.io.Serializable primaryKey)
Removes the layout set branch with the primary key from the database.
|
void |
removeAll()
Removes all the layout set branchs from the database.
|
void |
removeByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Removes all the layout set branchs where groupId = ? and privateLayout = ? and master = ? from the database.
|
com.liferay.portal.model.LayoutSetBranch |
removeByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Removes the layout set branch where groupId = ? and privateLayout = ? and name = ? from the database.
|
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layout set branchs where groupId = ? and privateLayout = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the layout set branchs where groupId = ? from the database.
|
protected com.liferay.portal.model.LayoutSetBranch |
removeImpl(com.liferay.portal.model.LayoutSetBranch layoutSetBranch) |
protected com.liferay.portal.model.LayoutSetBranch |
toUnwrappedModel(com.liferay.portal.model.LayoutSetBranch layoutSetBranch) |
com.liferay.portal.model.LayoutSetBranch |
updateImpl(com.liferay.portal.model.LayoutSetBranch layoutSetBranch) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.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_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_M
public java.util.List<com.liferay.portal.model.LayoutSetBranch> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.service.persistence.LayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.service.persistence.LayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_First in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_Last in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_Last in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch[] findByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the current layout set branchgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
filterFindByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
filterFindByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch[] filterFindByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
filterFindByGroupId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the current layout set branchgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByGroupId in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
findByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
findByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
findByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByG_P_First in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_P_First in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)null if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByG_P_Last in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_P_Last in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)null if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch[] findByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByG_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the current layout set branchgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
filterFindByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
filterFindByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch[] filterFindByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
filterFindByG_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the current layout set branchgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByG_P in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLayoutSetBranchException if it could not be found.findByG_P_N in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namecom.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByG_P_N in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namenull if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByG_P_N in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the nameretrieveFromCache - whether to use the finder cachenull if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch removeByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
removeByG_P_N in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchLayoutSetBranchExceptionpublic int countByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P_N in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master)
throws com.liferay.portal.kernel.exception.SystemException
findByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the mastercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
findByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
findByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByG_P_M_First in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_P_M_First in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)null if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByG_P_M_Last in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_P_M_Last in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)null if a matching layout set branch could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch[] findByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
findByG_P_M_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the current layout set branchgroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch getByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the mastercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
filterFindByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.
filterFindByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterstart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch[] filterFindByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
filterFindByG_P_M_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the current layout set branchgroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch filterGetByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_P_M(long groupId,
boolean privateLayout,
boolean master)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the mastercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_P_M(long groupId,
boolean privateLayout,
boolean master)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the mastercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByG_P_M(long groupId,
boolean privateLayout,
boolean master)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByG_P_M in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the mastercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
cacheResult in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranch - the layout set branchpublic void cacheResult(java.util.List<com.liferay.portal.model.LayoutSetBranch> layoutSetBranchs)
cacheResult in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchs - the layout set branchspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutSetBranch>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>public void clearCache(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutSetBranch>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>public void clearCache(java.util.List<com.liferay.portal.model.LayoutSetBranch> layoutSetBranchs)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutSetBranch>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>protected void cacheUniqueFindersCache(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
protected void clearUniqueFindersCache(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
public com.liferay.portal.model.LayoutSetBranch create(long layoutSetBranchId)
create in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key for the new layout set branchpublic com.liferay.portal.model.LayoutSetBranch remove(long layoutSetBranchId)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the layout set branchcom.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutSetBranch>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>primaryKey - the primary key of the layout set branchcom.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutSetBranch removeImpl(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.LayoutSetBranch updateImpl(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.model.LayoutSetBranch toUnwrappedModel(com.liferay.portal.model.LayoutSetBranch layoutSetBranch)
public com.liferay.portal.model.LayoutSetBranch findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutSetBranch>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>primaryKey - the primary key of the layout set branchcom.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch findByPrimaryKey(long layoutSetBranchId)
throws com.liferay.portal.NoSuchLayoutSetBranchException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLayoutSetBranchException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the layout set branchcom.liferay.portal.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutSetBranch>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>primaryKey - the primary key of the layout set branchnull if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutSetBranch fetchByPrimaryKey(long layoutSetBranchId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the layout set branchnull if a layout set branch with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.service.persistence.LayoutSetBranchPersistencestart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutSetBranch> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 LayoutSetBranchModelImpl. 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.service.persistence.LayoutSetBranchPersistencestart - the lower bound of the range of layout set branchsend - the upper bound of the range of layout set branchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portal.service.persistence.LayoutSetBranchPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutSetBranch>public void afterPropertiesSet()
public void destroy()