public class AccountEntryUtil
extends java.lang.Object
com.liferay.account.service.persistence.impl.AccountEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
AccountEntryPersistence
Constructor and Description |
---|
AccountEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AccountEntry accountEntry)
Caches the account entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AccountEntry> accountEntries)
Caches the account entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AccountEntry accountEntry) |
static int |
countAll()
Returns the number of account entries.
|
static int |
countByC_S(long companyId,
int status)
Returns the number of account entries where companyId = ? and status = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of account entries where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of account entries where externalReferenceCode = ? and companyId = ?.
|
static int |
countByU_T(long userId,
java.lang.String type)
Returns the number of account entries where userId = ? and type = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of account entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of account entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AccountEntry |
create(long accountEntryId)
Creates a new account entry with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static AccountEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where companyId = ?.
|
static AccountEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where companyId = ?.
|
static AccountEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the account entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static AccountEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the account entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AccountEntry |
fetchByPrimaryKey(long accountEntryId)
Returns the account entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AccountEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static AccountEntry |
fetchByUuid_C_First(java.lang.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 = ?.
|
static AccountEntry |
fetchByUuid_C_Last(java.lang.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 = ?.
|
static AccountEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where uuid = ?.
|
static AccountEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where uuid = ?.
|
static int |
filterCountByC_S(long companyId,
int status)
Returns the number of account entries that the user has permission to view where companyId = ? and status = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of account entries that the user has permission to view where companyId = ?.
|
static 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 = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of account entries that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of account entries that the user has permission to view where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<AccountEntry> |
filterFindByCompanyId(long companyId)
Returns all the account entries that the user has permission to view where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AccountEntry[] |
filterFindByUuid_C_PrevAndNext(long accountEntryId,
java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the account entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<AccountEntry> |
filterFindByUuid_C(java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
filterFindByUuid_C(java.lang.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 = ?.
|
static AccountEntry[] |
filterFindByUuid_PrevAndNext(long accountEntryId,
java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
filterFindByUuid(java.lang.String uuid)
Returns all the account entries that the user has permission to view where uuid = ?.
|
static java.util.List<AccountEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the account entries that the user has permission to view where uuid = ?.
|
static java.util.List<AccountEntry> |
filterFindByUuid(java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
findAll()
Returns all the account entries.
|
static java.util.List<AccountEntry> |
findAll(int start,
int end)
Returns a range of all the account entries.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<AccountEntry> |
findByC_S(long companyId,
int status)
Returns all the account entries where companyId = ? and status = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AccountEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where companyId = ?.
|
static AccountEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where companyId = ?.
|
static 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 = ?.
|
static java.util.List<AccountEntry> |
findByCompanyId(long companyId)
Returns all the account entries where companyId = ?.
|
static java.util.List<AccountEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the account entries where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AccountEntry |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the account entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchEntryException if it could not be found. |
static AccountEntry |
findByPrimaryKey(long accountEntryId)
Returns the account entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<AccountEntry> |
findByU_T(long userId,
java.lang.String type)
Returns all the account entries where userId = ? and type = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AccountEntry |
findByUuid_C_First(java.lang.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 = ?.
|
static AccountEntry |
findByUuid_C_Last(java.lang.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 = ?.
|
static AccountEntry[] |
findByUuid_C_PrevAndNext(long accountEntryId,
java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the account entries where uuid = ? and companyId = ?.
|
static java.util.List<AccountEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the account entries where uuid = ? and companyId = ?.
|
static java.util.List<AccountEntry> |
findByUuid_C(java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
findByUuid_C(java.lang.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 = ?.
|
static AccountEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the first account entry in the ordered set where uuid = ?.
|
static AccountEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
Returns the last account entry in the ordered set where uuid = ?.
|
static AccountEntry[] |
findByUuid_PrevAndNext(long accountEntryId,
java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
findByUuid(java.lang.String uuid)
Returns all the account entries where uuid = ?.
|
static java.util.List<AccountEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the account entries where uuid = ?.
|
static java.util.List<AccountEntry> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<AccountEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AccountEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AccountEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) |
static AccountEntryPersistence |
getPersistence() |
static AccountEntry |
remove(long accountEntryId)
Removes the account entry with the primary key from the database.
|
static void |
removeAll()
Removes all the account entries from the database.
|
static void |
removeByC_S(long companyId,
int status)
Removes all the account entries where companyId = ? and status = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the account entries where companyId = ? from the database.
|
static AccountEntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the account entry where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByU_T(long userId,
java.lang.String type)
Removes all the account entries where userId = ? and type = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the account entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the account entries where uuid = ? from the database.
|
static void |
setPersistence(AccountEntryPersistence persistence) |
static AccountEntry |
update(AccountEntry accountEntry) |
static AccountEntry |
update(AccountEntry accountEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AccountEntry |
updateImpl(AccountEntry accountEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AccountEntry accountEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AccountEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AccountEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AccountEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AccountEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AccountEntry update(AccountEntry accountEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AccountEntry update(AccountEntry accountEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AccountEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AccountEntry> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)public static java.util.List<AccountEntry> findByUuid(java.lang.String uuid, 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
.
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 (optionally null
)public static java.util.List<AccountEntry> findByUuid(java.lang.String uuid, 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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AccountEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundpublic static AccountEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundpublic static AccountEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundpublic static AccountEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundpublic static AccountEntry[] findByUuid_PrevAndNext(long accountEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundpublic static java.util.List<AccountEntry> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AccountEntry> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)public static java.util.List<AccountEntry> filterFindByUuid(java.lang.String uuid, 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
.
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 (optionally null
)public static AccountEntry[] filterFindByUuid_PrevAndNext(long accountEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AccountEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AccountEntry> findByUuid_C(java.lang.String uuid, 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
.
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)public static java.util.List<AccountEntry> findByUuid_C(java.lang.String uuid, 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
.
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 (optionally null
)public static java.util.List<AccountEntry> findByUuid_C(java.lang.String uuid, 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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AccountEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundpublic static AccountEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundpublic static AccountEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching account entry could not be foundpublic static AccountEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry could not be foundpublic static AccountEntry[] findByUuid_C_PrevAndNext(long accountEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundpublic static java.util.List<AccountEntry> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AccountEntry> filterFindByUuid_C(java.lang.String uuid, 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
.
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)public static java.util.List<AccountEntry> filterFindByUuid_C(java.lang.String uuid, 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
.
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 (optionally null
)public static AccountEntry[] filterFindByUuid_C_PrevAndNext(long accountEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException
accountEntryId
- the primary key of the current account entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a account entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AccountEntry> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry[] 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 foundpublic static java.util.List<AccountEntry> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<AccountEntry> findByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.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)public static 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
)public static 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 cachepublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry[] 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 foundpublic static java.util.List<AccountEntry> filterFindByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.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)public static 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
)public static 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 foundpublic static void removeByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int filterCountByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<AccountEntry> findByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typepublic static java.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)public static 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
)public static 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 cachepublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry 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 foundpublic static AccountEntry[] 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 foundpublic static java.util.List<AccountEntry> filterFindByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typepublic static java.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)public static 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
)public static 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 foundpublic static void removeByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typepublic static int countByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typepublic static int filterCountByU_T(long userId, java.lang.String type)
userId
- the user IDtype
- the typepublic static AccountEntry findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchEntryException
- if a matching account entry could not be foundpublic static AccountEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching account entry could not be foundpublic static AccountEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching account entry could not be foundpublic static AccountEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchEntryException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(AccountEntry accountEntry)
accountEntry
- the account entrypublic static void cacheResult(java.util.List<AccountEntry> accountEntries)
accountEntries
- the account entriespublic static AccountEntry create(long accountEntryId)
accountEntryId
- the primary key for the new account entrypublic static AccountEntry remove(long accountEntryId) throws NoSuchEntryException
accountEntryId
- the primary key of the account entryNoSuchEntryException
- if a account entry with the primary key could not be foundpublic static AccountEntry updateImpl(AccountEntry accountEntry)
public static 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 foundpublic static AccountEntry 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 foundpublic static java.util.List<AccountEntry> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static AccountEntryPersistence getPersistence()
public static void setPersistence(AccountEntryPersistence persistence)