@ProviderType public interface AccountGroupPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountGroup>
Caching information and settings can be found in portal.properties
AccountGroupUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AccountGroup accountGroup)
Caches the account group in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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,
java.lang.String name)
Returns the number of account groups where companyId = ? and name LIKE ?.
|
int |
countByC_T(long companyId,
java.lang.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(java.lang.String externalReferenceCode,
long companyId)
Returns the number of account groups where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of account groups where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of account groups where uuid = ?.
|
AccountGroup |
create(long accountGroupId)
Creates a new account group with the primary key.
|
AccountGroup |
fetchByAccountGroupId_First(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where accountGroupId = ?.
|
AccountGroup |
fetchByAccountGroupId_Last(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where accountGroupId = ?.
|
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 = ?.
|
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 = ?.
|
AccountGroup |
fetchByC_LikeN_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where companyId = ? and name LIKE ?.
|
AccountGroup |
fetchByC_LikeN_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where companyId = ? and name LIKE ?.
|
AccountGroup |
fetchByC_T_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where companyId = ? and type = ?.
|
AccountGroup |
fetchByC_T_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where companyId = ? and type = ?.
|
AccountGroup |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where companyId = ?.
|
AccountGroup |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where companyId = ?.
|
AccountGroup |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the account group where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
AccountGroup |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the account group where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
AccountGroup |
fetchByPrimaryKey(long accountGroupId)
Returns the account group with the primary key or returns
null if it could not be found. |
AccountGroup |
fetchByUuid_C_First(java.lang.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 = ?.
|
AccountGroup |
fetchByUuid_C_Last(java.lang.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 = ?.
|
AccountGroup |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where uuid = ?.
|
AccountGroup |
fetchByUuid_Last(java.lang.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,
java.lang.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,
java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of account groups that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of account groups that the user has permission to view where uuid = ?.
|
java.util.List<AccountGroup> |
filterFindByAccountGroupId(long accountGroupId)
Returns all the account groups that the user has permission to view where accountGroupId = ?.
|
java.util.List<AccountGroup> |
filterFindByAccountGroupId(long[] accountGroupIds)
Returns all the account groups that the user has permission to view where accountGroupId = any ?.
|
java.util.List<AccountGroup> |
filterFindByAccountGroupId(long[] accountGroupIds,
int start,
int end)
Returns a range of all the account groups that the user has permission to view where accountGroupId = any ?.
|
java.util.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 ?.
|
java.util.List<AccountGroup> |
filterFindByAccountGroupId(long accountGroupId,
int start,
int end)
Returns a range of all the account groups that the user has permission to view where accountGroupId = ?.
|
java.util.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 = ?.
|
AccountGroup[] |
filterFindByC_D_PrevAndNext(long accountGroupId,
long companyId,
boolean defaultAccountGroup,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
|
java.util.List<AccountGroup> |
filterFindByC_D(long companyId,
boolean defaultAccountGroup)
Returns all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
|
java.util.List<AccountGroup> |
filterFindByC_D(long companyId,
boolean defaultAccountGroup,
int start,
int end)
Returns a range of all the account groups that the user has permission to view where companyId = ? and defaultAccountGroup = ?.
|
java.util.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 = ?.
|
AccountGroup[] |
filterFindByC_LikeN_PrevAndNext(long accountGroupId,
long companyId,
java.lang.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 ?.
|
java.util.List<AccountGroup> |
filterFindByC_LikeN(long companyId,
java.lang.String name)
Returns all the account groups that the user has permission to view where companyId = ? and name LIKE ?.
|
java.util.List<AccountGroup> |
filterFindByC_LikeN(long companyId,
java.lang.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 ?.
|
java.util.List<AccountGroup> |
filterFindByC_LikeN(long companyId,
java.lang.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 ?.
|
AccountGroup[] |
filterFindByC_T_PrevAndNext(long accountGroupId,
long companyId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
filterFindByC_T(long companyId,
java.lang.String type)
Returns all the account groups that the user has permission to view where companyId = ? and type = ?.
|
java.util.List<AccountGroup> |
filterFindByC_T(long companyId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
filterFindByC_T(long companyId,
java.lang.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 = ?.
|
AccountGroup[] |
filterFindByCompanyId_PrevAndNext(long accountGroupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the account groups before and after the current account group in the ordered set of account groups that the user has permission to view where companyId = ?.
|
java.util.List<AccountGroup> |
filterFindByCompanyId(long companyId)
Returns all the account groups that the user has permission to view where companyId = ?.
|
java.util.List<AccountGroup> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the account groups that the user has permission to view where companyId = ?.
|
java.util.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 = ?.
|
AccountGroup[] |
filterFindByUuid_C_PrevAndNext(long accountGroupId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the account groups that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<AccountGroup> |
filterFindByUuid_C(java.lang.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 = ?.
|
java.util.List<AccountGroup> |
filterFindByUuid_C(java.lang.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 = ?.
|
AccountGroup[] |
filterFindByUuid_PrevAndNext(long accountGroupId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
filterFindByUuid(java.lang.String uuid)
Returns all the account groups that the user has permission to view where uuid = ?.
|
java.util.List<AccountGroup> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the account groups that the user has permission to view where uuid = ?.
|
java.util.List<AccountGroup> |
filterFindByUuid(java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findAll()
Returns all the account groups.
|
java.util.List<AccountGroup> |
findAll(int start,
int end)
Returns a range of all the account groups.
|
java.util.List<AccountGroup> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns an ordered range of all the account groups.
|
java.util.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.
|
AccountGroup |
findByAccountGroupId_First(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where accountGroupId = ?.
|
AccountGroup |
findByAccountGroupId_Last(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where accountGroupId = ?.
|
java.util.List<AccountGroup> |
findByAccountGroupId(long accountGroupId)
Returns all the account groups where accountGroupId = ?.
|
java.util.List<AccountGroup> |
findByAccountGroupId(long[] accountGroupIds)
Returns all the account groups where accountGroupId = any ?.
|
java.util.List<AccountGroup> |
findByAccountGroupId(long[] accountGroupIds,
int start,
int end)
Returns a range of all the account groups where accountGroupId = any ?.
|
java.util.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 ?.
|
java.util.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.
|
java.util.List<AccountGroup> |
findByAccountGroupId(long accountGroupId,
int start,
int end)
Returns a range of all the account groups where accountGroupId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
AccountGroup |
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 = ?.
|
AccountGroup |
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 = ?.
|
AccountGroup[] |
findByC_D_PrevAndNext(long accountGroupId,
long companyId,
boolean defaultAccountGroup,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the account groups before and after the current account group in the ordered set where companyId = ? and defaultAccountGroup = ?.
|
java.util.List<AccountGroup> |
findByC_D(long companyId,
boolean defaultAccountGroup)
Returns all the account groups where companyId = ? and defaultAccountGroup = ?.
|
java.util.List<AccountGroup> |
findByC_D(long companyId,
boolean defaultAccountGroup,
int start,
int end)
Returns a range of all the account groups where companyId = ? and defaultAccountGroup = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
AccountGroup |
findByC_LikeN_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where companyId = ? and name LIKE ?.
|
AccountGroup |
findByC_LikeN_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where companyId = ? and name LIKE ?.
|
AccountGroup[] |
findByC_LikeN_PrevAndNext(long accountGroupId,
long companyId,
java.lang.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 ?.
|
java.util.List<AccountGroup> |
findByC_LikeN(long companyId,
java.lang.String name)
Returns all the account groups where companyId = ? and name LIKE ?.
|
java.util.List<AccountGroup> |
findByC_LikeN(long companyId,
java.lang.String name,
int start,
int end)
Returns a range of all the account groups where companyId = ? and name LIKE ?.
|
java.util.List<AccountGroup> |
findByC_LikeN(long companyId,
java.lang.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 ?.
|
java.util.List<AccountGroup> |
findByC_LikeN(long companyId,
java.lang.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 ?.
|
AccountGroup |
findByC_T_First(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where companyId = ? and type = ?.
|
AccountGroup |
findByC_T_Last(long companyId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where companyId = ? and type = ?.
|
AccountGroup[] |
findByC_T_PrevAndNext(long accountGroupId,
long companyId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findByC_T(long companyId,
java.lang.String type)
Returns all the account groups where companyId = ? and type = ?.
|
java.util.List<AccountGroup> |
findByC_T(long companyId,
java.lang.String type,
int start,
int end)
Returns a range of all the account groups where companyId = ? and type = ?.
|
java.util.List<AccountGroup> |
findByC_T(long companyId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findByC_T(long companyId,
java.lang.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 = ?.
|
AccountGroup |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where companyId = ?.
|
AccountGroup |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where companyId = ?.
|
AccountGroup[] |
findByCompanyId_PrevAndNext(long accountGroupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the account groups before and after the current account group in the ordered set where companyId = ?.
|
java.util.List<AccountGroup> |
findByCompanyId(long companyId)
Returns all the account groups where companyId = ?.
|
java.util.List<AccountGroup> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the account groups where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
AccountGroup |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the account group where externalReferenceCode = ? and companyId = ? or throws a
NoSuchGroupException if it could not be found. |
AccountGroup |
findByPrimaryKey(long accountGroupId)
Returns the account group with the primary key or throws a
NoSuchGroupException if it could not be found. |
AccountGroup |
findByUuid_C_First(java.lang.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 = ?.
|
AccountGroup |
findByUuid_C_Last(java.lang.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 = ?.
|
AccountGroup[] |
findByUuid_C_PrevAndNext(long accountGroupId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the account groups where uuid = ? and companyId = ?.
|
java.util.List<AccountGroup> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the account groups where uuid = ? and companyId = ?.
|
java.util.List<AccountGroup> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findByUuid_C(java.lang.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 = ?.
|
AccountGroup |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the first account group in the ordered set where uuid = ?.
|
AccountGroup |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Returns the last account group in the ordered set where uuid = ?.
|
AccountGroup[] |
findByUuid_PrevAndNext(long accountGroupId,
java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findByUuid(java.lang.String uuid)
Returns all the account groups where uuid = ?.
|
java.util.List<AccountGroup> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the account groups where uuid = ?.
|
java.util.List<AccountGroup> |
findByUuid(java.lang.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 = ?.
|
java.util.List<AccountGroup> |
findByUuid(java.lang.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 = ?.
|
AccountGroup |
remove(long accountGroupId)
Removes the account group with the primary key from the database.
|
void |
removeAll()
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,
java.lang.String name)
Removes all the account groups where companyId = ? and name LIKE ? from the database.
|
void |
removeByC_T(long companyId,
java.lang.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.
|
AccountGroup |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the account group where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the account groups where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the account groups where uuid = ? from the database.
|
AccountGroup |
updateImpl(AccountGroup accountGroup) |
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, setDataSource, unregisterListener, update, update
java.util.List<AccountGroup> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<AccountGroup> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of account groupsend
- the upper bound of the range of account groups (not inclusive)java.util.List<AccountGroup> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup[] findByUuid_PrevAndNext(long accountGroupId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundjava.util.List<AccountGroup> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<AccountGroup> filterFindByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of account groupsend
- the upper bound of the range of account groups (not inclusive)java.util.List<AccountGroup> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)AccountGroup[] filterFindByUuid_PrevAndNext(long accountGroupId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<AccountGroup> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<AccountGroup> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup[] findByUuid_C_PrevAndNext(long accountGroupId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundjava.util.List<AccountGroup> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<AccountGroup> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)AccountGroup[] filterFindByUuid_C_PrevAndNext(long accountGroupId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<AccountGroup> findByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDjava.util.List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundjava.util.List<AccountGroup> filterFindByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDjava.util.List<AccountGroup> filterFindByAccountGroupId(long accountGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> filterFindByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds)
accountGroupIds
- the account group IDsjava.util.List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> filterFindByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByAccountGroupId(long[] accountGroupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
accountGroupIds
- the account group IDsjava.util.List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByAccountGroupId(long[] accountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDint countByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDint countByAccountGroupId(long[] accountGroupIds)
accountGroupIds
- the account group IDsint filterCountByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDint filterCountByAccountGroupId(long[] accountGroupIds)
accountGroupIds
- the account group IDsjava.util.List<AccountGroup> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AccountGroup> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of account groupsend
- the upper bound of the range of account groups (not inclusive)java.util.List<AccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup[] findByCompanyId_PrevAndNext(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundjava.util.List<AccountGroup> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AccountGroup> filterFindByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of account groupsend
- the upper bound of the range of account groups (not inclusive)java.util.List<AccountGroup> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)AccountGroup[] filterFindByCompanyId_PrevAndNext(long accountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup)
companyId
- the company IDdefaultAccountGroup
- the default account groupjava.util.List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByC_D_First(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDdefaultAccountGroup
- the default account grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByC_D_First(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDdefaultAccountGroup
- the default account grouporderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByC_D_Last(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDdefaultAccountGroup
- the default account grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByC_D_Last(long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDdefaultAccountGroup
- the default account grouporderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup[] findByC_D_PrevAndNext(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDdefaultAccountGroup
- the default account grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundjava.util.List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup)
companyId
- the company IDdefaultAccountGroup
- the default account groupjava.util.List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> filterFindByC_D(long companyId, boolean defaultAccountGroup, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)AccountGroup[] filterFindByC_D_PrevAndNext(long accountGroupId, long companyId, boolean defaultAccountGroup, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDdefaultAccountGroup
- the default account grouporderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundvoid removeByC_D(long companyId, boolean defaultAccountGroup)
companyId
- the company IDdefaultAccountGroup
- the default account groupint countByC_D(long companyId, boolean defaultAccountGroup)
companyId
- the company IDdefaultAccountGroup
- the default account groupint filterCountByC_D(long companyId, boolean defaultAccountGroup)
companyId
- the company IDdefaultAccountGroup
- the default account groupjava.util.List<AccountGroup> findByC_LikeN(long companyId, java.lang.String name)
companyId
- the company IDname
- the namejava.util.List<AccountGroup> findByC_LikeN(long companyId, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> findByC_LikeN(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByC_LikeN(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByC_LikeN_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByC_LikeN_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByC_LikeN_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByC_LikeN_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup[] findByC_LikeN_PrevAndNext(long accountGroupId, long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundjava.util.List<AccountGroup> filterFindByC_LikeN(long companyId, java.lang.String name)
companyId
- the company IDname
- the namejava.util.List<AccountGroup> filterFindByC_LikeN(long companyId, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> filterFindByC_LikeN(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)AccountGroup[] filterFindByC_LikeN_PrevAndNext(long accountGroupId, long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundvoid removeByC_LikeN(long companyId, java.lang.String name)
companyId
- the company IDname
- the nameint countByC_LikeN(long companyId, java.lang.String name)
companyId
- the company IDname
- the nameint filterCountByC_LikeN(long companyId, java.lang.String name)
companyId
- the company IDname
- the namejava.util.List<AccountGroup> findByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typejava.util.List<AccountGroup> findByC_T(long companyId, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> findByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroup findByC_T_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByC_T_First(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup findByC_T_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByC_T_Last(long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
companyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group could not be foundAccountGroup[] findByC_T_PrevAndNext(long accountGroupId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundjava.util.List<AccountGroup> filterFindByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typejava.util.List<AccountGroup> filterFindByC_T(long companyId, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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)java.util.List<AccountGroup> filterFindByC_T(long companyId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)AccountGroup[] filterFindByC_T_PrevAndNext(long accountGroupId, long companyId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) throws NoSuchGroupException
accountGroupId
- the primary key of the current account groupcompanyId
- the company IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a account group with the primary key could not be foundvoid removeByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typeint countByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typeint filterCountByC_T(long companyId, java.lang.String type)
companyId
- the company IDtype
- the typeAccountGroup findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchGroupException
- if a matching account group could not be foundAccountGroup fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching account group could not be foundAccountGroup fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching account group could not be foundAccountGroup removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchGroupException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchGroupException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(AccountGroup accountGroup)
accountGroup
- the account groupvoid cacheResult(java.util.List<AccountGroup> accountGroups)
accountGroups
- the account groupsAccountGroup create(long accountGroupId)
accountGroupId
- the primary key for the new account groupAccountGroup remove(long accountGroupId) throws NoSuchGroupException
accountGroupId
- the primary key of the account groupNoSuchGroupException
- if a account group with the primary key could not be foundAccountGroup updateImpl(AccountGroup accountGroup)
AccountGroup findByPrimaryKey(long accountGroupId) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.accountGroupId
- the primary key of the account groupNoSuchGroupException
- if a account group with the primary key could not be foundAccountGroup fetchByPrimaryKey(long accountGroupId)
null
if it could not be found.accountGroupId
- the primary key of the account groupnull
if a account group with the primary key could not be foundjava.util.List<AccountGroup> findAll()
java.util.List<AccountGroup> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
start
- the lower bound of the range of account groupsend
- the upper bound of the range of account groups (not inclusive)java.util.List<AccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)java.util.List<AccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountGroupModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()