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.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_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_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.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, 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, 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 = ?.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 = ?.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 = ?.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_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.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.LayoutSetBranchfindByPrimaryKey(long layoutSetBranchId) Returns the layout set branch with the primary key or throws aNoSuchLayoutSetBranchExceptionif it could not be found.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.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, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCTPersistenceHelper, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, getTableName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
fetchByG_P_N, filterFindByG_P, filterFindByG_P, filterFindByG_P_M, filterFindByG_P_M, filterFindByGroupId, filterFindByGroupId, findByG_P, findByG_P, findByG_P, findByG_P_M, findByG_P_M, findByG_P_M, findByGroupId, findByGroupId, findByGroupId
-
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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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, 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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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
-
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
-
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
-
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,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
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,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
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
-
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,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
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,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
getTableColumnsMap
- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-
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,com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException>
-