public class LayoutSetBranchPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
implements com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
LayoutSetBranchPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the layout set branch persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
Caches the layout set branch in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
Caches the layout set branchs in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl) |
void |
clearCache()
Clears the cache for all layout set branchs.
|
void |
clearCache(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
Clears the cache for the layout set branch.
|
void |
clearCache(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs) |
protected void |
clearUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl,
boolean clearCurrent) |
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,
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.kernel.model.LayoutSetBranch |
create(long layoutSetBranchId)
Creates a new layout set branch with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_N(long groupId,
boolean privateLayout,
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.kernel.model.LayoutSetBranch |
fetchByG_P_N(long groupId,
boolean privateLayout,
String name,
boolean useFinderCache)
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.kernel.model.LayoutSetBranch |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByPrimaryKey(long layoutSetBranchId)
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.kernel.model.LayoutSetBranch[] |
filterFindByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> 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 = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> 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.kernel.model.LayoutSetBranch[] |
filterFindByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> 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 = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> 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.kernel.model.LayoutSetBranch[] |
filterFindByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> 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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByGroupId(long groupId)
Returns all the layout set branchs that the user has permission to view where groupId = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ?.
|
protected com.liferay.portal.kernel.model.LayoutSetBranch |
filterGetByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll()
Returns all the layout set branchs.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll(int start,
int end)
Returns a range of all the layout set branchs.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set branchs.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
findByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_N(long groupId,
boolean privateLayout,
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.kernel.model.LayoutSetBranch[] |
findByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layout set branchs where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
findByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId)
Returns all the layout set branchs where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set branchs where groupId = ?.
|
com.liferay.portal.kernel.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.kernel.model.LayoutSetBranch |
findByPrimaryKey(Serializable primaryKey)
Returns the layout set branch with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.LayoutSetBranch |
remove(long layoutSetBranchId)
Removes the layout set branch with the primary key from the database.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
remove(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.kernel.model.LayoutSetBranch |
removeByG_P_N(long groupId,
boolean privateLayout,
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.kernel.model.LayoutSetBranch |
removeImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
com.liferay.portal.kernel.model.LayoutSetBranch |
updateImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
LayoutSetBranchUtil to access the layout set branch persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId)
findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByGroupId in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByGroupId in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByGroupId in interface com.liferay.portal.kernel.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)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetBranch findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByGroupId_First in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByGroupId_First in interface com.liferay.portal.kernel.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 foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByGroupId_Last in interface com.liferay.portal.kernel.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 foundpublic com.liferay.portal.kernel.model.LayoutSetBranch[] findByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByGroupId_PrevAndNext in interface com.liferay.portal.kernel.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.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId)
filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
filterFindByGroupId in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
filterFindByGroupId in interface com.liferay.portal.kernel.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)public com.liferay.portal.kernel.model.LayoutSetBranch[] filterFindByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
filterFindByGroupId_PrevAndNext in interface com.liferay.portal.kernel.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.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout)
findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByG_P in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByG_P in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByG_P in interface com.liferay.portal.kernel.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)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_First in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_First in interface com.liferay.portal.kernel.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 foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_Last in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_Last in interface com.liferay.portal.kernel.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 foundpublic com.liferay.portal.kernel.model.LayoutSetBranch[] findByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_PrevAndNext in interface com.liferay.portal.kernel.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.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId,
boolean privateLayout)
filterFindByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
filterFindByG_P in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
filterFindByG_P in interface com.liferay.portal.kernel.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)public com.liferay.portal.kernel.model.LayoutSetBranch[] filterFindByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
filterFindByG_P_PrevAndNext in interface com.liferay.portal.kernel.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.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous)
public void removeByG_P(long groupId,
boolean privateLayout)
removeByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutpublic int countByG_P(long groupId,
boolean privateLayout)
countByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutpublic int filterCountByG_P(long groupId,
boolean privateLayout)
filterCountByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutpublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_N(long groupId,
boolean privateLayout,
String name)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
NoSuchLayoutSetBranchException if it could not be found.findByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namecom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_N(long groupId,
boolean privateLayout,
String name)
null if it could not be found. Uses the finder cache.fetchByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namenull if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_N(long groupId,
boolean privateLayout,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the nameuseFinderCache - whether to use the finder cachenull if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch removeByG_P_N(long groupId,
boolean privateLayout,
String name)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
removeByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namecom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchExceptionpublic int countByG_P_N(long groupId,
boolean privateLayout,
String name)
countByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutname - the namepublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master)
findByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByG_P_M in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByG_P_M in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findByG_P_M in interface com.liferay.portal.kernel.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)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_M_First in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_M_First in interface com.liferay.portal.kernel.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 foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_M_Last in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_M_Last in interface com.liferay.portal.kernel.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 foundpublic com.liferay.portal.kernel.model.LayoutSetBranch[] findByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_M_PrevAndNext in interface com.liferay.portal.kernel.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.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch getByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master)
filterFindByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
filterFindByG_P_M in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
filterFindByG_P_M in interface com.liferay.portal.kernel.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)public com.liferay.portal.kernel.model.LayoutSetBranch[] filterFindByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
filterFindByG_P_M_PrevAndNext in interface com.liferay.portal.kernel.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.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch filterGetByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous)
public void removeByG_P_M(long groupId,
boolean privateLayout,
boolean master)
removeByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterpublic int countByG_P_M(long groupId,
boolean privateLayout,
boolean master)
countByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterpublic int filterCountByG_P_M(long groupId,
boolean privateLayout,
boolean master)
filterCountByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencegroupId - the group IDprivateLayout - the private layoutmaster - the masterpublic void cacheResult(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
cacheResult in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>layoutSetBranch - the layout set branchpublic void cacheResult(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
cacheResult in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencelayoutSetBranchs - the layout set branchspublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>public void clearCache(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>public void clearCache(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>protected void cacheUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl)
protected void clearUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.LayoutSetBranch create(long layoutSetBranchId)
create in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key for the new layout set branchpublic com.liferay.portal.kernel.model.LayoutSetBranch remove(long layoutSetBranchId)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
remove in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>primaryKey - the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch removeImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>public com.liferay.portal.kernel.model.LayoutSetBranch updateImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
updateImpl in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>public com.liferay.portal.kernel.model.LayoutSetBranch findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>primaryKey - the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByPrimaryKey(long layoutSetBranchId)
throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
NoSuchLayoutSetBranchException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException - if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByPrimaryKey(long layoutSetBranchId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencelayoutSetBranchId - the primary key of the layout set branchnull if a layout set branch with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencepublic List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findAll in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findAll in interface com.liferay.portal.kernel.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)public List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.
findAll in interface com.liferay.portal.kernel.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)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>public void afterPropertiesSet()
public void destroy()