Interface AccountEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(AccountEntry accountEntry) Caches the account entry in the entity cache if it is enabled.void
cacheResult
(List<AccountEntry> accountEntries) Caches the account entries in the entity cache if it is enabled.int
countAll()
Returns the number of account entries.int
countByC_S
(long companyId, int status) Returns the number of account entries where companyId = ? and status = ?.int
countByCompanyId
(long companyId) Returns the number of account entries where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of account entries where externalReferenceCode = ? and companyId = ?.int
countByU_T
(long userId, String type) Returns the number of account entries where userId = ? and type = ?.int
countByUuid
(String uuid) Returns the number of account entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of account entries where uuid = ? and companyId = ?.create
(long accountEntryId) Creates a new account entry with the primary key.fetchByC_S_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where companyId = ? and status = ?.fetchByC_S_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where companyId = ? and status = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long accountEntryId) Returns the account entry with the primary key or returnsnull
if it could not be found.fetchByU_T_First
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where userId = ? and type = ?.fetchByU_T_Last
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where userId = ? and type = ?.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ?.int
filterCountByC_S
(long companyId, int status) Returns the number of account entries that the user has permission to view where companyId = ? and status = ?.int
filterCountByCompanyId
(long companyId) Returns the number of account entries that the user has permission to view where companyId = ?.int
filterCountByU_T
(long userId, String type) Returns the number of account entries that the user has permission to view where userId = ? and type = ?.int
filterCountByUuid
(String uuid) Returns the number of account entries that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of account entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByC_S
(long companyId, int status) Returns all the account entries that the user has permission to view where companyId = ? and status = ?.filterFindByC_S
(long companyId, int status, int start, int end) Returns a range of all the account entries that the user has permission to view where companyId = ? and status = ?.filterFindByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where companyId = ? and status = ?.filterFindByC_S_PrevAndNext
(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where companyId = ? and status = ?.filterFindByCompanyId
(long companyId) Returns all the account entries that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the account entries that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext
(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where companyId = ?.filterFindByU_T
(long userId, String type) Returns all the account entries that the user has permission to view where userId = ? and type = ?.filterFindByU_T
(long userId, String type, int start, int end) Returns a range of all the account entries that the user has permission to view where userId = ? and type = ?.filterFindByU_T
(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where userId = ? and type = ?.filterFindByU_T_PrevAndNext
(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where userId = ? and type = ?.filterFindByUuid
(String uuid) Returns all the account entries that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the account entries that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the account entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the account entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ? and companyId = ?.filterFindByUuid_C_PrevAndNext
(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_PrevAndNext
(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ?.findAll()
Returns all the account entries.findAll
(int start, int end) Returns a range of all the account entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries.findByC_S
(long companyId, int status) Returns all the account entries where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end) Returns a range of all the account entries where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where companyId = ? and status = ?.findByC_S_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where companyId = ? and status = ?.findByC_S_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where companyId = ? and status = ?.findByC_S_PrevAndNext
(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where companyId = ? and status = ?.findByCompanyId
(long companyId) Returns all the account entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the account entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where companyId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the account entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.findByPrimaryKey
(long accountEntryId) Returns the account entry with the primary key or throws aNoSuchEntryException
if it could not be found.Returns all the account entries where userId = ? and type = ?.Returns a range of all the account entries where userId = ? and type = ?.findByU_T
(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where userId = ? and type = ?.findByU_T
(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where userId = ? and type = ?.findByU_T_First
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where userId = ? and type = ?.findByU_T_Last
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where userId = ? and type = ?.findByU_T_PrevAndNext
(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where userId = ? and type = ?.findByUuid
(String uuid) Returns all the account entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the account entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the account entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the account entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where uuid = ?.remove
(long accountEntryId) Removes the account entry with the primary key from the database.void
Removes all the account entries from the database.void
removeByC_S
(long companyId, int status) Removes all the account entries where companyId = ? and status = ? from the database.void
removeByCompanyId
(long companyId) Removes all the account entries where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the account entry where externalReferenceCode = ? and companyId = ? from the database.void
removeByU_T
(long userId, String type) Removes all the account entries where userId = ? and type = ? from the database.void
removeByUuid
(String uuid) Removes all the account entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the account entries where uuid = ? and companyId = ? from the database.updateImpl
(AccountEntry accountEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the account entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching account entries
-
findByUuid
Returns a range of all the account entries where uuid = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByUuid
List<AccountEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByUuid
List<AccountEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (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 entries
-
findByUuid_First
AccountEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByUuid_First
AccountEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_Last
AccountEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByUuid_Last
AccountEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_PrevAndNext
AccountEntry[] findByUuid_PrevAndNext(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where uuid = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
filterFindByUuid
Returns all the account entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching account entries that the user has permission to view
-
filterFindByUuid
Returns a range of all the account entries that the user has permission to view where uuid = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByUuid
List<AccountEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByUuid_PrevAndNext
AccountEntry[] filterFindByUuid_PrevAndNext(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
removeByUuid
Removes all the account entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of account entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching account entries
-
filterCountByUuid
Returns the number of account entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching account entries that the user has permission to view
-
findByUuid_C
Returns all the account entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching account entries
-
findByUuid_C
Returns a range of all the account entries where uuid = ? and companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByUuid_C
List<AccountEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByUuid_C
List<AccountEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (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 entries
-
findByUuid_C_First
AccountEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByUuid_C_First
AccountEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_C_Last
AccountEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByUuid_C_Last
AccountEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_C_PrevAndNext
AccountEntry[] findByUuid_C_PrevAndNext(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
filterFindByUuid_C
Returns all the account entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching account entries that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the account entries that the user has permission to view where uuid = ? and companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByUuid_C
List<AccountEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ? and companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
AccountEntry[] filterFindByUuid_C_PrevAndNext(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
removeByUuid_C
Removes all the account entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of account entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching account entries
-
filterCountByUuid_C
Returns the number of account entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching account entries that the user has permission to view
-
findByCompanyId
Returns all the account entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching account entries
-
findByCompanyId
Returns a range of all the account entries where companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByCompanyId
List<AccountEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByCompanyId
List<AccountEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (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 entries
-
findByCompanyId_First
AccountEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByCompanyId_First
AccountEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByCompanyId_Last
AccountEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByCompanyId_Last
AccountEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByCompanyId_PrevAndNext
AccountEntry[] findByCompanyId_PrevAndNext(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
filterFindByCompanyId
Returns all the account entries that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching account entries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the account entries that the user has permission to view where companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByCompanyId
List<AccountEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where companyId = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
AccountEntry[] filterFindByCompanyId_PrevAndNext(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the account entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of account entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching account entries
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of account entries that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching account entries that the user has permission to view
-
findByC_S
Returns all the account entries where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching account entries
-
findByC_S
Returns a range of all the account entries where companyId = ? and status = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByC_S
List<AccountEntry> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where companyId = ? and status = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByC_S
List<AccountEntry> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where companyId = ? and status = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (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 entries
-
findByC_S_First
AccountEntry findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByC_S_First
AccountEntry fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByC_S_Last
AccountEntry findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByC_S_Last
AccountEntry fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByC_S_PrevAndNext
AccountEntry[] findByC_S_PrevAndNext(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where companyId = ? and status = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
filterFindByC_S
Returns all the account entries that the user has permission to view where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching account entries that the user has permission to view
-
filterFindByC_S
Returns a range of all the account entries that the user has permission to view where companyId = ? and status = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByC_S
List<AccountEntry> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where companyId = ? and status = ?.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 fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByC_S_PrevAndNext
AccountEntry[] filterFindByC_S_PrevAndNext(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where companyId = ? and status = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
removeByC_S
void removeByC_S(long companyId, int status) Removes all the account entries where companyId = ? and status = ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_S
int countByC_S(long companyId, int status) Returns the number of account entries where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching account entries
-
filterCountByC_S
int filterCountByC_S(long companyId, int status) Returns the number of account entries that the user has permission to view where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching account entries that the user has permission to view
-
findByU_T
Returns all the account entries where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the matching account entries
-
findByU_T
Returns a range of all the account entries where userId = ? and type = ?.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 fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByU_T
List<AccountEntry> findByU_T(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where userId = ? and type = ?.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 fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByU_T
List<AccountEntry> findByU_T(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where userId = ? and type = ?.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 fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (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 entries
-
findByU_T_First
AccountEntry findByU_T_First(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByU_T_First
AccountEntry fetchByU_T_First(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByU_T_Last
AccountEntry findByU_T_Last(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByU_T_Last
AccountEntry fetchByU_T_Last(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByU_T_PrevAndNext
AccountEntry[] findByU_T_PrevAndNext(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where userId = ? and type = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuserId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
filterFindByU_T
Returns all the account entries that the user has permission to view where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the matching account entries that the user has permission to view
-
filterFindByU_T
Returns a range of all the account entries that the user has permission to view where userId = ? and type = ?.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 fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByU_T
List<AccountEntry> filterFindByU_T(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where userId = ? and type = ?.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 fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByU_T_PrevAndNext
AccountEntry[] filterFindByU_T_PrevAndNext(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where userId = ? and type = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuserId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
removeByU_T
Removes all the account entries where userId = ? and type = ? from the database.- Parameters:
userId
- the user IDtype
- the type
-
countByU_T
Returns the number of account entries where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the number of matching account entries
-
filterCountByU_T
Returns the number of account entries that the user has permission to view where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the number of matching account entries that the user has permission to view
-
findByERC_C
Returns the account entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be found
-
fetchByERC_C
Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching account entry, or
null
if a matching account entry could not be found
-
fetchByERC_C
Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching account entry, or
null
if a matching account entry could not be found
-
removeByERC_C
AccountEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Removes the account entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the account entry that was removed
- Throws:
NoSuchEntryException
-
countByERC_C
Returns the number of account entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching account entries
-
cacheResult
Caches the account entry in the entity cache if it is enabled.- Parameters:
accountEntry
- the account entry
-
cacheResult
Caches the account entries in the entity cache if it is enabled.- Parameters:
accountEntries
- the account entries
-
create
Creates a new account entry with the primary key. Does not add the account entry to the database.- Parameters:
accountEntryId
- the primary key for the new account entry- Returns:
- the new account entry
-
remove
Removes the account entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry that was removed
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the account entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the account entry with the primary key or returnsnull
if it could not be found.- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry, or
null
if a account entry with the primary key could not be found
-
findAll
List<AccountEntry> findAll()Returns all the account entries.- Returns:
- the account entries
-
findAll
Returns a range of all the account entries.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 fromAccountEntryModelImpl
.- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of account entries
-
findAll
List<AccountEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries.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 fromAccountEntryModelImpl
.- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of account entries
-
findAll
List<AccountEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries.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 fromAccountEntryModelImpl
.- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of account entries
-
removeAll
void removeAll()Removes all the account entries from the database. -
countAll
int countAll()Returns the number of account entries.- Returns:
- the number of account entries
-