Interface AccountGroupPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AccountGroup>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(AccountGroup accountGroup) Caches the account group in the entity cache if it is enabled.void
cacheResult
(List<AccountGroup> accountGroups) Caches the account groups in the entity cache if it is enabled.int
countAll()
Returns the number of account groups.int
countByAccountGroupId
(long accountGroupId) Returns the number of account groups where accountGroupId = ?.int
countByAccountGroupId
(long[] accountGroupIds) Returns the number of account groups where accountGroupId = any ?.int
countByC_D
(long companyId, boolean defaultAccountGroup) Returns the number of account groups where companyId = ? and defaultAccountGroup = ?.int
countByC_LikeN
(long companyId, String name) Returns the number of account groups where companyId = ? and name LIKE ?.int
countByC_T
(long companyId, String type) Returns the number of account groups where companyId = ? and type = ?.int
countByCompanyId
(long companyId) Returns the number of account groups where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of account groups where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of account groups where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of account groups where uuid = ? and companyId = ?.create
(long accountGroupId) Creates a new account group with the primary key.fetchByAccountGroupId_First
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where accountGroupId = ?.fetchByAccountGroupId_Last
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where accountGroupId = ?.fetchByC_D_First
(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ? and defaultAccountGroup = ?.fetchByC_D_Last
(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ? and defaultAccountGroup = ?.fetchByC_LikeN_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ? and name LIKE ?.fetchByC_LikeN_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ? and name LIKE ?.fetchByC_T_First
(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ? and type = ?.fetchByC_T_Last
(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ? and type = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long accountGroupId) Returns the account group with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where uuid = ?.int
filterCountByAccountGroupId
(long accountGroupId) Returns the number of account groups that the user has permission to view where accountGroupId = ?.int
filterCountByAccountGroupId
(long[] accountGroupIds) Returns the number of account groups that the user has permission to view where accountGroupId = any ?.int
filterCountByC_D
(long companyId, boolean defaultAccountGroup) Returns the number of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.int
filterCountByC_LikeN
(long companyId, String name) Returns the number of account groups that the user has permission to view where companyId = ? and name LIKE ?.int
filterCountByC_T
(long companyId, String type) Returns the number of account groups that the user has permission to view where companyId = ? and type = ?.int
filterCountByCompanyId
(long companyId) Returns the number of account groups that the user has permission to view where companyId = ?.int
filterCountByUuid
(String uuid) Returns the number of account groups that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of account groups that the user has permission to view where uuid = ? and companyId = ?.filterFindByAccountGroupId
(long accountGroupId) Returns all the account groups that the user has permission to view where accountGroupId = ?.filterFindByAccountGroupId
(long[] accountGroupIds) Returns all the account groups that the user has permission to view where accountGroupId = any ?.filterFindByAccountGroupId
(long[] accountGroupIds, int start, int end) Returns a range of all the account groups that the user has permission to view where accountGroupId = any ?.filterFindByAccountGroupId
(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permission to view where accountGroupId = any ?.filterFindByAccountGroupId
(long accountGroupId, int start, int end) Returns a range of all the account groups that the user has permission to view where accountGroupId = ?.filterFindByAccountGroupId
(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where accountGroupId = ?.filterFindByC_D
(long companyId, boolean defaultAccountGroup) Returns all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.filterFindByC_D
(long companyId, boolean defaultAccountGroup, int start, int end) Returns a range of all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.filterFindByC_D
(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and defaultAccountGroup = ?.filterFindByC_D_PrevAndNext
(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.filterFindByC_LikeN
(long companyId, String name) Returns all the account groups that the user has permission to view where companyId = ? and name LIKE ?.filterFindByC_LikeN
(long companyId, String name, int start, int end) Returns a range of all the account groups that the user has permission to view where companyId = ? and name LIKE ?.filterFindByC_LikeN
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and name LIKE ?.filterFindByC_LikeN_PrevAndNext
(long accountGroupId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and name LIKE ?.filterFindByC_T
(long companyId, String type) Returns all the account groups that the user has permission to view where companyId = ? and type = ?.filterFindByC_T
(long companyId, String type, int start, int end) Returns a range of all the account groups that the user has permission to view where companyId = ? and type = ?.filterFindByC_T
(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and type = ?.filterFindByC_T_PrevAndNext
(long accountGroupId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and type = ?.filterFindByCompanyId
(long companyId) Returns all the account groups that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the account groups that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ?.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 = ?.filterFindByUuid
(String uuid) Returns all the account groups that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the account groups that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where uuid = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the account groups that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the account groups that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where uuid = ? and companyId = ?.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 = ?.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 = ?.findAll()
Returns all the account groups.findAll
(int start, int end) Returns a range of all the account groups.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups.findByAccountGroupId
(long accountGroupId) Returns all the account groups where accountGroupId = ?.findByAccountGroupId
(long[] accountGroupIds) Returns all the account groups where accountGroupId = any ?.findByAccountGroupId
(long[] accountGroupIds, int start, int end) Returns a range of all the account groups where accountGroupId = any ?.findByAccountGroupId
(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where accountGroupId = any ?.findByAccountGroupId
(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where accountGroupId = ?, optionally using the finder cache.findByAccountGroupId
(long accountGroupId, int start, int end) Returns a range of all the account groups where accountGroupId = ?.findByAccountGroupId
(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where accountGroupId = ?.findByAccountGroupId
(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where accountGroupId = ?.findByAccountGroupId_First
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where accountGroupId = ?.findByAccountGroupId_Last
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where accountGroupId = ?.findByC_D
(long companyId, boolean defaultAccountGroup) Returns all the account groups where companyId = ? and defaultAccountGroup = ?.findByC_D
(long companyId, boolean defaultAccountGroup, int start, int end) Returns a range of all the account groups where companyId = ? and defaultAccountGroup = ?.findByC_D
(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.findByC_D
(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.findByC_D_First
(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ? and defaultAccountGroup = ?.findByC_D_Last
(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ? and defaultAccountGroup = ?.findByC_D_PrevAndNext
(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set where companyId = ? and defaultAccountGroup = ?.findByC_LikeN
(long companyId, String name) Returns all the account groups where companyId = ? and name LIKE ?.findByC_LikeN
(long companyId, String name, int start, int end) Returns a range of all the account groups where companyId = ? and name LIKE ?.findByC_LikeN
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.findByC_LikeN
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.findByC_LikeN_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ? and name LIKE ?.findByC_LikeN_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ? and name LIKE ?.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 ?.Returns all the account groups where companyId = ? and type = ?.Returns a range of all the account groups where companyId = ? and type = ?.findByC_T
(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ? and type = ?.findByC_T
(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ? and type = ?.findByC_T_First
(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ? and type = ?.findByC_T_Last
(long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ? and type = ?.findByC_T_PrevAndNext
(long accountGroupId, long companyId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set where companyId = ? and type = ?.findByCompanyId
(long companyId) Returns all the account groups where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the account groups where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set where companyId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the account group where externalReferenceCode = ? and companyId = ? or throws aNoSuchGroupException
if it could not be found.findByPrimaryKey
(long accountGroupId) Returns the account group with the primary key or throws aNoSuchGroupException
if it could not be found.findByUuid
(String uuid) Returns all the account groups where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the account groups where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the account groups where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the account groups where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long accountGroupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the account groups before and after the current account group in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the first account group in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns the last account group in the ordered set where uuid = ?.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 = ?.remove
(long accountGroupId) Removes the account group with the primary key from the database.void
Removes all the account groups from the database.void
removeByAccountGroupId
(long accountGroupId) Removes all the account groups where accountGroupId = ? from the database.void
removeByC_D
(long companyId, boolean defaultAccountGroup) Removes all the account groups where companyId = ? and defaultAccountGroup = ? from the database.void
removeByC_LikeN
(long companyId, String name) Removes all the account groups where companyId = ? and name LIKE ? from the database.void
removeByC_T
(long companyId, String type) Removes all the account groups where companyId = ? and type = ? from the database.void
removeByCompanyId
(long companyId) Removes all the account groups where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the account group where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the account groups where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the account groups where uuid = ? and companyId = ? from the database.updateImpl
(AccountGroup accountGroup) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByUuid_First
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
null
if a matching account group could not be found
-
findByUuid_Last
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 found
-
fetchByUuid_Last
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
null
if a matching account group could not be found
-
findByUuid_PrevAndNext
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByUuid_C_First
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
null
if a matching account group could not be found
-
findByUuid_C_Last
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 found
-
fetchByUuid_C_Last
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
null
if a matching account group could not be found
-
findByUuid_C_PrevAndNext
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 found
-
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
Returns a range of all the account groups that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByAccountGroupId_First
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
null
if a matching account group could not be found
-
findByAccountGroupId_Last
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 found
-
fetchByAccountGroupId_Last
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
null
if 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
Returns a range of all the account groups that the user has permission to view where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
Returns a range of all the account groups that the user has permission to view where accountGroupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permission to view where accountGroupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where accountGroupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where accountGroupId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
void removeByAccountGroupId(long accountGroupId) Removes all the account groups where accountGroupId = ? from the database.- Parameters:
accountGroupId
- the account group ID
-
countByAccountGroupId
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
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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByCompanyId_First
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
null
if a matching account group could not be found
-
findByCompanyId_Last
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 found
-
fetchByCompanyId_Last
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
null
if a matching account group could not be found
-
findByCompanyId_PrevAndNext
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the account groups where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
Returns a range of all the account groups where companyId = ? and defaultAccountGroup = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ? and defaultAccountGroup = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByC_D_First
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
null
if a matching account group could not be found
-
findByC_D_Last
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 found
-
fetchByC_D_Last
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
null
if a matching account group could not be found
-
findByC_D_PrevAndNext
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 found
-
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
Returns a range of all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and defaultAccountGroup = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
removeByC_D
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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByC_LikeN_First
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
null
if a matching account group could not be found
-
findByC_LikeN_Last
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 found
-
fetchByC_LikeN_Last
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
null
if a matching account group could not be found
-
findByC_LikeN_PrevAndNext
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 found
-
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
Returns a range of all the account groups that the user has permission to view where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups where companyId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups where companyId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByC_T_First
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
null
if a matching account group could not be found
-
findByC_T_Last
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 found
-
fetchByC_T_Last
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
null
if a matching account group could not be found
-
findByC_T_PrevAndNext
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> filterFindByC_T(long companyId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups that the user has permissions to view where companyId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
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
Returns the account group where externalReferenceCode = ? and companyId = ? or throws aNoSuchGroupException
if 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 found
-
fetchByERC_C
Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching account group, or
null
if a matching account group could not be found
-
fetchByERC_C
Returns the account group where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching account group could not be found
-
removeByERC_C
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 found
-
updateImpl
-
findByPrimaryKey
Returns the account group with the primary key or throws aNoSuchGroupException
if it could not be found.- Parameters:
accountGroupId
- the primary key of the account group- Returns:
- the account group
- Throws:
NoSuchGroupException
- if a account group with the primary key could not be found
-
fetchByPrimaryKey
Returns the account group with the primary key or returnsnull
if it could not be found.- Parameters:
accountGroupId
- the primary key of the account group- Returns:
- the account group, or
null
if a account group with the primary key could not be found
-
findAll
List<AccountGroup> 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) Returns an ordered range of all the account groups.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
List<AccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account groups.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
void removeAll()Removes all the account groups from the database. -
countAll
int countAll()Returns the number of account groups.- Returns:
- the number of account groups
-