Interface LayoutBranchPersistence

All Superinterfaces:
BasePersistence<LayoutBranch>

@ProviderType public interface LayoutBranchPersistence extends BasePersistence<LayoutBranch>
The persistence interface for the layout branch service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • findByLayoutSetBranchId

      List<LayoutBranch> findByLayoutSetBranchId(long layoutSetBranchId)
      Returns all the layout branches where layoutSetBranchId = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      Returns:
      the matching layout branches
    • findByLayoutSetBranchId

      List<LayoutBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end)
      Returns a range of all the layout branches where layoutSetBranchId = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      Returns:
      the range of matching layout branches
    • findByLayoutSetBranchId

      List<LayoutBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutBranch> orderByComparator)
      Returns an ordered range of all the layout branches where layoutSetBranchId = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout branches
    • findByLayoutSetBranchId

      List<LayoutBranch> findByLayoutSetBranchId(long layoutSetBranchId, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout branches where layoutSetBranchId = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout 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 branches
    • findByLayoutSetBranchId_First

      LayoutBranch findByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the first layout branch in the ordered set where layoutSetBranchId = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByLayoutSetBranchId_First

      LayoutBranch fetchByLayoutSetBranchId_First(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the first layout branch in the ordered set where layoutSetBranchId = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch, or null if a matching layout branch could not be found
    • findByLayoutSetBranchId_Last

      LayoutBranch findByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the last layout branch in the ordered set where layoutSetBranchId = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByLayoutSetBranchId_Last

      LayoutBranch fetchByLayoutSetBranchId_Last(long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the last layout branch in the ordered set where layoutSetBranchId = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch, or null if a matching layout branch could not be found
    • findByLayoutSetBranchId_PrevAndNext

      LayoutBranch[] findByLayoutSetBranchId_PrevAndNext(long layoutBranchId, long layoutSetBranchId, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ?.
      Parameters:
      layoutBranchId - the primary key of the current layout branch
      layoutSetBranchId - the layout set branch ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout branch
      Throws:
      NoSuchLayoutBranchException - if a layout branch with the primary key could not be found
    • removeByLayoutSetBranchId

      void removeByLayoutSetBranchId(long layoutSetBranchId)
      Removes all the layout branches where layoutSetBranchId = ? from the database.
      Parameters:
      layoutSetBranchId - the layout set branch ID
    • countByLayoutSetBranchId

      int countByLayoutSetBranchId(long layoutSetBranchId)
      Returns the number of layout branches where layoutSetBranchId = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      Returns:
      the number of matching layout branches
    • findByPlid

      List<LayoutBranch> findByPlid(long plid)
      Returns all the layout branches where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the matching layout branches
    • findByPlid

      List<LayoutBranch> findByPlid(long plid, int start, int end)
      Returns a range of all the layout branches where plid = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      Returns:
      the range of matching layout branches
    • findByPlid

      List<LayoutBranch> findByPlid(long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator)
      Returns an ordered range of all the layout branches where plid = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout branches
    • findByPlid

      List<LayoutBranch> findByPlid(long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout branches where plid = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout 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 branches
    • findByPlid_First

      LayoutBranch findByPlid_First(long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the first layout branch in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByPlid_First

      LayoutBranch fetchByPlid_First(long plid, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the first layout branch in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch, or null if a matching layout branch could not be found
    • findByPlid_Last

      LayoutBranch findByPlid_Last(long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the last layout branch in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByPlid_Last

      LayoutBranch fetchByPlid_Last(long plid, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the last layout branch in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch, or null if a matching layout branch could not be found
    • findByPlid_PrevAndNext

      LayoutBranch[] findByPlid_PrevAndNext(long layoutBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the layout branches before and after the current layout branch in the ordered set where plid = ?.
      Parameters:
      layoutBranchId - the primary key of the current layout branch
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout branch
      Throws:
      NoSuchLayoutBranchException - if a layout branch with the primary key could not be found
    • removeByPlid

      void removeByPlid(long plid)
      Removes all the layout branches where plid = ? from the database.
      Parameters:
      plid - the plid
    • countByPlid

      int countByPlid(long plid)
      Returns the number of layout branches where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the number of matching layout branches
    • findByL_P

      List<LayoutBranch> findByL_P(long layoutSetBranchId, long plid)
      Returns all the layout branches where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      Returns:
      the matching layout branches
    • findByL_P

      List<LayoutBranch> findByL_P(long layoutSetBranchId, long plid, int start, int end)
      Returns a range of all the layout branches where layoutSetBranchId = ? and plid = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      Returns:
      the range of matching layout branches
    • findByL_P

      List<LayoutBranch> findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator)
      Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout branches
    • findByL_P

      List<LayoutBranch> findByL_P(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ?.

      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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout 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 branches
    • findByL_P_First

      LayoutBranch findByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByL_P_First

      LayoutBranch fetchByL_P_First(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch, or null if a matching layout branch could not be found
    • findByL_P_Last

      LayoutBranch findByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByL_P_Last

      LayoutBranch fetchByL_P_Last(long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch, or null if a matching layout branch could not be found
    • findByL_P_PrevAndNext

      LayoutBranch[] findByL_P_PrevAndNext(long layoutBranchId, long layoutSetBranchId, long plid, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutBranchId - the primary key of the current layout branch
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout branch
      Throws:
      NoSuchLayoutBranchException - if a layout branch with the primary key could not be found
    • removeByL_P

      void removeByL_P(long layoutSetBranchId, long plid)
      Removes all the layout branches where layoutSetBranchId = ? and plid = ? from the database.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
    • countByL_P

      int countByL_P(long layoutSetBranchId, long plid)
      Returns the number of layout branches where layoutSetBranchId = ? and plid = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      Returns:
      the number of matching layout branches
    • findByL_P_N

      LayoutBranch findByL_P_N(long layoutSetBranchId, long plid, String name) throws NoSuchLayoutBranchException
      Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or throws a NoSuchLayoutBranchException if it could not be found.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      name - the name
      Returns:
      the matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByL_P_N

      LayoutBranch fetchByL_P_N(long layoutSetBranchId, long plid, String name)
      Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      name - the name
      Returns:
      the matching layout branch, or null if a matching layout branch could not be found
    • fetchByL_P_N

      LayoutBranch fetchByL_P_N(long layoutSetBranchId, long plid, String name, boolean useFinderCache)
      Returns the layout branch where layoutSetBranchId = ? and plid = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout branch, or null if a matching layout branch could not be found
    • removeByL_P_N

      LayoutBranch removeByL_P_N(long layoutSetBranchId, long plid, String name) throws NoSuchLayoutBranchException
      Removes the layout branch where layoutSetBranchId = ? and plid = ? and name = ? from the database.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      name - the name
      Returns:
      the layout branch that was removed
      Throws:
      NoSuchLayoutBranchException
    • countByL_P_N

      int countByL_P_N(long layoutSetBranchId, long plid, String name)
      Returns the number of layout branches where layoutSetBranchId = ? and plid = ? and name = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      name - the name
      Returns:
      the number of matching layout branches
    • findByL_P_M

      List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master)
      Returns all the layout branches where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      Returns:
      the matching layout branches
    • findByL_P_M

      List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master, int start, int end)
      Returns a range of all the layout branches where layoutSetBranchId = ? and plid = ? 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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      Returns:
      the range of matching layout branches
    • findByL_P_M

      List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master, int start, int end, OrderByComparator<LayoutBranch> orderByComparator)
      Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ? 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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout branches
    • findByL_P_M

      List<LayoutBranch> findByL_P_M(long layoutSetBranchId, long plid, boolean master, int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout branches where layoutSetBranchId = ? and plid = ? 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 LayoutBranchModelImpl.

      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout 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 branches
    • findByL_P_M_First

      LayoutBranch findByL_P_M_First(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByL_P_M_First

      LayoutBranch fetchByL_P_M_First(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the first layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout branch, or null if a matching layout branch could not be found
    • findByL_P_M_Last

      LayoutBranch findByL_P_M_Last(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch
      Throws:
      NoSuchLayoutBranchException - if a matching layout branch could not be found
    • fetchByL_P_M_Last

      LayoutBranch fetchByL_P_M_Last(long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator)
      Returns the last layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching layout branch, or null if a matching layout branch could not be found
    • findByL_P_M_PrevAndNext

      LayoutBranch[] findByL_P_M_PrevAndNext(long layoutBranchId, long layoutSetBranchId, long plid, boolean master, OrderByComparator<LayoutBranch> orderByComparator) throws NoSuchLayoutBranchException
      Returns the layout branches before and after the current layout branch in the ordered set where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutBranchId - the primary key of the current layout branch
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout branch
      Throws:
      NoSuchLayoutBranchException - if a layout branch with the primary key could not be found
    • removeByL_P_M

      void removeByL_P_M(long layoutSetBranchId, long plid, boolean master)
      Removes all the layout branches where layoutSetBranchId = ? and plid = ? and master = ? from the database.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
    • countByL_P_M

      int countByL_P_M(long layoutSetBranchId, long plid, boolean master)
      Returns the number of layout branches where layoutSetBranchId = ? and plid = ? and master = ?.
      Parameters:
      layoutSetBranchId - the layout set branch ID
      plid - the plid
      master - the master
      Returns:
      the number of matching layout branches
    • cacheResult

      void cacheResult(LayoutBranch layoutBranch)
      Caches the layout branch in the entity cache if it is enabled.
      Parameters:
      layoutBranch - the layout branch
    • cacheResult

      void cacheResult(List<LayoutBranch> layoutBranchs)
      Caches the layout branches in the entity cache if it is enabled.
      Parameters:
      layoutBranchs - the layout branches
    • create

      LayoutBranch create(long layoutBranchId)
      Creates a new layout branch with the primary key. Does not add the layout branch to the database.
      Parameters:
      layoutBranchId - the primary key for the new layout branch
      Returns:
      the new layout branch
    • remove

      LayoutBranch remove(long layoutBranchId) throws NoSuchLayoutBranchException
      Removes the layout branch with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutBranchId - the primary key of the layout branch
      Returns:
      the layout branch that was removed
      Throws:
      NoSuchLayoutBranchException - if a layout branch with the primary key could not be found
    • updateImpl

      LayoutBranch updateImpl(LayoutBranch layoutBranch)
    • findByPrimaryKey

      LayoutBranch findByPrimaryKey(long layoutBranchId) throws NoSuchLayoutBranchException
      Returns the layout branch with the primary key or throws a NoSuchLayoutBranchException if it could not be found.
      Parameters:
      layoutBranchId - the primary key of the layout branch
      Returns:
      the layout branch
      Throws:
      NoSuchLayoutBranchException - if a layout branch with the primary key could not be found
    • fetchByPrimaryKey

      LayoutBranch fetchByPrimaryKey(long layoutBranchId)
      Returns the layout branch with the primary key or returns null if it could not be found.
      Parameters:
      layoutBranchId - the primary key of the layout branch
      Returns:
      the layout branch, or null if a layout branch with the primary key could not be found
    • findAll

      List<LayoutBranch> findAll()
      Returns all the layout branches.
      Returns:
      the layout branches
    • findAll

      List<LayoutBranch> findAll(int start, int end)
      Returns a range of all the layout 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 LayoutBranchModelImpl.

      Parameters:
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      Returns:
      the range of layout branches
    • findAll

      List<LayoutBranch> findAll(int start, int end, OrderByComparator<LayoutBranch> orderByComparator)
      Returns an ordered range of all the layout 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 LayoutBranchModelImpl.

      Parameters:
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout branches (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of layout branches
    • findAll

      List<LayoutBranch> findAll(int start, int end, OrderByComparator<LayoutBranch> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout 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 LayoutBranchModelImpl.

      Parameters:
      start - the lower bound of the range of layout branches
      end - the upper bound of the range of layout 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 branches
    • removeAll

      void removeAll()
      Removes all the layout branches from the database.
    • countAll

      int countAll()
      Returns the number of layout branches.
      Returns:
      the number of layout branches