Class AccountGroupUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AccountGroup accountGroup) Caches the account group in the entity cache if it is enabled.static voidcacheResult(List<AccountGroup> accountGroups) Caches the account groups in the entity cache if it is enabled.static voidstatic voidclearCache(AccountGroup accountGroup) static intcountAll()Returns the number of account groups.static intcountByAccountGroupId(long accountGroupId) Returns the number of account groups where accountGroupId = ?.static intcountByAccountGroupId(long[] accountGroupIds) Returns the number of account groups where accountGroupId = any ?.static intcountByC_D(long companyId, boolean defaultAccountGroup) Returns the number of account groups where companyId = ? and defaultAccountGroup = ?.static intcountByC_LikeN(long companyId, String name) Returns the number of account groups where companyId = ? and name LIKE ?.static intcountByC_T(long companyId, String type) Returns the number of account groups where companyId = ? and type = ?.static intcountByCompanyId(long companyId) Returns the number of account groups where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of account groups where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of account groups where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of account groups where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AccountGroupcreate(long accountGroupId) Creates a new account group with the primary key.static AccountGroupfetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where accountGroupId = ?.static AccountGroupfetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where accountGroupId = ?.static AccountGroupfetchByC_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 = ?.static AccountGroupfetchByC_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 AccountGroupfetchByC_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 ?.static AccountGroupfetchByC_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 AccountGroupfetchByC_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 = ?.static AccountGroupfetchByC_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 AccountGroupfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ?.static AccountGroupfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ?.static AccountGroupfetchByERC_C(String externalReferenceCode, long companyId) Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static AccountGroupfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static AccountGroupfetchByPrimaryKey(long accountGroupId) Returns the account group with the primary key or returnsnullif it could not be found.static Map<Serializable,AccountGroup> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static AccountGroupfetchByUuid_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 = ?.static AccountGroupfetchByUuid_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 AccountGroupfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where uuid = ?.static AccountGroupfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where uuid = ?.static intfilterCountByAccountGroupId(long accountGroupId) Returns the number of account groups that the user has permission to view where accountGroupId = ?.static intfilterCountByAccountGroupId(long[] accountGroupIds) Returns the number of account groups that the user has permission to view where accountGroupId = any ?.static intfilterCountByC_D(long companyId, boolean defaultAccountGroup) Returns the number of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.static intfilterCountByC_LikeN(long companyId, String name) Returns the number of account groups that the user has permission to view where companyId = ? and name LIKE ?.static intfilterCountByC_T(long companyId, String type) Returns the number of account groups that the user has permission to view where companyId = ? and type = ?.static intfilterCountByCompanyId(long companyId) Returns the number of account groups that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of account groups that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of account groups that the user has permission to view where uuid = ? and companyId = ?.static List<AccountGroup>filterFindByAccountGroupId(long accountGroupId) Returns all the account groups that the user has permission to view where accountGroupId = ?.static List<AccountGroup>filterFindByAccountGroupId(long[] accountGroupIds) Returns all the account groups that the user has permission to view where accountGroupId = any ?.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 ?.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 ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 ?.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 ?.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 ?.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 ?.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 = ?.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 = ?.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 = ?.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 = ?.static List<AccountGroup>filterFindByCompanyId(long companyId) Returns all the account groups that the user has permission to view where companyId = ?.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 = ?.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 = ?.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 = ?.static List<AccountGroup>filterFindByUuid(String uuid) Returns all the account groups that the user has permission to view where uuid = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static List<AccountGroup>findAll()Returns all the account groups.static List<AccountGroup>findAll(int start, int end) Returns a range of all the account groups.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.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.static List<AccountGroup>findByAccountGroupId(long accountGroupId) Returns all the account groups where accountGroupId = ?.static List<AccountGroup>findByAccountGroupId(long[] accountGroupIds) Returns all the account groups where accountGroupId = any ?.static List<AccountGroup>findByAccountGroupId(long[] accountGroupIds, int start, int end) Returns a range of all the account groups where accountGroupId = any ?.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 ?.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.static List<AccountGroup>findByAccountGroupId(long accountGroupId, int start, int end) Returns a range of all the account groups where accountGroupId = ?.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 = ?.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 = ?.static AccountGroupfindByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where accountGroupId = ?.static AccountGroupfindByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where accountGroupId = ?.static List<AccountGroup>findByC_D(long companyId, boolean defaultAccountGroup) Returns all the account groups where companyId = ? and defaultAccountGroup = ?.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 = ?.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 = ?.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 = ?.static AccountGroupfindByC_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 = ?.static AccountGroupfindByC_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 = ?.static List<AccountGroup>findByC_LikeN(long companyId, String name) Returns all the account groups where companyId = ? and name LIKE ?.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 ?.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 ?.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 ?.static AccountGroupfindByC_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 ?.static AccountGroupfindByC_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 ?.static List<AccountGroup>Returns all the account groups where companyId = ? and type = ?.static List<AccountGroup>Returns a range of all the account groups where companyId = ? and type = ?.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 = ?.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 = ?.static AccountGroupfindByC_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 = ?.static AccountGroupfindByC_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 = ?.static List<AccountGroup>findByCompanyId(long companyId) Returns all the account groups where companyId = ?.static List<AccountGroup>findByCompanyId(long companyId, int start, int end) Returns a range of all the account groups where companyId = ?.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 = ?.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 = ?.static AccountGroupfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ?.static AccountGroupfindByCompanyId_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 = ?.static AccountGroupfindByERC_C(String externalReferenceCode, long companyId) Returns the account group where externalReferenceCode = ? and companyId = ? or throws aNoSuchGroupExceptionif it could not be found.static AccountGroupfindByPrimaryKey(long accountGroupId) Returns the account group with the primary key or throws aNoSuchGroupExceptionif it could not be found.static List<AccountGroup>findByUuid(String uuid) Returns all the account groups where uuid = ?.static List<AccountGroup>findByUuid(String uuid, int start, int end) Returns a range of all the account groups where uuid = ?.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 = ?.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 = ?.static List<AccountGroup>findByUuid_C(String uuid, long companyId) Returns all the account groups where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static AccountGroupfindByUuid_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 = ?.static AccountGroupfindByUuid_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 = ?.static AccountGroupfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where uuid = ?.static AccountGroupfindByUuid_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 = ?.static List<AccountGroup>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AccountGroup>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AccountGroup>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) static AccountGroupPersistencestatic AccountGroupremove(long accountGroupId) Removes the account group with the primary key from the database.static voidRemoves all the account groups from the database.static voidremoveByAccountGroupId(long accountGroupId) Removes all the account groups where accountGroupId = ? from the database.static voidremoveByC_D(long companyId, boolean defaultAccountGroup) Removes all the account groups where companyId = ? and defaultAccountGroup = ? from the database.static voidremoveByC_LikeN(long companyId, String name) Removes all the account groups where companyId = ? and name LIKE ? from the database.static voidremoveByC_T(long companyId, String type) Removes all the account groups where companyId = ? and type = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the account groups where companyId = ? from the database.static AccountGroupremoveByERC_C(String externalReferenceCode, long companyId) Removes the account group where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the account groups where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the account groups where uuid = ? and companyId = ? from the database.static voidsetPersistence(AccountGroupPersistence persistence) static AccountGroupupdate(AccountGroup accountGroup) static AccountGroupupdate(AccountGroup accountGroup, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AccountGroupupdateImpl(AccountGroup accountGroup)
-
Constructor Details
-
AccountGroupUtil
public AccountGroupUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the account groups where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching account groups
-
findByUuid
Returns a range of all the account groups where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif 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 groupuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
filterFindByUuid
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 groupuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
removeByUuid
Removes all the account groups where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of account groups where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching account groups
-
filterCountByUuid
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
Returns all the account groups where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching account groups
-
findByUuid_C
Returns a range of all the account groups where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif 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 groupuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
filterFindByUuid_C
Returns all the account groups that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 groupuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
removeByUuid_C
Removes all the account groups where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of account groups where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching account groups
-
filterCountByUuid_C
Returns the number of account groups that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching account groups that the user has permission to view
-
findByAccountGroupId
Returns all the account groups where accountGroupId = ?.- Parameters:
accountGroupId- the account group ID- Returns:
- the matching account groups
-
findByAccountGroupId
Returns a range of all the account groups where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupId- the account group IDstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupId- the account group IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupId- the account group IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif a matching account group could not be found
-
filterFindByAccountGroupId
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupId- the account group IDstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupId- the account group IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching account groups that the user has permission to view
-
filterFindByAccountGroupId
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupIds- the account group IDsstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupIds- the account group IDsstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching account groups that the user has permission to view
-
findByAccountGroupId
Returns all the account groups where accountGroupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupIds- the account group IDs- Returns:
- the matching account groups
-
findByAccountGroupId
Returns a range of all the account groups where accountGroupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupIds- the account group IDsstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupIds- the account group IDsstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
accountGroupIds- the account group IDsstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
Returns all the account groups where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching account groups
-
findByCompanyId
Returns a range of all the account groups where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif 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 groupcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
filterFindByCompanyId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 groupcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
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
Returns all the account groups where companyId = ? and defaultAccountGroup = ?.- Parameters:
companyId- the company IDdefaultAccountGroup- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDdefaultAccountGroup- the default account groupstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDdefaultAccountGroup- the default account groupstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDdefaultAccountGroup- the default account groupstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDdefaultAccountGroup- the default account grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDdefaultAccountGroup- the default account grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 IDdefaultAccountGroup- the default account grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDdefaultAccountGroup- the default account grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif 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 groupcompanyId- the company IDdefaultAccountGroup- the default account grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
filterFindByC_D
Returns all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.- Parameters:
companyId- the company IDdefaultAccountGroup- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDdefaultAccountGroup- the default account groupstart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDdefaultAccountGroup- the default account groupstart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 groupcompanyId- the company IDdefaultAccountGroup- the default account grouporderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
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 IDdefaultAccountGroup- 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 IDdefaultAccountGroup- 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 IDdefaultAccountGroup- the default account group- Returns:
- the number of matching account groups that the user has permission to view
-
findByC_LikeN
Returns all the account groups where companyId = ? and name LIKE ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching account groups
-
findByC_LikeN
Returns a range of all the account groups where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif 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 groupcompanyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
filterFindByC_LikeN
Returns all the account groups that the user has permission to view where companyId = ? and name LIKE ?.- Parameters:
companyId- the company IDname- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 groupcompanyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
removeByC_LikeN
Removes all the account groups where companyId = ? and name LIKE ? from the database.- Parameters:
companyId- the company IDname- the name
-
countByC_LikeN
Returns the number of account groups where companyId = ? and name LIKE ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching account groups
-
filterCountByC_LikeN
Returns the number of account groups that the user has permission to view where companyId = ? and name LIKE ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching account groups that the user has permission to view
-
findByC_T
Returns all the account groups where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the matching account groups
-
findByC_T
Returns a range of all the account groups where companyId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account group, or
nullif 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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
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 IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account group, or
nullif 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 groupcompanyId- the company IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
filterFindByC_T
Returns all the account groups that the user has permission to view where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the matching account groups that the user has permission to view
-
filterFindByC_T
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
companyId- the company IDtype- the typestart- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 groupcompanyId- the company IDtype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account group
- Throws:
NoSuchGroupException- if a account group with the primary key could not be foundNoSuchGroupException
-
removeByC_T
Removes all the account groups where companyId = ? and type = ? from the database.- Parameters:
companyId- the company IDtype- the type
-
countByC_T
Returns the number of account groups where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- the type- Returns:
- the number of matching account groups
-
filterCountByC_T
Returns the number of account groups that the user has permission to view where companyId = ? and type = ?.- Parameters:
companyId- the company IDtype- 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 aNoSuchGroupExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching account group
- Throws:
NoSuchGroupException- if a matching account group could not be foundNoSuchGroupException
-
fetchByERC_C
Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching account group, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching account group, or
nullif 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 codecompanyId- the company ID- Returns:
- the account group that was removed
- Throws:
NoSuchGroupException
-
countByERC_C
Returns the number of account groups where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching account groups
-
cacheResult
Caches the account group in the entity cache if it is enabled.- Parameters:
accountGroup- the account group
-
cacheResult
Caches the account groups in the entity cache if it is enabled.- Parameters:
accountGroups- the account groups
-
create
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
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 foundNoSuchGroupException
-
updateImpl
-
findByPrimaryKey
Returns the account group with the primary key or throws aNoSuchGroupExceptionif 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 foundNoSuchGroupException
-
fetchByPrimaryKey
Returns the account group with the primary key or returnsnullif it could not be found.- Parameters:
accountGroupId- the primary key of the account group- Returns:
- the account group, or
nullif a account group with the primary key could not be found
-
findAll
Returns all the account groups.- Returns:
- the account groups
-
findAll
Returns a range of all the account groups.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
start- the lower bound of the range of account groupsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
start- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountGroupModelImpl.- Parameters:
start- the lower bound of the range of account groupsend- the upper bound of the range of account groups (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-