Interface AccountEntryOrganizationRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntryOrganizationRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByA_O(long accountEntryId, long organizationId) Returns the number of account entry organization rels where accountEntryId = ? and organizationId = ?.intcountByAccountEntryId(long accountEntryId) Returns the number of account entry organization rels where accountEntryId = ?.intcountByOrganizationId(long organizationId) Returns the number of account entry organization rels where organizationId = ?.create(long accountEntryOrganizationRelId) Creates a new account entry organization rel with the primary key.default AccountEntryOrganizationRelfetchByA_O(long accountEntryId, long organizationId) Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returnsnullif it could not be found.fetchByA_O(long accountEntryId, long organizationId, boolean useFinderCache) Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns the first account entry organization rel in the ordered set where accountEntryId = ?.fetchByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns the first account entry organization rel in the ordered set where organizationId = ?.fetchByPrimaryKey(long accountEntryOrganizationRelId) Returns the account entry organization rel with the primary key or returnsnullif it could not be found.findByA_O(long accountEntryId, long organizationId) Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or throws aNoSuchEntryOrganizationRelExceptionif it could not be found.default List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId) Returns all the account entry organization rels where accountEntryId = ?.default List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the account entry organization rels where accountEntryId = ?.default List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns an ordered range of all the account entry organization rels where accountEntryId = ?.findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry organization rels where accountEntryId = ?.findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns the first account entry organization rel in the ordered set where accountEntryId = ?.default List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId) Returns all the account entry organization rels where organizationId = ?.default List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end) Returns a range of all the account entry organization rels where organizationId = ?.default List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns an ordered range of all the account entry organization rels where organizationId = ?.findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry organization rels where organizationId = ?.findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns the first account entry organization rel in the ordered set where organizationId = ?.findByPrimaryKey(long accountEntryOrganizationRelId) Returns the account entry organization rel with the primary key or throws aNoSuchEntryOrganizationRelExceptionif it could not be found.remove(long accountEntryOrganizationRelId) Removes the account entry organization rel with the primary key from the database.removeByA_O(long accountEntryId, long organizationId) Removes the account entry organization rel where accountEntryId = ? and organizationId = ? from the database.voidremoveByAccountEntryId(long accountEntryId) Removes all the account entry organization rels where accountEntryId = ? from the database.voidremoveByOrganizationId(long organizationId) Removes all the account entry organization rels where organizationId = ? from the database.updateImpl(AccountEntryOrganizationRel accountEntryOrganizationRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByAccountEntryId
List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry organization 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of account entry organization relsend- the upper bound of the range of account entry organization 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 organization rels
-
findByAccountEntryId_First
AccountEntryOrganizationRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException Returns the first account entry organization 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 organization rel
- Throws:
NoSuchEntryOrganizationRelException- if a matching account entry organization rel could not be found
-
fetchByAccountEntryId_First
AccountEntryOrganizationRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns the first account entry organization 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 organization rel, or
nullif a matching account entry organization rel could not be found
-
removeByAccountEntryId
void removeByAccountEntryId(long accountEntryId) Removes all the account entry organization rels where accountEntryId = ? from the database.- Parameters:
accountEntryId- the account entry ID
-
countByAccountEntryId
int countByAccountEntryId(long accountEntryId) Returns the number of account entry organization rels where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the number of matching account entry organization rels
-
findByOrganizationId
List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entry organization rels where organizationId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl.- Parameters:
organizationId- the organization IDstart- the lower bound of the range of account entry organization relsend- the upper bound of the range of account entry organization 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 organization rels
-
findByOrganizationId_First
AccountEntryOrganizationRel findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException Returns the first account entry organization rel in the ordered set where organizationId = ?.- Parameters:
organizationId- the organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account entry organization rel
- Throws:
NoSuchEntryOrganizationRelException- if a matching account entry organization rel could not be found
-
fetchByOrganizationId_First
AccountEntryOrganizationRel fetchByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns the first account entry organization rel in the ordered set where organizationId = ?.- Parameters:
organizationId- the organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching account entry organization rel, or
nullif a matching account entry organization rel could not be found
-
removeByOrganizationId
void removeByOrganizationId(long organizationId) Removes all the account entry organization rels where organizationId = ? from the database.- Parameters:
organizationId- the organization ID
-
countByOrganizationId
int countByOrganizationId(long organizationId) Returns the number of account entry organization rels where organizationId = ?.- Parameters:
organizationId- the organization ID- Returns:
- the number of matching account entry organization rels
-
findByA_O
AccountEntryOrganizationRel findByA_O(long accountEntryId, long organizationId) throws NoSuchEntryOrganizationRelException Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or throws aNoSuchEntryOrganizationRelExceptionif it could not be found.- Parameters:
accountEntryId- the account entry IDorganizationId- the organization ID- Returns:
- the matching account entry organization rel
- Throws:
NoSuchEntryOrganizationRelException- if a matching account entry organization rel could not be found
-
fetchByA_O
AccountEntryOrganizationRel fetchByA_O(long accountEntryId, long organizationId, boolean useFinderCache) Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
accountEntryId- the account entry IDorganizationId- the organization IDuseFinderCache- whether to use the finder cache- Returns:
- the matching account entry organization rel, or
nullif a matching account entry organization rel could not be found
-
removeByA_O
AccountEntryOrganizationRel removeByA_O(long accountEntryId, long organizationId) throws NoSuchEntryOrganizationRelException Removes the account entry organization rel where accountEntryId = ? and organizationId = ? from the database.- Parameters:
accountEntryId- the account entry IDorganizationId- the organization ID- Returns:
- the account entry organization rel that was removed
- Throws:
NoSuchEntryOrganizationRelException
-
countByA_O
int countByA_O(long accountEntryId, long organizationId) Returns the number of account entry organization rels where accountEntryId = ? and organizationId = ?.- Parameters:
accountEntryId- the account entry IDorganizationId- the organization ID- Returns:
- the number of matching account entry organization rels
-
create
Creates a new account entry organization rel with the primary key. Does not add the account entry organization rel to the database.- Parameters:
accountEntryOrganizationRelId- the primary key for the new account entry organization rel- Returns:
- the new account entry organization rel
-
remove
AccountEntryOrganizationRel remove(long accountEntryOrganizationRelId) throws NoSuchEntryOrganizationRelException Removes the account entry organization rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
accountEntryOrganizationRelId- the primary key of the account entry organization rel- Returns:
- the account entry organization rel that was removed
- Throws:
NoSuchEntryOrganizationRelException- if a account entry organization rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
AccountEntryOrganizationRel findByPrimaryKey(long accountEntryOrganizationRelId) throws NoSuchEntryOrganizationRelException Returns the account entry organization rel with the primary key or throws aNoSuchEntryOrganizationRelExceptionif it could not be found.- Parameters:
accountEntryOrganizationRelId- the primary key of the account entry organization rel- Returns:
- the account entry organization rel
- Throws:
NoSuchEntryOrganizationRelException- if a account entry organization rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the account entry organization rel with the primary key or returnsnullif it could not be found.- Parameters:
accountEntryOrganizationRelId- the primary key of the account entry organization rel- Returns:
- the account entry organization rel, or
nullif a account entry organization rel with the primary key could not be found
-
fetchByA_O
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
accountEntryId- the account entry IDorganizationId- the organization ID- Returns:
- the matching account entry organization rel, or
nullif a matching account entry organization rel could not be found
-
findByAccountEntryId
Returns all the account entry organization rels where accountEntryId = ?.- Parameters:
accountEntryId- the account entry ID- Returns:
- the matching account entry organization rels
-
findByAccountEntryId
default List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end) Returns a range of all the account entry organization 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of account entry organization relsend- the upper bound of the range of account entry organization rels (not inclusive)- Returns:
- the range of matching account entry organization rels
-
findByAccountEntryId
default List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns an ordered range of all the account entry organization 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl.- Parameters:
accountEntryId- the account entry IDstart- the lower bound of the range of account entry organization relsend- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching account entry organization rels
-
findByOrganizationId
Returns all the account entry organization rels where organizationId = ?.- Parameters:
organizationId- the organization ID- Returns:
- the matching account entry organization rels
-
findByOrganizationId
default List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end) Returns a range of all the account entry organization rels where organizationId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl.- Parameters:
organizationId- the organization IDstart- the lower bound of the range of account entry organization relsend- the upper bound of the range of account entry organization rels (not inclusive)- Returns:
- the range of matching account entry organization rels
-
findByOrganizationId
default List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) Returns an ordered range of all the account entry organization rels where organizationId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl.- Parameters:
organizationId- the organization IDstart- the lower bound of the range of account entry organization relsend- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching account entry organization rels
-