@ProviderType public interface AccountEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntry>
Caching information and settings can be found in portal.properties
AccountEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AccountEntry accountEntry)
Caches the account entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of account entries where companyId = ? and externalReferenceCode = ?.
|
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 |
countByU_T(long userId,
java.lang.String type)
Returns the number of account entries where userId = ? and type = ?.
|
AccountEntry |
create(long accountEntryId)
Creates a new account entry with the primary key.
|
AccountEntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the account entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
AccountEntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the account entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
AccountEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where companyId = ?.
|
AccountEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where companyId = ?.
|
AccountEntry |
fetchByPrimaryKey(long accountEntryId)
Returns the account entry with the primary key or returns
null if it could not be found. |
AccountEntry |
fetchByU_T_First(long userId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where userId = ? and type = ?.
|
AccountEntry |
fetchByU_T_Last(long userId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where userId = ? and type = ?.
|
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,
java.lang.String type)
Returns the number of account entries that the user has permission to view where userId = ? and type = ?.
|
AccountEntry[] |
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 = ?.
|
java.util.List<AccountEntry> |
filterFindByC_S(long companyId,
int status)
Returns all the account entries that the user has permission to view where companyId = ? and status = ?.
|
java.util.List<AccountEntry> |
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 = ?.
|
java.util.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 = ?.
|
AccountEntry[] |
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 = ?.
|
java.util.List<AccountEntry> |
filterFindByCompanyId(long companyId)
Returns all the account entries that the user has permission to view where companyId = ?.
|
java.util.List<AccountEntry> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the account entries that the user has permission to view where companyId = ?.
|
java.util.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 = ?.
|
AccountEntry[] |
filterFindByU_T_PrevAndNext(long accountEntryId,
long userId,
java.lang.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 = ?.
|
java.util.List<AccountEntry> |
filterFindByU_T(long userId,
java.lang.String type)
Returns all the account entries that the user has permission to view where userId = ? and type = ?.
|
java.util.List<AccountEntry> |
filterFindByU_T(long userId,
java.lang.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 = ?.
|
java.util.List<AccountEntry> |
filterFindByU_T(long userId,
java.lang.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 = ?.
|
java.util.List<AccountEntry> |
findAll()
Returns all the account entries.
|
java.util.List<AccountEntry> |
findAll(int start,
int end)
Returns a range of all the account entries.
|
java.util.List<AccountEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns an ordered range of all the account entries.
|
java.util.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.
|
AccountEntry |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the account entry where companyId = ? and externalReferenceCode = ? or throws a
NoSuchEntryException if it could not be found. |
AccountEntry |
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 = ?.
|
AccountEntry |
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 = ?.
|
AccountEntry[] |
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 = ?.
|
java.util.List<AccountEntry> |
findByC_S(long companyId,
int status)
Returns all the account entries where companyId = ? and status = ?.
|
java.util.List<AccountEntry> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the account entries where companyId = ? and status = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
AccountEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where companyId = ?.
|
AccountEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where companyId = ?.
|
AccountEntry[] |
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 = ?.
|
java.util.List<AccountEntry> |
findByCompanyId(long companyId)
Returns all the account entries where companyId = ?.
|
java.util.List<AccountEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the account entries where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
AccountEntry |
findByPrimaryKey(long accountEntryId)
Returns the account entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
AccountEntry |
findByU_T_First(long userId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where userId = ? and type = ?.
|
AccountEntry |
findByU_T_Last(long userId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where userId = ? and type = ?.
|
AccountEntry[] |
findByU_T_PrevAndNext(long accountEntryId,
long userId,
java.lang.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 = ?.
|
java.util.List<AccountEntry> |
findByU_T(long userId,
java.lang.String type)
Returns all the account entries where userId = ? and type = ?.
|
java.util.List<AccountEntry> |
findByU_T(long userId,
java.lang.String type,
int start,
int end)
Returns a range of all the account entries where userId = ? and type = ?.
|
java.util.List<AccountEntry> |
findByU_T(long userId,
java.lang.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 = ?.
|
java.util.List<AccountEntry> |
findByU_T(long userId,
java.lang.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 = ?.
|
AccountEntry |
remove(long accountEntryId)
Removes the account entry with the primary key from the database.
|
void |
removeAll()
Removes all the account entries from the database.
|
AccountEntry |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the account entry where companyId = ? and externalReferenceCode = ? 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.
|
void |
removeByU_T(long userId,
java.lang.String type)
Removes all the account entries where userId = ? and type = ? from the database.
|
AccountEntry |
updateImpl(AccountEntry accountEntry) |
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, setDataSource, unregisterListener, update, update
java.util.List<AccountEntry> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AccountEntry> findByCompanyId(long companyId, int start, int end)
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 AccountEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)java.util.List<AccountEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)java.util.List<AccountEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache)
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 AccountEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundAccountEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundAccountEntry[] findByCompanyId_PrevAndNext(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundjava.util.List<AccountEntry> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AccountEntry> filterFindByCompanyId(long companyId, int start, int end)
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 AccountEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)java.util.List<AccountEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)AccountEntry[] filterFindByCompanyId_PrevAndNext(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AccountEntry> findByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statusjava.util.List<AccountEntry> findByC_S(long companyId, int status, int start, int end)
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 AccountEntryModelImpl
.
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)java.util.List<AccountEntry> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)java.util.List<AccountEntry> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache)
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 AccountEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntry findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundAccountEntry findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundAccountEntry[] findByC_S_PrevAndNext(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundjava.util.List<AccountEntry> filterFindByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statusjava.util.List<AccountEntry> filterFindByC_S(long companyId, int status, int start, int end)
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 AccountEntryModelImpl
.
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)java.util.List<AccountEntry> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)AccountEntry[] filterFindByC_S_PrevAndNext(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundvoid removeByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statusint countByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statusint filterCountByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statusjava.util.List<AccountEntry> findByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typejava.util.List<AccountEntry> findByU_T(long userId, java.lang.String type, int start, int end)
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 AccountEntryModelImpl
.
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)java.util.List<AccountEntry> findByU_T(long userId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)java.util.List<AccountEntry> findByU_T(long userId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache)
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 AccountEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntry findByU_T_First(long userId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByU_T_First(long userId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundAccountEntry findByU_T_Last(long userId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByU_T_Last(long userId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundAccountEntry[] findByU_T_PrevAndNext(long accountEntryId, long userId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entryuserId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundjava.util.List<AccountEntry> filterFindByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typejava.util.List<AccountEntry> filterFindByU_T(long userId, java.lang.String type, int start, int end)
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 AccountEntryModelImpl
.
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)java.util.List<AccountEntry> filterFindByU_T(long userId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)AccountEntry[] filterFindByU_T_PrevAndNext(long accountEntryId, long userId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entryuserId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundvoid removeByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typeint countByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typeint filterCountByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typeAccountEntry findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchEntryException
- if a matching account entry could not be foundAccountEntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching account entry could not be foundAccountEntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching account entry could not be foundAccountEntry removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchEntryException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchEntryException
int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(AccountEntry accountEntry)
accountEntry
- the account entryvoid cacheResult(java.util.List<AccountEntry> accountEntries)
accountEntries
- the account entriesAccountEntry create(long accountEntryId)
accountEntryId
- the primary key for the new account entryAccountEntry remove(long accountEntryId) throws NoSuchEntryException
accountEntryId
- the primary key of the account entryNoSuchEntryException
- if a account entry with the primary key could not be foundAccountEntry updateImpl(AccountEntry accountEntry)
AccountEntry findByPrimaryKey(long accountEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.accountEntryId
- the primary key of the account entryNoSuchEntryException
- if a account entry with the primary key could not be foundAccountEntry fetchByPrimaryKey(long accountEntryId)
null
if it could not be found.accountEntryId
- the primary key of the account entrynull
if a account entry with the primary key could not be foundjava.util.List<AccountEntry> findAll()
java.util.List<AccountEntry> findAll(int start, int end)
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 AccountEntryModelImpl
.
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)java.util.List<AccountEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
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 AccountEntryModelImpl
.
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 (optionally null
)java.util.List<AccountEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache)
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 AccountEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()