Class AccountGroupRelUtil
com.liferay.account.service.persistence.impl.AccountGroupRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(AccountGroupRel accountGroupRel) Caches the account group rel in the entity cache if it is enabled.static void
cacheResult
(List<AccountGroupRel> accountGroupRels) Caches the account group rels in the entity cache if it is enabled.static void
static void
clearCache
(AccountGroupRel accountGroupRel) static int
countAll()
Returns the number of account group rels.static int
countByA_C
(long accountGroupId, long classNameId) Returns the number of account group rels where accountGroupId = ? and classNameId = ?.static int
countByA_C_C
(long accountGroupId, long classNameId, long classPK) Returns the number of account group rels where accountGroupId = ? and classNameId = ? and classPK = ?.static int
countByAccountGroupId
(long accountGroupId) Returns the number of account group rels where accountGroupId = ?.static int
countByC_C
(long classNameId, long classPK) Returns the number of account group rels where classNameId = ? and classPK = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AccountGroupRel
create
(long accountGroupRelId) Creates a new account group rel with the primary key.static AccountGroupRel
fetchByA_C_C
(long accountGroupId, long classNameId, long classPK) Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found.static AccountGroupRel
fetchByA_C_C
(long accountGroupId, long classNameId, long classPK, boolean useFinderCache) Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.static AccountGroupRel
fetchByA_C_First
(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.static AccountGroupRel
fetchByA_C_Last
(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.static AccountGroupRel
fetchByAccountGroupId_First
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where accountGroupId = ?.static AccountGroupRel
fetchByAccountGroupId_Last
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where accountGroupId = ?.static AccountGroupRel
fetchByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.static AccountGroupRel
fetchByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.static AccountGroupRel
fetchByPrimaryKey
(long accountGroupRelId) Returns the account group rel with the primary key or returnsnull
if it could not be found.static Map<Serializable,
AccountGroupRel> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<AccountGroupRel>
findAll()
Returns all the account group rels.static List<AccountGroupRel>
findAll
(int start, int end) Returns a range of all the account group rels.static List<AccountGroupRel>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels.static List<AccountGroupRel>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels.static List<AccountGroupRel>
findByA_C
(long accountGroupId, long classNameId) Returns all the account group rels where accountGroupId = ? and classNameId = ?.static List<AccountGroupRel>
findByA_C
(long accountGroupId, long classNameId, int start, int end) Returns a range of all the account group rels where accountGroupId = ? and classNameId = ?.static List<AccountGroupRel>
findByA_C
(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.static List<AccountGroupRel>
findByA_C
(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.static AccountGroupRel
findByA_C_C
(long accountGroupId, long classNameId, long classPK) Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or throws aNoSuchGroupRelException
if it could not be found.static AccountGroupRel
findByA_C_First
(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.static AccountGroupRel
findByA_C_Last
(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.static AccountGroupRel[]
findByA_C_PrevAndNext
(long accountGroupRelId, long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ? and classNameId = ?.static List<AccountGroupRel>
findByAccountGroupId
(long accountGroupId) Returns all the account group rels where accountGroupId = ?.static List<AccountGroupRel>
findByAccountGroupId
(long accountGroupId, int start, int end) Returns a range of all the account group rels where accountGroupId = ?.static List<AccountGroupRel>
findByAccountGroupId
(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels where accountGroupId = ?.static List<AccountGroupRel>
findByAccountGroupId
(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels where accountGroupId = ?.static AccountGroupRel
findByAccountGroupId_First
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where accountGroupId = ?.static AccountGroupRel
findByAccountGroupId_Last
(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where accountGroupId = ?.static AccountGroupRel[]
findByAccountGroupId_PrevAndNext
(long accountGroupRelId, long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ?.static List<AccountGroupRel>
findByC_C
(long classNameId, long classPK) Returns all the account group rels where classNameId = ? and classPK = ?.static List<AccountGroupRel>
findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the account group rels where classNameId = ? and classPK = ?.static List<AccountGroupRel>
findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.static List<AccountGroupRel>
findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.static AccountGroupRel
findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.static AccountGroupRel
findByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.static AccountGroupRel[]
findByC_C_PrevAndNext
(long accountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the account group rels before and after the current account group rel in the ordered set where classNameId = ? and classPK = ?.static AccountGroupRel
findByPrimaryKey
(long accountGroupRelId) Returns the account group rel with the primary key or throws aNoSuchGroupRelException
if it could not be found.static List<AccountGroupRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AccountGroupRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AccountGroupRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) static AccountGroupRelPersistence
static AccountGroupRel
remove
(long accountGroupRelId) Removes the account group rel with the primary key from the database.static void
Removes all the account group rels from the database.static void
removeByA_C
(long accountGroupId, long classNameId) Removes all the account group rels where accountGroupId = ? and classNameId = ? from the database.static AccountGroupRel
removeByA_C_C
(long accountGroupId, long classNameId, long classPK) Removes the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? from the database.static void
removeByAccountGroupId
(long accountGroupId) Removes all the account group rels where accountGroupId = ? from the database.static void
removeByC_C
(long classNameId, long classPK) Removes all the account group rels where classNameId = ? and classPK = ? from the database.static void
setPersistence
(AccountGroupRelPersistence persistence) static AccountGroupRel
update
(AccountGroupRel accountGroupRel) static AccountGroupRel
update
(AccountGroupRel accountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AccountGroupRel
updateImpl
(AccountGroupRel accountGroupRel)
-
Constructor Details
-
AccountGroupRelUtil
public AccountGroupRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<AccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AccountGroupRel update(AccountGroupRel accountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByAccountGroupId
Returns all the account group rels where accountGroupId = ?.- Parameters:
accountGroupId
- the account group ID- Returns:
- the matching account group rels
-
findByAccountGroupId
Returns a range of all the account group rels 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 fromAccountGroupRelModelImpl
.- Parameters:
accountGroupId
- the account group IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)- Returns:
- the range of matching account group rels
-
findByAccountGroupId
public static List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
accountGroupId
- the account group IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account group rels
-
findByAccountGroupId
public static List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels where accountGroupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
accountGroupId
- the account group IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (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 group rels
-
findByAccountGroupId_First
public static AccountGroupRel findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the first account group rel in the ordered set where accountGroupId = ?.- Parameters:
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByAccountGroupId_First
public static AccountGroupRel fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where accountGroupId = ?.- Parameters:
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account group rel, or
null
if a matching account group rel could not be found
-
findByAccountGroupId_Last
public static AccountGroupRel findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the last account group rel in the ordered set where accountGroupId = ?.- Parameters:
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByAccountGroupId_Last
public static AccountGroupRel fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where accountGroupId = ?.- Parameters:
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account group rel, or
null
if a matching account group rel could not be found
-
findByAccountGroupId_PrevAndNext
public static AccountGroupRel[] findByAccountGroupId_PrevAndNext(long accountGroupRelId, long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ?.- Parameters:
accountGroupRelId
- the primary key of the current account group relaccountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account group rel
- Throws:
NoSuchGroupRelException
- if a account group rel with the primary key could not be foundNoSuchGroupRelException
-
removeByAccountGroupId
public static void removeByAccountGroupId(long accountGroupId) Removes all the account group rels where accountGroupId = ? from the database.- Parameters:
accountGroupId
- the account group ID
-
countByAccountGroupId
public static int countByAccountGroupId(long accountGroupId) Returns the number of account group rels where accountGroupId = ?.- Parameters:
accountGroupId
- the account group ID- Returns:
- the number of matching account group rels
-
findByA_C
Returns all the account group rels where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name ID- Returns:
- the matching account group rels
-
findByA_C
public static List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId, int start, int end) Returns a range of all the account group rels where accountGroupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)- Returns:
- the range of matching account group rels
-
findByA_C
public static List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account group rels
-
findByA_C
public static List<AccountGroupRel> findByA_C(long accountGroupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels where accountGroupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (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 group rels
-
findByA_C_First
public static AccountGroupRel findByA_C_First(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByA_C_First
public static AccountGroupRel fetchByA_C_First(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account group rel, or
null
if a matching account group rel could not be found
-
findByA_C_Last
public static AccountGroupRel findByA_C_Last(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByA_C_Last
public static AccountGroupRel fetchByA_C_Last(long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account group rel, or
null
if a matching account group rel could not be found
-
findByA_C_PrevAndNext
public static AccountGroupRel[] findByA_C_PrevAndNext(long accountGroupRelId, long accountGroupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupRelId
- the primary key of the current account group relaccountGroupId
- the account group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account group rel
- Throws:
NoSuchGroupRelException
- if a account group rel with the primary key could not be foundNoSuchGroupRelException
-
removeByA_C
public static void removeByA_C(long accountGroupId, long classNameId) Removes all the account group rels where accountGroupId = ? and classNameId = ? from the database.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name ID
-
countByA_C
public static int countByA_C(long accountGroupId, long classNameId) Returns the number of account group rels where accountGroupId = ? and classNameId = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name ID- Returns:
- the number of matching account group rels
-
findByC_C
Returns all the account group rels where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching account group rels
-
findByC_C
Returns a range of all the account group rels where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)- Returns:
- the range of matching account group rels
-
findByC_C
public static List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account group rels
-
findByC_C
public static List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (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 group rels
-
findByC_C_First
public static AccountGroupRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByC_C_First
public static AccountGroupRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account group rel, or
null
if a matching account group rel could not be found
-
findByC_C_Last
public static AccountGroupRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByC_C_Last
public static AccountGroupRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account group rel, or
null
if a matching account group rel could not be found
-
findByC_C_PrevAndNext
public static AccountGroupRel[] findByC_C_PrevAndNext(long accountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException Returns the account group rels before and after the current account group rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
accountGroupRelId
- the primary key of the current account group relclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account group rel
- Throws:
NoSuchGroupRelException
- if a account group rel with the primary key could not be foundNoSuchGroupRelException
-
removeByC_C
public static void removeByC_C(long classNameId, long classPK) Removes all the account group rels where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of account group rels where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching account group rels
-
findByA_C_C
public static AccountGroupRel findByA_C_C(long accountGroupId, long classNameId, long classPK) throws NoSuchGroupRelException Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or throws aNoSuchGroupRelException
if it could not be found.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching account group rel
- Throws:
NoSuchGroupRelException
- if a matching account group rel could not be foundNoSuchGroupRelException
-
fetchByA_C_C
Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching account group rel, or
null
if a matching account group rel could not be found
-
fetchByA_C_C
public static AccountGroupRel fetchByA_C_C(long accountGroupId, long classNameId, long classPK, boolean useFinderCache) Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching account group rel, or
null
if a matching account group rel could not be found
-
removeByA_C_C
public static AccountGroupRel removeByA_C_C(long accountGroupId, long classNameId, long classPK) throws NoSuchGroupRelException Removes the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the account group rel that was removed
- Throws:
NoSuchGroupRelException
-
countByA_C_C
public static int countByA_C_C(long accountGroupId, long classNameId, long classPK) Returns the number of account group rels where accountGroupId = ? and classNameId = ? and classPK = ?.- Parameters:
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching account group rels
-
cacheResult
Caches the account group rel in the entity cache if it is enabled.- Parameters:
accountGroupRel
- the account group rel
-
cacheResult
Caches the account group rels in the entity cache if it is enabled.- Parameters:
accountGroupRels
- the account group rels
-
create
Creates a new account group rel with the primary key. Does not add the account group rel to the database.- Parameters:
accountGroupRelId
- the primary key for the new account group rel- Returns:
- the new account group rel
-
remove
Removes the account group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
accountGroupRelId
- the primary key of the account group rel- Returns:
- the account group rel that was removed
- Throws:
NoSuchGroupRelException
- if a account group rel with the primary key could not be foundNoSuchGroupRelException
-
updateImpl
-
findByPrimaryKey
public static AccountGroupRel findByPrimaryKey(long accountGroupRelId) throws NoSuchGroupRelException Returns the account group rel with the primary key or throws aNoSuchGroupRelException
if it could not be found.- Parameters:
accountGroupRelId
- the primary key of the account group rel- Returns:
- the account group rel
- Throws:
NoSuchGroupRelException
- if a account group rel with the primary key could not be foundNoSuchGroupRelException
-
fetchByPrimaryKey
Returns the account group rel with the primary key or returnsnull
if it could not be found.- Parameters:
accountGroupRelId
- the primary key of the account group rel- Returns:
- the account group rel, or
null
if a account group rel with the primary key could not be found
-
findAll
Returns all the account group rels.- Returns:
- the account group rels
-
findAll
Returns a range of all the account group rels.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 fromAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)- Returns:
- the range of account group rels
-
findAll
public static List<AccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) Returns an ordered range of all the account group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of account group rels
-
findAll
public static List<AccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of account group rels
-
removeAll
public static void removeAll()Removes all the account group rels from the database. -
countAll
public static int countAll()Returns the number of account group rels.- Returns:
- the number of account group rels
-
getPersistence
-
setPersistence
-