Class LayoutSetBranchPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>,com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the layout set branch persistence.voidcacheResult(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Caches the layout set branch in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs) Caches the layout set branches in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl) voidClears the cache for all layout set branches.voidclearCache(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Clears the cache for the layout set branch.voidclearCache(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of layout set branches.intcountByG_P(long groupId, boolean privateLayout) Returns the number of layout set branches where groupId = ? and privateLayout = ?.intcountByG_P_M(long groupId, boolean privateLayout, boolean master) Returns the number of layout set branches where groupId = ? and privateLayout = ? and master = ?.intcountByG_P_N(long groupId, boolean privateLayout, String name) Returns the number of layout set branches where groupId = ? and privateLayout = ? and name = ?.intcountByGroupId(long groupId) Returns the number of layout set branches where groupId = ?.com.liferay.portal.kernel.model.LayoutSetBranchcreate(long layoutSetBranchId) Creates a new layout set branch with the primary key.voiddestroy()com.liferay.portal.kernel.model.LayoutSetBranchfetchByG_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.LayoutSetBranchfetchByG_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.LayoutSetBranchfetchByG_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.LayoutSetBranchfetchByG_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.LayoutSetBranchfetchByG_P_N(long groupId, boolean privateLayout, String name) Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.LayoutSetBranchfetchByG_P_N(long groupId, boolean privateLayout, String name, boolean useFinderCache) Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.LayoutSetBranchfetchByGroupId_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.LayoutSetBranchfetchByGroupId_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.LayoutSetBranchfetchByPrimaryKey(long layoutSetBranchId) Returns the layout set branch with the primary key or returnsnullif it could not be found.intfilterCountByG_P(long groupId, boolean privateLayout) Returns the number of layout set branches that the user has permission to view where groupId = ? and privateLayout = ?.intfilterCountByG_P_M(long groupId, boolean privateLayout, boolean master) Returns the number of layout set branches that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.intfilterCountByGroupId(long groupId) Returns the number of layout set branches that the user has permission to view where groupId = ?.List<com.liferay.portal.kernel.model.LayoutSetBranch>filterFindByG_P(long groupId, boolean privateLayout) Returns all the layout set branches 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 branches 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 branches that the user has permissions to view where groupId = ? and privateLayout = ?.List<com.liferay.portal.kernel.model.LayoutSetBranch>filterFindByG_P_M(long groupId, boolean privateLayout, boolean master) Returns all the layout set branches 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 branches 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 branches that the user has permissions to view where groupId = ? and privateLayout = ? and master = ?.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 branches before and after the current layout set branch in the ordered set of layout set branches that the user has permission 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 branches before and after the current layout set branch in the ordered set of layout set branches that the user has permission to view where groupId = ? and privateLayout = ?.List<com.liferay.portal.kernel.model.LayoutSetBranch>filterFindByGroupId(long groupId) Returns all the layout set branches 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 branches 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 branches that the user has permissions to view where groupId = ?.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 branches before and after the current layout set branch in the ordered set of layout set branches that the user has permission to view where groupId = ?.protected com.liferay.portal.kernel.model.LayoutSetBranchfilterGetByG_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.LayoutSetBranchfilterGetByG_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.LayoutSetBranchfilterGetByGroupId_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 branches.List<com.liferay.portal.kernel.model.LayoutSetBranch>findAll(int start, int end) Returns a range of all the layout set branches.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 branches.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 branches.List<com.liferay.portal.kernel.model.LayoutSetBranch>findByG_P(long groupId, boolean privateLayout) Returns all the layout set branches 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 branches 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 branches 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 branches where groupId = ? and privateLayout = ?.com.liferay.portal.kernel.model.LayoutSetBranchfindByG_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.LayoutSetBranchfindByG_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 = ?.List<com.liferay.portal.kernel.model.LayoutSetBranch>findByG_P_M(long groupId, boolean privateLayout, boolean master) Returns all the layout set branches 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 branches 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 branches 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 branches where groupId = ? and privateLayout = ? and master = ?.com.liferay.portal.kernel.model.LayoutSetBranchfindByG_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.LayoutSetBranchfindByG_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 branches before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.com.liferay.portal.kernel.model.LayoutSetBranchfindByG_P_N(long groupId, boolean privateLayout, String name) Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or throws aNoSuchLayoutSetBranchExceptionif 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 branches before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ?.List<com.liferay.portal.kernel.model.LayoutSetBranch>findByGroupId(long groupId) Returns all the layout set branches where groupId = ?.List<com.liferay.portal.kernel.model.LayoutSetBranch>findByGroupId(long groupId, int start, int end) Returns a range of all the layout set branches 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 branches 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 branches where groupId = ?.com.liferay.portal.kernel.model.LayoutSetBranchfindByGroupId_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.LayoutSetBranchfindByGroupId_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 branches before and after the current layout set branch in the ordered set where groupId = ?.com.liferay.portal.kernel.model.LayoutSetBranchfindByPrimaryKey(long layoutSetBranchId) Returns the layout set branch with the primary key or throws aNoSuchLayoutSetBranchExceptionif it could not be found.com.liferay.portal.kernel.model.LayoutSetBranchfindByPrimaryKey(Serializable primaryKey) Returns the layout set branch with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.protected com.liferay.portal.kernel.model.LayoutSetBranchgetByG_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.LayoutSetBranchgetByG_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.LayoutSetBranchgetByGroupId_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.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.LayoutSetBranchremove(long layoutSetBranchId) Removes the layout set branch with the primary key from the database.com.liferay.portal.kernel.model.LayoutSetBranchremove(Serializable primaryKey) Removes the layout set branch with the primary key from the database.voidRemoves all the layout set branches from the database.voidremoveByG_P(long groupId, boolean privateLayout) Removes all the layout set branches where groupId = ? and privateLayout = ? from the database.voidremoveByG_P_M(long groupId, boolean privateLayout, boolean master) Removes all the layout set branches where groupId = ? and privateLayout = ? and master = ? from the database.com.liferay.portal.kernel.model.LayoutSetBranchremoveByG_P_N(long groupId, boolean privateLayout, String name) Removes the layout set branch where groupId = ? and privateLayout = ? and name = ? from the database.voidremoveByGroupId(long groupId) Removes all the layout set branches where groupId = ? from the database.protected com.liferay.portal.kernel.model.LayoutSetBranchremoveImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) com.liferay.portal.kernel.model.LayoutSetBranchupdateImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
LayoutSetBranchPersistenceImpl
public LayoutSetBranchPersistenceImpl()
-
-
Method Details
-
findByGroupId
Returns all the layout set branches where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group ID- Returns:
- the matching layout set branches
-
findByGroupId
public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId, int start, int end) Returns a range of all the layout set branches where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of matching layout set branches
-
findByGroupId
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) Returns an ordered range of all the layout set branches where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set branches
-
findByGroupId
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) Returns an ordered range of all the layout set branches where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set branches
-
findByGroupId_First
public 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 Returns the first layout set branch in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByGroupId_First
public 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 = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set branch, or
nullif a matching layout set branch could not be found
-
findByGroupId_Last
public 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 Returns the last layout set branch in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByGroupId_Last
public 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 = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout set branch, or
nullif a matching layout set branch could not be found
-
findByGroupId_PrevAndNext
public 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 Returns the layout set branches before and after the current layout set branch in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the current layout set branchgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
getByGroupId_PrevAndNext
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) -
filterFindByGroupId
Returns all the layout set branches that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group ID- Returns:
- the matching layout set branches that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the layout set branches that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
filterFindByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of matching layout set branches that the user has permission to view
-
filterFindByGroupId
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) Returns an ordered range of all the layout set branches that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
filterFindByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set branches that the user has permission to view
-
filterFindByGroupId_PrevAndNext
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 Returns the layout set branches before and after the current layout set branch in the ordered set of layout set branches that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the current layout set branchgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
filterGetByGroupId_PrevAndNext
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) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the layout set branches where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of layout set branches where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching layout set branches
-
filterCountByGroupId
public int filterCountByGroupId(long groupId) Returns the number of layout set branches that the user has permission to view where groupId = ?.- Specified by:
filterCountByGroupIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching layout set branches that the user has permission to view
-
findByG_P
public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId, boolean privateLayout) Returns all the layout set branches where groupId = ? and privateLayout = ?.- Specified by:
findByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the matching layout set branches
-
findByG_P
public 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 branches where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of matching layout set branches
-
findByG_P
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) Returns an ordered range of all the layout set branches where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set branches
-
findByG_P
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) Returns an ordered range of all the layout set branches where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set branches
-
findByG_P_First
public 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 Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.- Specified by:
findByG_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByG_P_First
public 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 = ?.- Specified by:
fetchByG_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set branch, or
nullif a matching layout set branch could not be found
-
findByG_P_Last
public 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 Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.- Specified by:
findByG_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByG_P_Last
public 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 = ?.- Specified by:
fetchByG_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout set branch, or
nullif a matching layout set branch could not be found
-
findByG_P_PrevAndNext
public 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 Returns the layout set branches before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ?.- Specified by:
findByG_P_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the current layout set branchgroupId- the group IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
getByG_P_PrevAndNext
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) -
filterFindByG_P
public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId, boolean privateLayout) Returns all the layout set branches that the user has permission to view where groupId = ? and privateLayout = ?.- Specified by:
filterFindByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the matching layout set branches that the user has permission to view
-
filterFindByG_P
public 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 branches that the user has permission to view where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
filterFindByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of matching layout set branches that the user has permission to view
-
filterFindByG_P
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) Returns an ordered range of all the layout set branches that the user has permissions to view where groupId = ? and privateLayout = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
filterFindByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set branches that the user has permission to view
-
filterFindByG_P_PrevAndNext
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 Returns the layout set branches before and after the current layout set branch in the ordered set of layout set branches that the user has permission to view where groupId = ? and privateLayout = ?.- Specified by:
filterFindByG_P_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the current layout set branchgroupId- the group IDprivateLayout- the private layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
filterGetByG_P_PrevAndNext
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) -
removeByG_P
public void removeByG_P(long groupId, boolean privateLayout) Removes all the layout set branches where groupId = ? and privateLayout = ? from the database.- Specified by:
removeByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layout
-
countByG_P
public int countByG_P(long groupId, boolean privateLayout) Returns the number of layout set branches where groupId = ? and privateLayout = ?.- Specified by:
countByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the number of matching layout set branches
-
filterCountByG_P
public int filterCountByG_P(long groupId, boolean privateLayout) Returns the number of layout set branches that the user has permission to view where groupId = ? and privateLayout = ?.- Specified by:
filterCountByG_Pin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layout- Returns:
- the number of matching layout set branches that the user has permission to view
-
findByG_P_N
public com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_N(long groupId, boolean privateLayout, String name) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or throws aNoSuchLayoutSetBranchExceptionif it could not be found.- Specified by:
findByG_P_Nin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutname- the name- Returns:
- the matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByG_P_N
public 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 returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_P_Nin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutname- the name- Returns:
- the matching layout set branch, or
nullif a matching layout set branch could not be found
-
fetchByG_P_N
public 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_P_Nin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching layout set branch, or
nullif a matching layout set branch could not be found
-
removeByG_P_N
public com.liferay.portal.kernel.model.LayoutSetBranch removeByG_P_N(long groupId, boolean privateLayout, String name) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException Removes the layout set branch where groupId = ? and privateLayout = ? and name = ? from the database.- Specified by:
removeByG_P_Nin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutname- the name- Returns:
- the layout set branch that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
-
countByG_P_N
Returns the number of layout set branches where groupId = ? and privateLayout = ? and name = ?.- Specified by:
countByG_P_Nin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutname- the name- Returns:
- the number of matching layout set branches
-
findByG_P_M
public List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId, boolean privateLayout, boolean master) Returns all the layout set branches where groupId = ? and privateLayout = ? and master = ?.- Specified by:
findByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the master- Returns:
- the matching layout set branches
-
findByG_P_M
public 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 branches where groupId = ? and privateLayout = ? and master = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of matching layout set branches
-
findByG_P_M
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) Returns an ordered range of all the layout set branches where groupId = ? and privateLayout = ? and master = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set branches
-
findByG_P_M
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) Returns an ordered range of all the layout set branches where groupId = ? and privateLayout = ? and master = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set branches
-
findByG_P_M_First
public 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 Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.- Specified by:
findByG_P_M_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByG_P_M_First
public 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 = ?.- Specified by:
fetchByG_P_M_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set branch, or
nullif a matching layout set branch could not be found
-
findByG_P_M_Last
public 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 Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.- Specified by:
findByG_P_M_Lastin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a matching layout set branch could not be found
-
fetchByG_P_M_Last
public 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 = ?.- Specified by:
fetchByG_P_M_Lastin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching layout set branch, or
nullif a matching layout set branch could not be found
-
findByG_P_M_PrevAndNext
public 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 Returns the layout set branches before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.- Specified by:
findByG_P_M_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the current layout set branchgroupId- the group IDprivateLayout- the private layoutmaster- the masterorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
getByG_P_M_PrevAndNext
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) -
filterFindByG_P_M
public List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId, boolean privateLayout, boolean master) Returns all the layout set branches that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.- Specified by:
filterFindByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the master- Returns:
- the matching layout set branches that the user has permission to view
-
filterFindByG_P_M
public 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 branches that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
filterFindByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of matching layout set branches that the user has permission to view
-
filterFindByG_P_M
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) Returns an ordered range of all the layout set branches that the user has permissions to view where groupId = ? and privateLayout = ? and master = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
filterFindByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the masterstart- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set branches that the user has permission to view
-
filterFindByG_P_M_PrevAndNext
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 Returns the layout set branches before and after the current layout set branch in the ordered set of layout set branches that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.- Specified by:
filterFindByG_P_M_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the current layout set branchgroupId- the group IDprivateLayout- the private layoutmaster- the masterorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
filterGetByG_P_M_PrevAndNext
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) -
removeByG_P_M
public void removeByG_P_M(long groupId, boolean privateLayout, boolean master) Removes all the layout set branches where groupId = ? and privateLayout = ? and master = ? from the database.- Specified by:
removeByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the master
-
countByG_P_M
public int countByG_P_M(long groupId, boolean privateLayout, boolean master) Returns the number of layout set branches where groupId = ? and privateLayout = ? and master = ?.- Specified by:
countByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the master- Returns:
- the number of matching layout set branches
-
filterCountByG_P_M
public int filterCountByG_P_M(long groupId, boolean privateLayout, boolean master) Returns the number of layout set branches that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.- Specified by:
filterCountByG_P_Min interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
groupId- the group IDprivateLayout- the private layoutmaster- the master- Returns:
- the number of matching layout set branches that the user has permission to view
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Caches the layout set branch in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>- Parameters:
layoutSetBranch- the layout set branch
-
cacheResult
Caches the layout set branches in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchs- the layout set branches
-
clearCache
public void clearCache()Clears the cache for all layout set branches.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Clears the cache for the layout set branch.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
-
cacheUniqueFindersCache
-
create
public com.liferay.portal.kernel.model.LayoutSetBranch create(long layoutSetBranchId) Creates a new layout set branch with the primary key. Does not add the layout set branch to the database.- Specified by:
createin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key for the new layout set branch- Returns:
- the new layout set branch
-
remove
public com.liferay.portal.kernel.model.LayoutSetBranch remove(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException Removes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the layout set branch- Returns:
- the layout set branch that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.LayoutSetBranch remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException Removes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>- Parameters:
primaryKey- the primary key of the layout set branch- Returns:
- the layout set branch that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.LayoutSetBranch removeImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
updateImpl
public com.liferay.portal.kernel.model.LayoutSetBranch updateImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.LayoutSetBranch findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException Returns the layout set branch with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>- Parameters:
primaryKey- the primary key of the layout set branch- Returns:
- the layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.LayoutSetBranch findByPrimaryKey(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException Returns the layout set branch with the primary key or throws aNoSuchLayoutSetBranchExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the layout set branch- Returns:
- the layout set branch
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException- if a layout set branch with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.LayoutSetBranch fetchByPrimaryKey(long layoutSetBranchId) Returns the layout set branch with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
layoutSetBranchId- the primary key of the layout set branch- Returns:
- the layout set branch, or
nullif a layout set branch with the primary key could not be found
-
findAll
Returns all the layout set branches.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Returns:
- the layout set branches
-
findAll
Returns a range of all the layout set branches.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
start- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of layout set branches
-
findAll
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) Returns an ordered range of all the layout set branches.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
start- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of layout set branches
-
findAll
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) Returns an ordered range of all the layout set branches.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Parameters:
start- the lower bound of the range of layout set branchesend- the upper bound of the range of layout set branches (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of layout set branches
-
removeAll
public void removeAll()Removes all the layout set branches from the database.- Specified by:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
-
countAll
public int countAll()Returns the number of layout set branches.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence- Returns:
- the number of layout set branches
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getTableColumnsMap
- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the layout set branch persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-