Interface AccountEntryUserRelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntryUserRel>

@ProviderType public interface AccountEntryUserRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntryUserRel>
The persistence interface for the account entry user rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByAccountEntryId

      List<AccountEntryUserRel> findByAccountEntryId(long accountEntryId)
      Returns all the account entry user rels where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the matching account entry user rels
    • findByAccountEntryId

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      Returns:
      the range of matching account entry user rels
    • findByAccountEntryId

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account entry user rels
    • findByAccountEntryId

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching account entry user rels
    • findByAccountEntryId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account entry user rel
      Throws:
      NoSuchEntryUserRelException - if a matching account entry user rel could not be found
    • fetchByAccountEntryId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account entry user rel, or null if a matching account entry user rel could not be found
    • findByAccountEntryId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account entry user rel
      Throws:
      NoSuchEntryUserRelException - if a matching account entry user rel could not be found
    • fetchByAccountEntryId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account entry user rel, or null if a matching account entry user rel could not be found
    • findByAccountEntryId_PrevAndNext

      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 rel
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
    • removeByAccountEntryId

      void removeByAccountEntryId(long accountEntryId)
      Removes all the account entry user rels where accountEntryId = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
    • countByAccountEntryId

      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

      List<AccountEntryUserRel> findByAccountUserId(long accountUserId)
      Returns all the account entry user rels where accountUserId = ?.
      Parameters:
      accountUserId - the account user ID
      Returns:
      the matching account entry user rels
    • findByAccountUserId

      List<AccountEntryUserRel> findByAccountUserId(long accountUserId, int start, int end)
      Returns a range of all the account entry user rels where accountUserId = ?.

      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 AccountEntryUserRelModelImpl.

      Parameters:
      accountUserId - the account user ID
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      Returns:
      the range of matching account entry user rels
    • findByAccountUserId

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      accountUserId - the account user ID
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching account entry user rels
    • findByAccountUserId

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      accountUserId - the account user ID
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching account entry user rels
    • findByAccountUserId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account entry user rel
      Throws:
      NoSuchEntryUserRelException - if a matching account entry user rel could not be found
    • fetchByAccountUserId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching account entry user rel, or null if a matching account entry user rel could not be found
    • findByAccountUserId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account entry user rel
      Throws:
      NoSuchEntryUserRelException - if a matching account entry user rel could not be found
    • fetchByAccountUserId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching account entry user rel, or null if a matching account entry user rel could not be found
    • findByAccountUserId_PrevAndNext

      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 rel
      accountUserId - the account user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
    • removeByAccountUserId

      void removeByAccountUserId(long accountUserId)
      Removes all the account entry user rels where accountUserId = ? from the database.
      Parameters:
      accountUserId - the account user ID
    • countByAccountUserId

      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

      AccountEntryUserRel findByAEI_AUI(long accountEntryId, long accountUserId) throws NoSuchEntryUserRelException
      Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or throws a NoSuchEntryUserRelException if it could not be found.
      Parameters:
      accountEntryId - the account entry ID
      accountUserId - the account user ID
      Returns:
      the matching account entry user rel
      Throws:
      NoSuchEntryUserRelException - if a matching account entry user rel could not be found
    • fetchByAEI_AUI

      AccountEntryUserRel fetchByAEI_AUI(long accountEntryId, long accountUserId)
      Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      accountEntryId - the account entry ID
      accountUserId - the account user ID
      Returns:
      the matching account entry user rel, or null if a matching account entry user rel could not be found
    • fetchByAEI_AUI

      AccountEntryUserRel fetchByAEI_AUI(long accountEntryId, long accountUserId, boolean useFinderCache)
      Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      accountEntryId - the account entry ID
      accountUserId - the account user ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching account entry user rel, or null if a matching account entry user rel could not be found
    • removeByAEI_AUI

      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 ID
      accountUserId - the account user ID
      Returns:
      the account entry user rel that was removed
      Throws:
      NoSuchEntryUserRelException
    • countByAEI_AUI

      int countByAEI_AUI(long accountEntryId, long accountUserId)
      Returns the number of account entry user rels where accountEntryId = ? and accountUserId = ?.
      Parameters:
      accountEntryId - the account entry ID
      accountUserId - the account user ID
      Returns:
      the number of matching account entry user rels
    • cacheResult

      void cacheResult(AccountEntryUserRel accountEntryUserRel)
      Caches the account entry user rel in the entity cache if it is enabled.
      Parameters:
      accountEntryUserRel - the account entry user rel
    • cacheResult

      void cacheResult(List<AccountEntryUserRel> accountEntryUserRels)
      Caches the account entry user rels in the entity cache if it is enabled.
      Parameters:
      accountEntryUserRels - the account entry user rels
    • create

      AccountEntryUserRel create(long accountEntryUserRelId)
      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

      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 found
    • updateImpl

      AccountEntryUserRel updateImpl(AccountEntryUserRel accountEntryUserRel)
    • findByPrimaryKey

      AccountEntryUserRel findByPrimaryKey(long accountEntryUserRelId) throws NoSuchEntryUserRelException
      Returns the account entry user rel with the primary key or throws a NoSuchEntryUserRelException if 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 found
    • fetchByPrimaryKey

      AccountEntryUserRel fetchByPrimaryKey(long accountEntryUserRelId)
      Returns the account entry user rel with the primary key or returns null if it could not be found.
      Parameters:
      accountEntryUserRelId - the primary key of the account entry user rel
      Returns:
      the account entry user rel, or null if 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

      List<AccountEntryUserRel> findAll(int start, int end)
      Returns a range of all the account entry user rels.

      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 AccountEntryUserRelModelImpl.

      Parameters:
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      Returns:
      the range of account entry user rels
    • findAll

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of account entry user rels
    • findAll

      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 - 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 AccountEntryUserRelModelImpl.

      Parameters:
      start - the lower bound of the range of account entry user rels
      end - the upper bound of the range of account entry user rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of account entry user rels
    • removeAll

      void removeAll()
      Removes all the account entry user rels from the database.
    • countAll

      int countAll()
      Returns the number of account entry user rels.
      Returns:
      the number of account entry user rels