Class AccountGroupUtil

java.lang.Object
com.liferay.account.service.persistence.AccountGroupUtil

public class AccountGroupUtil extends Object
The persistence utility for the account group service. This utility wraps com.liferay.account.service.persistence.impl.AccountGroupPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(AccountGroup accountGroup)
    Caches the account group in the entity cache if it is enabled.
    static void
    cacheResult(List<AccountGroup> accountGroups)
    Caches the account groups in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(AccountGroup accountGroup)
     
    static int
    Returns the number of account groups.
    static int
    countByAccountGroupId(long accountGroupId)
    Returns the number of account groups where accountGroupId = ?.
    static int
    countByAccountGroupId(long[] accountGroupIds)
    Returns the number of account groups where accountGroupId = any ?.
    static int
    countByC_D(long companyId, boolean defaultAccountGroup)
    Returns the number of account groups where companyId = ? and defaultAccountGroup = ?.
    static int
    countByC_LikeN(long companyId, String name)
    Returns the number of account groups where companyId = ? and name LIKE ?.
    static int
    countByC_T(long companyId, String type)
    Returns the number of account groups where companyId = ? and type = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of account groups where companyId = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of account groups where externalReferenceCode = ? and companyId = ?.
    static int
    Returns the number of account groups where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of account groups where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long accountGroupId)
    Creates a new account group with the primary key.
    fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where accountGroupId = ?.
    fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where accountGroupId = ?.
    fetchByC_D_First(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
    fetchByC_D_Last(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
    fetchByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ? and name LIKE ?.
    fetchByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ? and name LIKE ?.
    fetchByC_T_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ? and type = ?.
    fetchByC_T_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ? and type = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the account group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the account group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long accountGroupId)
    Returns the account group with the primary key or returns null if it could not be found.
     
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where uuid = ?.
    static int
    filterCountByAccountGroupId(long accountGroupId)
    Returns the number of account groups that the user has permission to view where accountGroupId = ?.
    static int
    filterCountByAccountGroupId(long[] accountGroupIds)
    Returns the number of account groups that the user has permission to view where accountGroupId = any ?.
    static int
    filterCountByC_D(long companyId, boolean defaultAccountGroup)
    Returns the number of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
    static int
    filterCountByC_LikeN(long companyId, String name)
    Returns the number of account groups that the user has permission to view where companyId = ? and name LIKE ?.
    static int
    filterCountByC_T(long companyId, String type)
    Returns the number of account groups that the user has permission to view where companyId = ? and type = ?.
    static int
    filterCountByCompanyId(long companyId)
    Returns the number of account groups that the user has permission to view where companyId = ?.
    static int
    Returns the number of account groups that the user has permission to view where uuid = ?.
    static int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of account groups that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByAccountGroupId(long accountGroupId)
    Returns all the account groups that the user has permission to view where accountGroupId = ?.
    filterFindByAccountGroupId(long[] accountGroupIds)
    Returns all the account groups that the user has permission to view where accountGroupId = any ?.
    filterFindByAccountGroupId(long[] accountGroupIds, int start, int end)
    Returns a range of all the account groups that the user has permission to view where accountGroupId = any ?.
    filterFindByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permission to view where accountGroupId = any ?.
    filterFindByAccountGroupId(long accountGroupId, int start, int end)
    Returns a range of all the account groups that the user has permission to view where accountGroupId = ?.
    filterFindByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where accountGroupId = ?.
    filterFindByC_D(long companyId, boolean defaultAccountGroup)
    Returns all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
    filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end)
    Returns a range of all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
    filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and defaultAccountGroup = ?.
    static AccountGroup[]
    filterFindByC_D_PrevAndNext(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
    filterFindByC_LikeN(long companyId, String name)
    Returns all the account groups that the user has permission to view where companyId = ? and name LIKE ?.
    filterFindByC_LikeN(long companyId, String name, int start, int end)
    Returns a range of all the account groups that the user has permission to view where companyId = ? and name LIKE ?.
    filterFindByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and name LIKE ?.
    static AccountGroup[]
    filterFindByC_LikeN_PrevAndNext(long accountGroupId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and name LIKE ?.
    filterFindByC_T(long companyId, String type)
    Returns all the account groups that the user has permission to view where companyId = ? and type = ?.
    filterFindByC_T(long companyId, String type, int start, int end)
    Returns a range of all the account groups that the user has permission to view where companyId = ? and type = ?.
    filterFindByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and type = ?.
    static AccountGroup[]
    filterFindByC_T_PrevAndNext(long accountGroupId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and type = ?.
    filterFindByCompanyId(long companyId)
    Returns all the account groups that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the account groups that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where companyId = ?.
    static AccountGroup[]
    filterFindByCompanyId_PrevAndNext(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ?.
    Returns all the account groups that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the account groups that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the account groups that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the account groups that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups that the user has permissions to view where uuid = ? and companyId = ?.
    static AccountGroup[]
    filterFindByUuid_C_PrevAndNext(long accountGroupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where uuid = ? and companyId = ?.
    static AccountGroup[]
    filterFindByUuid_PrevAndNext(long accountGroupId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where uuid = ?.
    Returns all the account groups.
    findAll(int start, int end)
    Returns a range of all the account groups.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups.
    findByAccountGroupId(long accountGroupId)
    Returns all the account groups where accountGroupId = ?.
    findByAccountGroupId(long[] accountGroupIds)
    Returns all the account groups where accountGroupId = any ?.
    findByAccountGroupId(long[] accountGroupIds, int start, int end)
    Returns a range of all the account groups where accountGroupId = any ?.
    findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where accountGroupId = any ?.
    findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where accountGroupId = ?, optionally using the finder cache.
    findByAccountGroupId(long accountGroupId, int start, int end)
    Returns a range of all the account groups where accountGroupId = ?.
    findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where accountGroupId = ?.
    findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where accountGroupId = ?.
    findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where accountGroupId = ?.
    findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where accountGroupId = ?.
    findByC_D(long companyId, boolean defaultAccountGroup)
    Returns all the account groups where companyId = ? and defaultAccountGroup = ?.
    findByC_D(long companyId, boolean defaultAccountGroup, int start, int end)
    Returns a range of all the account groups where companyId = ? and defaultAccountGroup = ?.
    findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.
    findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.
    findByC_D_First(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
    findByC_D_Last(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
    static AccountGroup[]
    findByC_D_PrevAndNext(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
    findByC_LikeN(long companyId, String name)
    Returns all the account groups where companyId = ? and name LIKE ?.
    findByC_LikeN(long companyId, String name, int start, int end)
    Returns a range of all the account groups where companyId = ? and name LIKE ?.
    findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.
    findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.
    findByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ? and name LIKE ?.
    findByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ? and name LIKE ?.
    static AccountGroup[]
    findByC_LikeN_PrevAndNext(long accountGroupId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set where companyId = ? and name LIKE ?.
    findByC_T(long companyId, String type)
    Returns all the account groups where companyId = ? and type = ?.
    findByC_T(long companyId, String type, int start, int end)
    Returns a range of all the account groups where companyId = ? and type = ?.
    findByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where companyId = ? and type = ?.
    findByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where companyId = ? and type = ?.
    findByC_T_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ? and type = ?.
    findByC_T_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ? and type = ?.
    static AccountGroup[]
    findByC_T_PrevAndNext(long accountGroupId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set where companyId = ? and type = ?.
    findByCompanyId(long companyId)
    Returns all the account groups where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the account groups where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where companyId = ?.
    static AccountGroup[]
    findByCompanyId_PrevAndNext(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the account group where externalReferenceCode = ? and companyId = ? or throws a NoSuchGroupException if it could not be found.
    findByPrimaryKey(long accountGroupId)
    Returns the account group with the primary key or throws a NoSuchGroupException if it could not be found.
    Returns all the account groups where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the account groups where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the account groups where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the account groups where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns an ordered range of all the account groups where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the account groups where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where uuid = ? and companyId = ?.
    static AccountGroup[]
    findByUuid_C_PrevAndNext(long accountGroupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the first account group in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the last account group in the ordered set where uuid = ?.
    static AccountGroup[]
    findByUuid_PrevAndNext(long accountGroupId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
    Returns the account groups before and after the current account group in the ordered set where uuid = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
     
     
    remove(long accountGroupId)
    Removes the account group with the primary key from the database.
    static void
    Removes all the account groups from the database.
    static void
    removeByAccountGroupId(long accountGroupId)
    Removes all the account groups where accountGroupId = ? from the database.
    static void
    removeByC_D(long companyId, boolean defaultAccountGroup)
    Removes all the account groups where companyId = ? and defaultAccountGroup = ? from the database.
    static void
    removeByC_LikeN(long companyId, String name)
    Removes all the account groups where companyId = ? and name LIKE ? from the database.
    static void
    removeByC_T(long companyId, String type)
    Removes all the account groups where companyId = ? and type = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the account groups where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the account group where externalReferenceCode = ? and companyId = ? from the database.
    static void
    Removes all the account groups where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the account groups where uuid = ? and companyId = ? from the database.
    static void
     
    update(AccountGroup accountGroup)
     
    update(AccountGroup accountGroup, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(AccountGroup accountGroup)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccountGroupUtil

      public AccountGroupUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(AccountGroup accountGroup)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,AccountGroup> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<AccountGroup> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<AccountGroup> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<AccountGroup> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static AccountGroup update(AccountGroup accountGroup)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static AccountGroup update(AccountGroup accountGroup, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<AccountGroup> findByUuid(String uuid)
      Returns all the account groups where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching account groups
    • findByUuid

      public static List<AccountGroup> findByUuid(String uuid, int start, int end)
      Returns a range of all the account groups where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByUuid

      public static List<AccountGroup> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups
    • findByUuid

      public static List<AccountGroup> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • findByUuid_First

      public static AccountGroup findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByUuid_First

      public static AccountGroup fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group, or null if a matching account group could not be found
    • findByUuid_Last

      public static AccountGroup findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByUuid_Last

      public static AccountGroup fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group, or null if a matching account group could not be found
    • findByUuid_PrevAndNext

      public static AccountGroup[] findByUuid_PrevAndNext(long accountGroupId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set where uuid = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • filterFindByUuid

      public static List<AccountGroup> filterFindByUuid(String uuid)
      Returns all the account groups that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByUuid

      public static List<AccountGroup> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the account groups that the user has permission to view where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByUuid

      public static List<AccountGroup> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByUuid_PrevAndNext

      public static AccountGroup[] filterFindByUuid_PrevAndNext(long accountGroupId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where uuid = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the account groups where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of account groups where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching account groups
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      Returns the number of account groups that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching account groups that the user has permission to view
    • findByUuid_C

      public static List<AccountGroup> findByUuid_C(String uuid, long companyId)
      Returns all the account groups where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching account groups
    • findByUuid_C

      public static List<AccountGroup> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the account groups where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByUuid_C

      public static List<AccountGroup> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups
    • findByUuid_C

      public static List<AccountGroup> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • findByUuid_C_First

      public static AccountGroup findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByUuid_C_First

      public static AccountGroup fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group, or null if a matching account group could not be found
    • findByUuid_C_Last

      public static AccountGroup findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByUuid_C_Last

      public static AccountGroup fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group, or null if a matching account group could not be found
    • findByUuid_C_PrevAndNext

      public static AccountGroup[] findByUuid_C_PrevAndNext(long accountGroupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • filterFindByUuid_C

      public static List<AccountGroup> filterFindByUuid_C(String uuid, long companyId)
      Returns all the account groups that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByUuid_C

      public static List<AccountGroup> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the account groups that the user has permission to view where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByUuid_C

      public static List<AccountGroup> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      public static AccountGroup[] filterFindByUuid_C_PrevAndNext(long accountGroupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the account groups where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of account groups where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching account groups
    • filterCountByUuid_C

      public static int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of account groups that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching account groups that the user has permission to view
    • findByAccountGroupId

      public static List<AccountGroup> findByAccountGroupId(long accountGroupId)
      Returns all the account groups where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      Returns:
      the matching account groups
    • findByAccountGroupId

      public static List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end)
      Returns a range of all the account groups 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 AccountGroupModelImpl.

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

      public static List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups 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 AccountGroupModelImpl.

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

      public static List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups 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 AccountGroupModelImpl.

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

      public static AccountGroup findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group 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
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByAccountGroupId_First

      public static AccountGroup fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group 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, or null if a matching account group could not be found
    • findByAccountGroupId_Last

      public static AccountGroup findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group 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
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByAccountGroupId_Last

      public static AccountGroup fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group 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, or null if a matching account group could not be found
    • filterFindByAccountGroupId

      public static List<AccountGroup> filterFindByAccountGroupId(long accountGroupId)
      Returns all the account groups that the user has permission to view where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByAccountGroupId

      public static List<AccountGroup> filterFindByAccountGroupId(long accountGroupId, int start, int end)
      Returns a range of all the account groups that the user has permission to view 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 AccountGroupModelImpl.

      Parameters:
      accountGroupId - the account group ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByAccountGroupId

      public static List<AccountGroup> filterFindByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view 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 AccountGroupModelImpl.

      Parameters:
      accountGroupId - the account group ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByAccountGroupId

      public static List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds)
      Returns all the account groups that the user has permission to view where accountGroupId = any ?.
      Parameters:
      accountGroupIds - the account group IDs
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByAccountGroupId

      public static List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds, int start, int end)
      Returns a range of all the account groups that the user has permission to view where accountGroupId = any ?.

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

      Parameters:
      accountGroupIds - the account group IDs
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByAccountGroupId

      public static List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permission to view where accountGroupId = any ?.

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

      Parameters:
      accountGroupIds - the account group IDs
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • findByAccountGroupId

      public static List<AccountGroup> findByAccountGroupId(long[] accountGroupIds)
      Returns all the account groups where accountGroupId = any ?.

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

      Parameters:
      accountGroupIds - the account group IDs
      Returns:
      the matching account groups
    • findByAccountGroupId

      public static List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end)
      Returns a range of all the account groups where accountGroupId = any ?.

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

      Parameters:
      accountGroupIds - the account group IDs
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByAccountGroupId

      public static List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where accountGroupId = any ?.

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

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

      public static List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where accountGroupId = ?, optionally using the finder cache.

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

      Parameters:
      accountGroupIds - the account group IDs
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • removeByAccountGroupId

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

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

      public static int countByAccountGroupId(long[] accountGroupIds)
      Returns the number of account groups where accountGroupId = any ?.
      Parameters:
      accountGroupIds - the account group IDs
      Returns:
      the number of matching account groups
    • filterCountByAccountGroupId

      public static int filterCountByAccountGroupId(long accountGroupId)
      Returns the number of account groups that the user has permission to view where accountGroupId = ?.
      Parameters:
      accountGroupId - the account group ID
      Returns:
      the number of matching account groups that the user has permission to view
    • filterCountByAccountGroupId

      public static int filterCountByAccountGroupId(long[] accountGroupIds)
      Returns the number of account groups that the user has permission to view where accountGroupId = any ?.
      Parameters:
      accountGroupIds - the account group IDs
      Returns:
      the number of matching account groups that the user has permission to view
    • findByCompanyId

      public static List<AccountGroup> findByCompanyId(long companyId)
      Returns all the account groups where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching account groups
    • findByCompanyId

      public static List<AccountGroup> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the account groups where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByCompanyId

      public static List<AccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups
    • findByCompanyId

      public static List<AccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • findByCompanyId_First

      public static AccountGroup findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByCompanyId_First

      public static AccountGroup fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group, or null if a matching account group could not be found
    • findByCompanyId_Last

      public static AccountGroup findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByCompanyId_Last

      public static AccountGroup fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group, or null if a matching account group could not be found
    • findByCompanyId_PrevAndNext

      public static AccountGroup[] findByCompanyId_PrevAndNext(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set where companyId = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • filterFindByCompanyId

      public static List<AccountGroup> filterFindByCompanyId(long companyId)
      Returns all the account groups that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByCompanyId

      public static List<AccountGroup> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the account groups that the user has permission to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByCompanyId

      public static List<AccountGroup> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public static AccountGroup[] filterFindByCompanyId_PrevAndNext(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the account groups where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of account groups where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching account groups
    • filterCountByCompanyId

      public static int filterCountByCompanyId(long companyId)
      Returns the number of account groups that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching account groups that the user has permission to view
    • findByC_D

      public static List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup)
      Returns all the account groups where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      Returns:
      the matching account groups
    • findByC_D

      public static List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end)
      Returns a range of all the account groups where companyId = ? and defaultAccountGroup = ?.

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

      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByC_D

      public static List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.

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

      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups
    • findByC_D

      public static List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.

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

      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • findByC_D_First

      public static AccountGroup findByC_D_First(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByC_D_First

      public static AccountGroup fetchByC_D_First(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group, or null if a matching account group could not be found
    • findByC_D_Last

      public static AccountGroup findByC_D_Last(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByC_D_Last

      public static AccountGroup fetchByC_D_Last(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group, or null if a matching account group could not be found
    • findByC_D_PrevAndNext

      public static AccountGroup[] findByC_D_PrevAndNext(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      defaultAccountGroup - the default account group
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • filterFindByC_D

      public static List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup)
      Returns all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByC_D

      public static List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end)
      Returns a range of all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.

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

      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByC_D

      public static List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and defaultAccountGroup = ?.

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

      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByC_D_PrevAndNext

      public static AccountGroup[] filterFindByC_D_PrevAndNext(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      defaultAccountGroup - the default account group
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • removeByC_D

      public static void removeByC_D(long companyId, boolean defaultAccountGroup)
      Removes all the account groups where companyId = ? and defaultAccountGroup = ? from the database.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
    • countByC_D

      public static int countByC_D(long companyId, boolean defaultAccountGroup)
      Returns the number of account groups where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      Returns:
      the number of matching account groups
    • filterCountByC_D

      public static int filterCountByC_D(long companyId, boolean defaultAccountGroup)
      Returns the number of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
      Parameters:
      companyId - the company ID
      defaultAccountGroup - the default account group
      Returns:
      the number of matching account groups that the user has permission to view
    • findByC_LikeN

      public static List<AccountGroup> findByC_LikeN(long companyId, String name)
      Returns all the account groups where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching account groups
    • findByC_LikeN

      public static List<AccountGroup> findByC_LikeN(long companyId, String name, int start, int end)
      Returns a range of all the account groups where companyId = ? and name LIKE ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByC_LikeN

      public static List<AccountGroup> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups
    • findByC_LikeN

      public static List<AccountGroup> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • findByC_LikeN_First

      public static AccountGroup findByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group in the ordered set where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByC_LikeN_First

      public static AccountGroup fetchByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group in the ordered set where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group, or null if a matching account group could not be found
    • findByC_LikeN_Last

      public static AccountGroup findByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group in the ordered set where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByC_LikeN_Last

      public static AccountGroup fetchByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group in the ordered set where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group, or null if a matching account group could not be found
    • findByC_LikeN_PrevAndNext

      public static AccountGroup[] findByC_LikeN_PrevAndNext(long accountGroupId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set where companyId = ? and name LIKE ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • filterFindByC_LikeN

      public static List<AccountGroup> filterFindByC_LikeN(long companyId, String name)
      Returns all the account groups that the user has permission to view where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByC_LikeN

      public static List<AccountGroup> filterFindByC_LikeN(long companyId, String name, int start, int end)
      Returns a range of all the account groups that the user has permission to view where companyId = ? and name LIKE ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByC_LikeN

      public static List<AccountGroup> filterFindByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and name LIKE ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByC_LikeN_PrevAndNext

      public static AccountGroup[] filterFindByC_LikeN_PrevAndNext(long accountGroupId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and name LIKE ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • removeByC_LikeN

      public static void removeByC_LikeN(long companyId, String name)
      Removes all the account groups where companyId = ? and name LIKE ? from the database.
      Parameters:
      companyId - the company ID
      name - the name
    • countByC_LikeN

      public static int countByC_LikeN(long companyId, String name)
      Returns the number of account groups where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching account groups
    • filterCountByC_LikeN

      public static int filterCountByC_LikeN(long companyId, String name)
      Returns the number of account groups that the user has permission to view where companyId = ? and name LIKE ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching account groups that the user has permission to view
    • findByC_T

      public static List<AccountGroup> findByC_T(long companyId, String type)
      Returns all the account groups where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching account groups
    • findByC_T

      public static List<AccountGroup> findByC_T(long companyId, String type, int start, int end)
      Returns a range of all the account groups where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups
    • findByC_T

      public static List<AccountGroup> findByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups
    • findByC_T

      public static List<AccountGroup> findByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the account groups where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (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 groups
    • findByC_T_First

      public static AccountGroup findByC_T_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the first account group in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByC_T_First

      public static AccountGroup fetchByC_T_First(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the first account group in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account group, or null if a matching account group could not be found
    • findByC_T_Last

      public static AccountGroup findByC_T_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the last account group in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByC_T_Last

      public static AccountGroup fetchByC_T_Last(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns the last account group in the ordered set where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account group, or null if a matching account group could not be found
    • findByC_T_PrevAndNext

      public static AccountGroup[] findByC_T_PrevAndNext(long accountGroupId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set where companyId = ? and type = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • filterFindByC_T

      public static List<AccountGroup> filterFindByC_T(long companyId, String type)
      Returns all the account groups that the user has permission to view where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the matching account groups that the user has permission to view
    • filterFindByC_T

      public static List<AccountGroup> filterFindByC_T(long companyId, String type, int start, int end)
      Returns a range of all the account groups that the user has permission to view where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      Returns:
      the range of matching account groups that the user has permission to view
    • filterFindByC_T

      public static List<AccountGroup> filterFindByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and type = ?.

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

      Parameters:
      companyId - the company ID
      type - the type
      start - the lower bound of the range of account groups
      end - the upper bound of the range of account groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account groups that the user has permission to view
    • filterFindByC_T_PrevAndNext

      public static AccountGroup[] filterFindByC_T_PrevAndNext(long accountGroupId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
      Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and type = ?.
      Parameters:
      accountGroupId - the primary key of the current account group
      companyId - the company ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • removeByC_T

      public static void removeByC_T(long companyId, String type)
      Removes all the account groups where companyId = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      type - the type
    • countByC_T

      public static int countByC_T(long companyId, String type)
      Returns the number of account groups where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching account groups
    • filterCountByC_T

      public static int filterCountByC_T(long companyId, String type)
      Returns the number of account groups that the user has permission to view where companyId = ? and type = ?.
      Parameters:
      companyId - the company ID
      type - the type
      Returns:
      the number of matching account groups that the user has permission to view
    • findByERC_C

      public static AccountGroup findByERC_C(String externalReferenceCode, long companyId) throws NoSuchGroupException
      Returns the account group where externalReferenceCode = ? and companyId = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching account group
      Throws:
      NoSuchGroupException - if a matching account group could not be found
      NoSuchGroupException
    • fetchByERC_C

      public static AccountGroup fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the account group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching account group, or null if a matching account group could not be found
    • fetchByERC_C

      public static AccountGroup fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the account group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching account group, or null if a matching account group could not be found
    • removeByERC_C

      public static AccountGroup removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchGroupException
      Removes the account group where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the account group that was removed
      Throws:
      NoSuchGroupException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of account groups where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching account groups
    • cacheResult

      public static void cacheResult(AccountGroup accountGroup)
      Caches the account group in the entity cache if it is enabled.
      Parameters:
      accountGroup - the account group
    • cacheResult

      public static void cacheResult(List<AccountGroup> accountGroups)
      Caches the account groups in the entity cache if it is enabled.
      Parameters:
      accountGroups - the account groups
    • create

      public static AccountGroup create(long accountGroupId)
      Creates a new account group with the primary key. Does not add the account group to the database.
      Parameters:
      accountGroupId - the primary key for the new account group
      Returns:
      the new account group
    • remove

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

      public static AccountGroup updateImpl(AccountGroup accountGroup)
    • findByPrimaryKey

      public static AccountGroup findByPrimaryKey(long accountGroupId) throws NoSuchGroupException
      Returns the account group with the primary key or throws a NoSuchGroupException if it could not be found.
      Parameters:
      accountGroupId - the primary key of the account group
      Returns:
      the account group
      Throws:
      NoSuchGroupException - if a account group with the primary key could not be found
      NoSuchGroupException
    • fetchByPrimaryKey

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

      public static List<AccountGroup> findAll()
      Returns all the account groups.
      Returns:
      the account groups
    • findAll

      public static List<AccountGroup> findAll(int start, int end)
      Returns a range of all the account groups.

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

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

      public static List<AccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
      Returns an ordered range of all the account groups.

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

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

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

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

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

      public static void removeAll()
      Removes all the account groups from the database.
    • countAll

      public static int countAll()
      Returns the number of account groups.
      Returns:
      the number of account groups
    • getPersistence

      public static AccountGroupPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AccountGroupPersistence persistence)