Class LayoutSetBranchPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
com.liferay.portal.service.persistence.impl.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

public class LayoutSetBranchPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch> implements com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
The persistence implementation for the layout set branch service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    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
    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
     
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByG_P_M_First(long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByG_P_M_Last(long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByG_P_N(long groupId, boolean privateLayout, String name)
    Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByG_P_N(long groupId, boolean privateLayout, String name, boolean useFinderCache)
    Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the first layout set branch in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the last layout set branch in the ordered set where groupId = ?.
    com.liferay.portal.kernel.model.LayoutSetBranch
    fetchByPrimaryKey(long layoutSetBranchId)
    Returns the layout set branch with the primary key or returns null if it could not be found.
    int
    filterCountByG_P(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>
    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 a NoSuchLayoutSetBranchException if it could not be found.
    com.liferay.portal.kernel.model.LayoutSetBranch[]
    findByG_P_PrevAndNext(long layoutSetBranchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
    Returns the layout set 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 a NoSuchLayoutSetBranchException if it could not be found.
    com.liferay.portal.kernel.model.LayoutSetBranch
    Returns the layout set branch with the primary key or throws a com.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
     
    protected Map<String,Integer>
     
    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

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String 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)
      Returns all the layout set branches where groupId = ?.
      Specified by:
      findByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      layoutSetBranchId - the primary key of the current layout set branch
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public 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 = ?.
      Specified by:
      filterFindByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      layoutSetBranchId - the primary key of the current layout set branch
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      layoutSetBranchId - the primary key of the current layout set branch
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      filterFindByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      filterFindByG_P in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      layoutSetBranchId - the primary key of the current layout set branch
      groupId - the group ID
      privateLayout - the private layout
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - 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 a NoSuchLayoutSetBranchException if it could not be found.
      Specified by:
      findByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      name - 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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      name - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      name - the name
      useFinderCache - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      name - the name
      Returns:
      the layout set branch that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
    • countByG_P_N

      public int countByG_P_N(long groupId, boolean privateLayout, String name)
      Returns the number of layout set branches where groupId = ? and privateLayout = ? and name = ?.
      Specified by:
      countByG_P_N in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      name - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      layoutSetBranchId - the primary key of the current layout set branch
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      filterFindByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      filterFindByG_P_M in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      layoutSetBranchId - the primary key of the current layout set branch
      groupId - the group ID
      privateLayout - the private layout
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      groupId - the group ID
      privateLayout - the private layout
      master - 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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
      Parameters:
      layoutSetBranch - the layout set branch
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
      Caches the layout set branches in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.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 and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
      Overrides:
      clearCache in class com.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 and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl)
    • 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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
      Overrides:
      remove in class com.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 class com.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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Overrides:
      updateImpl in class com.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 a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
      Overrides:
      findByPrimaryKey in class com.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 a NoSuchLayoutSetBranchException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.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 returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.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

      public List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll()
      Returns all the layout set branches.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Returns:
      the layout set branches
    • findAll

      public List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start, int end)
      Returns a range of all the layout set branches.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      start - the lower bound of the range of layout set branches
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Parameters:
      start - the lower bound of the range of layout set branches
      end - the upper bound of the range of layout set branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
    • countAll

      public int countAll()
      Returns the number of layout set branches.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
      Returns:
      the number of layout set branches
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
      Overrides:
      getBadColumnNames in class com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
    • getTableColumnsMap

      protected Map<String,Integer> getTableColumnsMap()
      Overrides:
      getTableColumnsMap in class com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>