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 TypeMethodDescriptionvoid
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 branches in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(LayoutSetBranchModelImpl layoutSetBranchModelImpl) void
Clears the cache for all layout set branches.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) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of layout set branches.int
countByG_P
(long groupId, boolean privateLayout) Returns the number of layout set branches where groupId = ? and privateLayout = ?.int
countByG_P_M
(long groupId, boolean privateLayout, boolean master) Returns the number of layout set branches where groupId = ? and privateLayout = ? and master = ?.int
countByG_P_N
(long groupId, boolean privateLayout, String name) Returns the number of layout set branches where groupId = ? and privateLayout = ? and name = ?.int
countByGroupId
(long groupId) Returns the number of layout set branches 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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.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 = ?.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 = ?.int
filterCountByGroupId
(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.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 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.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 = ?.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.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 branches before and after the current layout set branch in the ordered set 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 aNoSuchLayoutSetBranchException
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 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.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 branches before and after the current layout set branch in the ordered set where groupId = ?.com.liferay.portal.kernel.model.LayoutSetBranch
findByPrimaryKey
(long layoutSetBranchId) Returns the layout set branch with the primary key or throws aNoSuchLayoutSetBranchException
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 acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.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
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
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
Removes all the layout set branches from the database.void
removeByG_P
(long groupId, boolean privateLayout) Removes all the layout set branches where groupId = ? and privateLayout = ? from the database.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.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
removeByGroupId
(long groupId) Removes all the layout set branches 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) 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, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByGroupId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
filterFindByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
filterFindByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
filterFindByGroupId
in 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_PrevAndNext
in 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:
removeByGroupId
in 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:
countByGroupId
in 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:
filterCountByGroupId
in 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_P
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByG_P
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByG_P
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByG_P
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_P
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
filterFindByG_P
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
filterFindByG_P
in 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_PrevAndNext
in 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_P
in 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_P
in 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_P
in 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 aNoSuchLayoutSetBranchException
if it could not be found.- Specified by:
findByG_P_N
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_P_N
in interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
- Parameters:
groupId
- the group IDprivateLayout
- the private layoutname
- the name- Returns:
- the matching layout set branch, or
null
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, boolean useFinderCache) Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_P_N
in 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
null
if 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_N
in 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_N
in 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_M
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByG_P_M
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByG_P_M
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findByG_P_M
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_M
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
filterFindByG_P_M
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
filterFindByG_P_M
in 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_PrevAndNext
in 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_M
in 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_M
in 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_M
in 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:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
- Overrides:
cacheResult
in 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:
cacheResult
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
- Overrides:
clearCache
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
clearCache
- Specified by:
clearCache
in 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:
create
in 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:
remove
in 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:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
- Overrides:
remove
in 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:
removeImpl
in 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:
updateImpl
in interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
- Overrides:
updateImpl
in 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.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
- Overrides:
findByPrimaryKey
in 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 aNoSuchLayoutSetBranchException
if it could not be found.- Specified by:
findByPrimaryKey
in 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
- Parameters:
layoutSetBranchId
- the primary key of the layout set branch- Returns:
- the layout set branch, or
null
if a layout set branch with the primary key could not be found
-
findAll
Returns all the layout set branches.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutSetBranchModelImpl
.- Specified by:
findAll
in 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:
removeAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
-
countAll
public int countAll()Returns the number of layout set branches.- Specified by:
countAll
in interfacecom.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
- Returns:
- the number of layout set branches
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
- Overrides:
getBadColumnNames
in 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:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-
getTableColumnsMap
- Overrides:
getTableColumnsMap
in 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:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
-