Interface AccountGroupRelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AccountGroupRel>

@ProviderType public interface AccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountGroupRel>
The persistence interface for the account group rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(AccountGroupRel accountGroupRel)
    Caches the account group rel in the entity cache if it is enabled.
    void
    cacheResult(List<AccountGroupRel> accountGroupRels)
    Caches the account group rels in the entity cache if it is enabled.
    int
    Returns the number of account group rels.
    int
    countByA_C(long accountGroupId, long classNameId)
    Returns the number of account group rels where accountGroupId = ? and classNameId = ?.
    int
    countByA_C_C(long accountGroupId, long classNameId, long classPK)
    Returns the number of account group rels where accountGroupId = ? and classNameId = ? and classPK = ?.
    int
    countByAccountGroupId(long accountGroupId)
    Returns the number of account group rels where accountGroupId = ?.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of account group rels where classNameId = ? and classPK = ?.
    create(long accountGroupRelId)
    Creates a new account group rel with the primary key.
    fetchByA_C_C(long accountGroupId, long classNameId, long classPK)
    Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
    fetchByA_C_C(long accountGroupId, long classNameId, long classPK, boolean useFinderCache)
    Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByA_C_First(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
    fetchByA_C_Last(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
    fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the first account group rel in the ordered set where accountGroupId = ?.
    fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the last account group rel in the ordered set where accountGroupId = ?.
    fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.
    fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.
    fetchByPrimaryKey(long accountGroupRelId)
    Returns the account group rel with the primary key or returns null if it could not be found.
    Returns all the account group rels.
    findAll(int start, int end)
    Returns a range of all the account group rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns an ordered range of all the account group rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account group rels.
    findByA_C(long accountGroupId, long classNameId)
    Returns all the account group rels where accountGroupId = ? and classNameId = ?.
    findByA_C(long accountGroupId, long classNameId, int start, int end)
    Returns a range of all the account group rels where accountGroupId = ? and classNameId = ?.
    findByA_C(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.
    findByA_C(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.
    findByA_C_C(long accountGroupId, long classNameId, long classPK)
    Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupRelException if it could not be found.
    findByA_C_First(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
    findByA_C_Last(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
    findByA_C_PrevAndNext(long accountGroupRelId, long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
    findByAccountGroupId(long accountGroupId)
    Returns all the account group rels where accountGroupId = ?.
    findByAccountGroupId(long accountGroupId, int start, int end)
    Returns a range of all the account group rels where accountGroupId = ?.
    findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns an ordered range of all the account group rels where accountGroupId = ?.
    findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account group rels where accountGroupId = ?.
    findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the first account group rel in the ordered set where accountGroupId = ?.
    findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the last account group rel in the ordered set where accountGroupId = ?.
    findByAccountGroupId_PrevAndNext(long accountGroupRelId, long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ?.
    findByC_C(long classNameId, long classPK)
    Returns all the account group rels where classNameId = ? and classPK = ?.
    findByC_C(long classNameId, long classPK, int start, int end)
    Returns a range of all the account group rels where classNameId = ? and classPK = ?.
    findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.
    findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.
    findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.
    findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.
    findByC_C_PrevAndNext(long accountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
    Returns the account group rels before and after the current account group rel in the ordered set where classNameId = ? and classPK = ?.
    findByPrimaryKey(long accountGroupRelId)
    Returns the account group rel with the primary key or throws a NoSuchGroupRelException if it could not be found.
    remove(long accountGroupRelId)
    Removes the account group rel with the primary key from the database.
    void
    Removes all the account group rels from the database.
    void
    removeByA_C(long accountGroupId, long classNameId)
    Removes all the account group rels where accountGroupId = ? and classNameId = ? from the database.
    removeByA_C_C(long accountGroupId, long classNameId, long classPK)
    Removes the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? from the database.
    void
    removeByAccountGroupId(long accountGroupId)
    Removes all the account group rels where accountGroupId = ? from the database.
    void
    removeByC_C(long classNameId, long classPK)
    Removes all the account group rels where classNameId = ? and classPK = ? from the database.
    updateImpl(AccountGroupRel accountGroupRel)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByAccountGroupId

      List<AccountGroupRel> findByAccountGroupId(long accountGroupId)
      Returns all the account group rels where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      Returns:
      the matching account group rels
    • findByAccountGroupId

      List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end)
      Returns a range of all the account group rels where accountGroupId = ?.

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

      Parameters:
      accountGroupId - the account group ID
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      Returns:
      the range of matching account group rels
    • findByAccountGroupId

      List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns an ordered range of all the account group rels where accountGroupId = ?.

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

      Parameters:
      accountGroupId - the account group ID
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account group rels
    • findByAccountGroupId

      List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account group rels where accountGroupId = ?.

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

      Parameters:
      accountGroupId - the account group ID
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (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 account group rels
    • findByAccountGroupId_First

      AccountGroupRel findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the first account group rel in the ordered set where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByAccountGroupId_First

      AccountGroupRel fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns the first account group rel in the ordered set where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group rel, or null if a matching account group rel could not be found
    • findByAccountGroupId_Last

      AccountGroupRel findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the last account group rel in the ordered set where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByAccountGroupId_Last

      AccountGroupRel fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns the last account group rel in the ordered set where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group rel, or null if a matching account group rel could not be found
    • findByAccountGroupId_PrevAndNext

      AccountGroupRel[] findByAccountGroupId_PrevAndNext(long accountGroupRelId, long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ?.
      Parameters:
      accountGroupRelId - the primary key of the current account group rel
      accountGroupId - the account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group rel
      Throws:
      NoSuchGroupRelException - if a account group rel with the primary key could not be found
    • removeByAccountGroupId

      void removeByAccountGroupId(long accountGroupId)
      Removes all the account group rels where accountGroupId = ? from the database.
      Parameters:
      accountGroupId - the account group ID
    • countByAccountGroupId

      int countByAccountGroupId(long accountGroupId)
      Returns the number of account group rels where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      Returns:
      the number of matching account group rels
    • findByA_C

      List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId)
      Returns all the account group rels where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      Returns:
      the matching account group rels
    • findByA_C

      List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId, int start, int end)
      Returns a range of all the account group rels where accountGroupId = ? and classNameId = ?.

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

      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      Returns:
      the range of matching account group rels
    • findByA_C

      List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.

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

      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account group rels
    • findByA_C

      List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.

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

      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (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 account group rels
    • findByA_C_First

      AccountGroupRel findByA_C_First(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByA_C_First

      AccountGroupRel fetchByA_C_First(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group rel, or null if a matching account group rel could not be found
    • findByA_C_Last

      AccountGroupRel findByA_C_Last(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByA_C_Last

      AccountGroupRel fetchByA_C_Last(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group rel, or null if a matching account group rel could not be found
    • findByA_C_PrevAndNext

      AccountGroupRel[] findByA_C_PrevAndNext(long accountGroupRelId, long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupRelId - the primary key of the current account group rel
      accountGroupId - the account group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group rel
      Throws:
      NoSuchGroupRelException - if a account group rel with the primary key could not be found
    • removeByA_C

      void removeByA_C(long accountGroupId, long classNameId)
      Removes all the account group rels where accountGroupId = ? and classNameId = ? from the database.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
    • countByA_C

      int countByA_C(long accountGroupId, long classNameId)
      Returns the number of account group rels where accountGroupId = ? and classNameId = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      Returns:
      the number of matching account group rels
    • findByC_C

      List<AccountGroupRel> findByC_C(long classNameId, long classPK)
      Returns all the account group rels where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching account group rels
    • findByC_C

      List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end)
      Returns a range of all the account group rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      Returns:
      the range of matching account group rels
    • findByC_C

      List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account group rels
    • findByC_C

      List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (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 account group rels
    • findByC_C_First

      AccountGroupRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByC_C_First

      AccountGroupRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group rel, or null if a matching account group rel could not be found
    • findByC_C_Last

      AccountGroupRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByC_C_Last

      AccountGroupRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group rel, or null if a matching account group rel could not be found
    • findByC_C_PrevAndNext

      AccountGroupRel[] findByC_C_PrevAndNext(long accountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
      Returns the account group rels before and after the current account group rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      accountGroupRelId - the primary key of the current account group rel
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group rel
      Throws:
      NoSuchGroupRelException - if a account group rel with the primary key could not be found
    • removeByC_C

      void removeByC_C(long classNameId, long classPK)
      Removes all the account group rels where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByC_C

      int countByC_C(long classNameId, long classPK)
      Returns the number of account group rels where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching account group rels
    • findByA_C_C

      AccountGroupRel findByA_C_C(long accountGroupId, long classNameId, long classPK) throws NoSuchGroupRelException
      Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupRelException if it could not be found.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching account group rel
      Throws:
      NoSuchGroupRelException - if a matching account group rel could not be found
    • fetchByA_C_C

      AccountGroupRel fetchByA_C_C(long accountGroupId, long classNameId, long classPK)
      Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching account group rel, or null if a matching account group rel could not be found
    • fetchByA_C_C

      AccountGroupRel fetchByA_C_C(long accountGroupId, long classNameId, long classPK, boolean useFinderCache)
      Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching account group rel, or null if a matching account group rel could not be found
    • removeByA_C_C

      AccountGroupRel removeByA_C_C(long accountGroupId, long classNameId, long classPK) throws NoSuchGroupRelException
      Removes the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? from the database.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the account group rel that was removed
      Throws:
      NoSuchGroupRelException
    • countByA_C_C

      int countByA_C_C(long accountGroupId, long classNameId, long classPK)
      Returns the number of account group rels where accountGroupId = ? and classNameId = ? and classPK = ?.
      Parameters:
      accountGroupId - the account group ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching account group rels
    • cacheResult

      void cacheResult(AccountGroupRel accountGroupRel)
      Caches the account group rel in the entity cache if it is enabled.
      Parameters:
      accountGroupRel - the account group rel
    • cacheResult

      void cacheResult(List<AccountGroupRel> accountGroupRels)
      Caches the account group rels in the entity cache if it is enabled.
      Parameters:
      accountGroupRels - the account group rels
    • create

      AccountGroupRel create(long accountGroupRelId)
      Creates a new account group rel with the primary key. Does not add the account group rel to the database.
      Parameters:
      accountGroupRelId - the primary key for the new account group rel
      Returns:
      the new account group rel
    • remove

      AccountGroupRel remove(long accountGroupRelId) throws NoSuchGroupRelException
      Removes the account group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      accountGroupRelId - the primary key of the account group rel
      Returns:
      the account group rel that was removed
      Throws:
      NoSuchGroupRelException - if a account group rel with the primary key could not be found
    • updateImpl

      AccountGroupRel updateImpl(AccountGroupRel accountGroupRel)
    • findByPrimaryKey

      AccountGroupRel findByPrimaryKey(long accountGroupRelId) throws NoSuchGroupRelException
      Returns the account group rel with the primary key or throws a NoSuchGroupRelException if it could not be found.
      Parameters:
      accountGroupRelId - the primary key of the account group rel
      Returns:
      the account group rel
      Throws:
      NoSuchGroupRelException - if a account group rel with the primary key could not be found
    • fetchByPrimaryKey

      AccountGroupRel fetchByPrimaryKey(long accountGroupRelId)
      Returns the account group rel with the primary key or returns null if it could not be found.
      Parameters:
      accountGroupRelId - the primary key of the account group rel
      Returns:
      the account group rel, or null if a account group rel with the primary key could not be found
    • findAll

      List<AccountGroupRel> findAll()
      Returns all the account group rels.
      Returns:
      the account group rels
    • findAll

      List<AccountGroupRel> findAll(int start, int end)
      Returns a range of all the account group rels.

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

      Parameters:
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      Returns:
      the range of account group rels
    • findAll

      List<AccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
      Returns an ordered range of all the account group rels.

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

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

      List<AccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account group rels.

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

      Parameters:
      start - the lower bound of the range of account group rels
      end - the upper bound of the range of account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of account group rels
    • removeAll

      void removeAll()
      Removes all the account group rels from the database.
    • countAll

      int countAll()
      Returns the number of account group rels.
      Returns:
      the number of account group rels