Class AccountEntryUserRelUtil
com.liferay.account.service.persistence.impl.AccountEntryUserRelPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AccountEntryUserRel accountEntryUserRel) Caches the account entry user rel in the entity cache if it is enabled.static voidcacheResult(List<AccountEntryUserRel> accountEntryUserRels) Caches the account entry user rels in the entity cache if it is enabled.static voidstatic voidclearCache(AccountEntryUserRel accountEntryUserRel) static intcountAll()Returns the number of account entry user rels.static intcountByAccountEntryId(long accountEntryId) Returns the number of account entry user rels where accountEntryId = ?.static intcountByAccountUserId(long accountUserId) Returns the number of account entry user rels where accountUserId = ?.static intcountByAEI_AUI(long accountEntryId, long accountUserId) Returns the number of account entry user rels where accountEntryId = ? and accountUserId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AccountEntryUserRelcreate(long accountEntryUserRelId) Creates a new account entry user rel with the primary key.static AccountEntryUserRelfetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the first account entry user rel in the ordered set where accountEntryId = ?.static AccountEntryUserRelfetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the last account entry user rel in the ordered set where accountEntryId = ?.static AccountEntryUserRelfetchByAccountUserId_First(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the first account entry user rel in the ordered set where accountUserId = ?.static AccountEntryUserRelfetchByAccountUserId_Last(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the last account entry user rel in the ordered set where accountUserId = ?.static AccountEntryUserRelfetchByAEI_AUI(long accountEntryId, long accountUserId) Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returnsnullif it could not be found.static AccountEntryUserRelfetchByAEI_AUI(long accountEntryId, long accountUserId, boolean useFinderCache) Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returnsnullif it could not be found, optionally using the finder cache.static AccountEntryUserRelfetchByPrimaryKey(long accountEntryUserRelId) Returns the account entry user rel with the primary key or returnsnullif it could not be found.static Map<Serializable,AccountEntryUserRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<AccountEntryUserRel>findAll()Returns all the account entry user rels.static List<AccountEntryUserRel>findAll(int start, int end) Returns a range of all the account entry user rels.static List<AccountEntryUserRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns an ordered range of all the account entry user rels.static List<AccountEntryUserRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry user rels.static List<AccountEntryUserRel>findByAccountEntryId(long accountEntryId) Returns all the account entry user rels where accountEntryId = ?.static List<AccountEntryUserRel>findByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the account entry user rels where accountEntryId = ?.static List<AccountEntryUserRel>findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns an ordered range of all the account entry user rels where accountEntryId = ?.static List<AccountEntryUserRel>findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry user rels where accountEntryId = ?.static AccountEntryUserRelfindByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the first account entry user rel in the ordered set where accountEntryId = ?.static AccountEntryUserRelfindByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the last account entry user rel in the ordered set where accountEntryId = ?.static AccountEntryUserRel[]findByAccountEntryId_PrevAndNext(long accountEntryUserRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the account entry user rels before and after the current account entry user rel in the ordered set where accountEntryId = ?.static List<AccountEntryUserRel>findByAccountUserId(long accountUserId) Returns all the account entry user rels where accountUserId = ?.static List<AccountEntryUserRel>findByAccountUserId(long accountUserId, int start, int end) Returns a range of all the account entry user rels where accountUserId = ?.static List<AccountEntryUserRel>findByAccountUserId(long accountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns an ordered range of all the account entry user rels where accountUserId = ?.static List<AccountEntryUserRel>findByAccountUserId(long accountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry user rels where accountUserId = ?.static AccountEntryUserRelfindByAccountUserId_First(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the first account entry user rel in the ordered set where accountUserId = ?.static AccountEntryUserRelfindByAccountUserId_Last(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the last account entry user rel in the ordered set where accountUserId = ?.static AccountEntryUserRel[]findByAccountUserId_PrevAndNext(long accountEntryUserRelId, long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the account entry user rels before and after the current account entry user rel in the ordered set where accountUserId = ?.static AccountEntryUserRelfindByAEI_AUI(long accountEntryId, long accountUserId) Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or throws aNoSuchEntryUserRelExceptionif it could not be found.static AccountEntryUserRelfindByPrimaryKey(long accountEntryUserRelId) Returns the account entry user rel with the primary key or throws aNoSuchEntryUserRelExceptionif it could not be found.static List<AccountEntryUserRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AccountEntryUserRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AccountEntryUserRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) static AccountEntryUserRelremove(long accountEntryUserRelId) Removes the account entry user rel with the primary key from the database.static voidRemoves all the account entry user rels from the database.static voidremoveByAccountEntryId(long accountEntryId) Removes all the account entry user rels where accountEntryId = ? from the database.static voidremoveByAccountUserId(long accountUserId) Removes all the account entry user rels where accountUserId = ? from the database.static AccountEntryUserRelremoveByAEI_AUI(long accountEntryId, long accountUserId) Removes the account entry user rel where accountEntryId = ? and accountUserId = ? from the database.static voidsetPersistence(AccountEntryUserRelPersistence persistence) static AccountEntryUserRelupdate(AccountEntryUserRel accountEntryUserRel) static AccountEntryUserRelupdate(AccountEntryUserRel accountEntryUserRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AccountEntryUserRelupdateImpl(AccountEntryUserRel accountEntryUserRel)
-
Constructor Details
-
AccountEntryUserRelUtil
public AccountEntryUserRelUtil()
-
-
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
public static Map<Serializable,AccountEntryUserRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AccountEntryUserRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AccountEntryUserRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<AccountEntryUserRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AccountEntryUserRel update(AccountEntryUserRel accountEntryUserRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByAccountEntryId
Returns all the account entry user rels where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the matching account entry user rels
-
findByAccountEntryId
public static List<AccountEntryUserRel> findByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the account entry user rels where accountEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user rels (not inclusive)- Returns:
- the range of matching account entry user rels
-
findByAccountEntryId
public static List<AccountEntryUserRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns an ordered range of all the account entry user rels where accountEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching account entry user rels
-
findByAccountEntryId
public static List<AccountEntryUserRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry user rels where accountEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user 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 entry user rels
-
findByAccountEntryId_First
public static AccountEntryUserRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException Returns the first account entry user rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account entry user rel
- Throws:
NoSuchEntryUserRelException- if a matching account entry user rel could not be foundNoSuchEntryUserRelException
-
fetchByAccountEntryId_First
public static AccountEntryUserRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the first account entry user rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account entry user rel, or
nullif a matching account entry user rel could not be found
-
findByAccountEntryId_Last
public static AccountEntryUserRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException Returns the last account entry user rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account entry user rel
- Throws:
NoSuchEntryUserRelException- if a matching account entry user rel could not be foundNoSuchEntryUserRelException
-
fetchByAccountEntryId_Last
public static AccountEntryUserRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the last account entry user rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account entry user rel, or
nullif a matching account entry user rel could not be found
-
findByAccountEntryId_PrevAndNext
public static AccountEntryUserRel[] findByAccountEntryId_PrevAndNext(long accountEntryUserRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException Returns the account entry user rels before and after the current account entry user rel in the ordered set where accountEntryId = ?.- Parameters:
accountEntryUserRelId- the primary key of the current account entry user relaccountEntryId- the account entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account entry user rel
- Throws:
NoSuchEntryUserRelException- if a account entry user rel with the primary key could not be foundNoSuchEntryUserRelException
-
removeByAccountEntryId
public static void removeByAccountEntryId(long accountEntryId) Removes all the account entry user rels where accountEntryId = ? from the database.- Parameters:
accountEntryId- the account entry ID
-
countByAccountEntryId
public static int countByAccountEntryId(long accountEntryId) Returns the number of account entry user rels where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the number of matching account entry user rels
-
findByAccountUserId
Returns all the account entry user rels where accountUserId = ?.- Parameters:
accountUserId- the account user ID- Returns:
- the matching account entry user rels
-
findByAccountUserId
Returns a range of all the account entry user rels where accountUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
accountUserId- the account user IDstart- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user rels (not inclusive)- Returns:
- the range of matching account entry user rels
-
findByAccountUserId
public static List<AccountEntryUserRel> findByAccountUserId(long accountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns an ordered range of all the account entry user rels where accountUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
accountUserId- the account user IDstart- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching account entry user rels
-
findByAccountUserId
public static List<AccountEntryUserRel> findByAccountUserId(long accountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry user rels where accountUserId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
accountUserId- the account user IDstart- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user 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 entry user rels
-
findByAccountUserId_First
public static AccountEntryUserRel findByAccountUserId_First(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException Returns the first account entry user rel in the ordered set where accountUserId = ?.- Parameters:
accountUserId- the account user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account entry user rel
- Throws:
NoSuchEntryUserRelException- if a matching account entry user rel could not be foundNoSuchEntryUserRelException
-
fetchByAccountUserId_First
public static AccountEntryUserRel fetchByAccountUserId_First(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the first account entry user rel in the ordered set where accountUserId = ?.- Parameters:
accountUserId- the account user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account entry user rel, or
nullif a matching account entry user rel could not be found
-
findByAccountUserId_Last
public static AccountEntryUserRel findByAccountUserId_Last(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException Returns the last account entry user rel in the ordered set where accountUserId = ?.- Parameters:
accountUserId- the account user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account entry user rel
- Throws:
NoSuchEntryUserRelException- if a matching account entry user rel could not be foundNoSuchEntryUserRelException
-
fetchByAccountUserId_Last
public static AccountEntryUserRel fetchByAccountUserId_Last(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns the last account entry user rel in the ordered set where accountUserId = ?.- Parameters:
accountUserId- the account user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching account entry user rel, or
nullif a matching account entry user rel could not be found
-
findByAccountUserId_PrevAndNext
public static AccountEntryUserRel[] findByAccountUserId_PrevAndNext(long accountEntryUserRelId, long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException Returns the account entry user rels before and after the current account entry user rel in the ordered set where accountUserId = ?.- Parameters:
accountEntryUserRelId- the primary key of the current account entry user relaccountUserId- the account user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next account entry user rel
- Throws:
NoSuchEntryUserRelException- if a account entry user rel with the primary key could not be foundNoSuchEntryUserRelException
-
removeByAccountUserId
public static void removeByAccountUserId(long accountUserId) Removes all the account entry user rels where accountUserId = ? from the database.- Parameters:
accountUserId- the account user ID
-
countByAccountUserId
public static int countByAccountUserId(long accountUserId) Returns the number of account entry user rels where accountUserId = ?.- Parameters:
accountUserId- the account user ID- Returns:
- the number of matching account entry user rels
-
findByAEI_AUI
public static AccountEntryUserRel findByAEI_AUI(long accountEntryId, long accountUserId) throws NoSuchEntryUserRelException Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or throws aNoSuchEntryUserRelExceptionif it could not be found.- Parameters:
accountEntryId- the account entry IDaccountUserId- the account user ID- Returns:
- the matching account entry user rel
- Throws:
NoSuchEntryUserRelException- if a matching account entry user rel could not be foundNoSuchEntryUserRelException
-
fetchByAEI_AUI
Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
accountEntryId- the account entry IDaccountUserId- the account user ID- Returns:
- the matching account entry user rel, or
nullif a matching account entry user rel could not be found
-
fetchByAEI_AUI
public static AccountEntryUserRel fetchByAEI_AUI(long accountEntryId, long accountUserId, boolean useFinderCache) Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
accountEntryId- the account entry IDaccountUserId- the account user IDuseFinderCache- whether to use the finder cache- Returns:
- the matching account entry user rel, or
nullif a matching account entry user rel could not be found
-
removeByAEI_AUI
public static AccountEntryUserRel removeByAEI_AUI(long accountEntryId, long accountUserId) throws NoSuchEntryUserRelException Removes the account entry user rel where accountEntryId = ? and accountUserId = ? from the database.- Parameters:
accountEntryId- the account entry IDaccountUserId- the account user ID- Returns:
- the account entry user rel that was removed
- Throws:
NoSuchEntryUserRelException
-
countByAEI_AUI
public static int countByAEI_AUI(long accountEntryId, long accountUserId) Returns the number of account entry user rels where accountEntryId = ? and accountUserId = ?.- Parameters:
accountEntryId- the account entry IDaccountUserId- the account user ID- Returns:
- the number of matching account entry user rels
-
cacheResult
Caches the account entry user rel in the entity cache if it is enabled.- Parameters:
accountEntryUserRel- the account entry user rel
-
cacheResult
Caches the account entry user rels in the entity cache if it is enabled.- Parameters:
accountEntryUserRels- the account entry user rels
-
create
Creates a new account entry user rel with the primary key. Does not add the account entry user rel to the database.- Parameters:
accountEntryUserRelId- the primary key for the new account entry user rel- Returns:
- the new account entry user rel
-
remove
public static AccountEntryUserRel remove(long accountEntryUserRelId) throws NoSuchEntryUserRelException Removes the account entry user rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
accountEntryUserRelId- the primary key of the account entry user rel- Returns:
- the account entry user rel that was removed
- Throws:
NoSuchEntryUserRelException- if a account entry user rel with the primary key could not be foundNoSuchEntryUserRelException
-
updateImpl
-
findByPrimaryKey
public static AccountEntryUserRel findByPrimaryKey(long accountEntryUserRelId) throws NoSuchEntryUserRelException Returns the account entry user rel with the primary key or throws aNoSuchEntryUserRelExceptionif it could not be found.- Parameters:
accountEntryUserRelId- the primary key of the account entry user rel- Returns:
- the account entry user rel
- Throws:
NoSuchEntryUserRelException- if a account entry user rel with the primary key could not be foundNoSuchEntryUserRelException
-
fetchByPrimaryKey
Returns the account entry user rel with the primary key or returnsnullif it could not be found.- Parameters:
accountEntryUserRelId- the primary key of the account entry user rel- Returns:
- the account entry user rel, or
nullif a account entry user rel with the primary key could not be found
-
findAll
Returns all the account entry user rels.- Returns:
- the account entry user rels
-
findAll
Returns a range of all the account entry user rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
start- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user rels (not inclusive)- Returns:
- the range of account entry user rels
-
findAll
public static List<AccountEntryUserRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) Returns an ordered range of all the account entry user rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
start- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of account entry user rels
-
findAll
public static List<AccountEntryUserRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry user rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAccountEntryUserRelModelImpl.- Parameters:
start- the lower bound of the range of account entry user relsend- the upper bound of the range of account entry user 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 entry user rels
-
removeAll
public static void removeAll()Removes all the account entry user rels from the database. -
countAll
public static int countAll()Returns the number of account entry user rels.- Returns:
- the number of account entry user rels
-
getPersistence
-
setPersistence
-