Class AccountEntryUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(AccountEntry accountEntry) Caches the account entry in the entity cache if it is enabled.static void
cacheResult
(List<AccountEntry> accountEntries) Caches the account entries in the entity cache if it is enabled.static void
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
(String externalReferenceCode, long companyId) Returns the number of account entries where externalReferenceCode = ? and companyId = ?.static int
countByU_T
(long userId, String type) Returns the number of account entries where userId = ? and type = ?.static int
countByUuid
(String uuid) Returns the number of account entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of account entries where uuid = ? and companyId = ?.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
(String externalReferenceCode, long companyId) Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static AccountEntry
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static AccountEntry
fetchByPrimaryKey
(long accountEntryId) Returns the account entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
AccountEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static AccountEntry
fetchByU_T_First
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where userId = ? and type = ?.static AccountEntry
fetchByU_T_Last
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where userId = ? and type = ?.static AccountEntry
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ? and companyId = ?.static AccountEntry
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ? and companyId = ?.static AccountEntry
fetchByUuid_First
(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
(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, String type) Returns the number of account entries that the user has permission to view where userId = ? and type = ?.static int
filterCountByUuid
(String uuid) Returns the number of account entries that the user has permission to view where uuid = ?.static int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of account entries that the user has permission to view where uuid = ? and companyId = ?.static 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 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 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[]
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 List<AccountEntry>
filterFindByCompanyId
(long companyId) Returns all the account entries that the user has permission to view where companyId = ?.static 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 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[]
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 List<AccountEntry>
filterFindByU_T
(long userId, String type) Returns all the account entries that the user has permission to view where userId = ? and type = ?.static List<AccountEntry>
filterFindByU_T
(long userId, String type, int start, int end) Returns a range of all the account entries that the user has permission to view where userId = ? and type = ?.static List<AccountEntry>
filterFindByU_T
(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where userId = ? and type = ?.static AccountEntry[]
filterFindByU_T_PrevAndNext
(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where userId = ? and type = ?.static List<AccountEntry>
filterFindByUuid
(String uuid) Returns all the account entries that the user has permission to view where uuid = ?.static List<AccountEntry>
filterFindByUuid
(String uuid, int start, int end) Returns a range of all the account entries that the user has permission to view where uuid = ?.static List<AccountEntry>
filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ?.static List<AccountEntry>
filterFindByUuid_C
(String uuid, long companyId) Returns all the account entries that the user has permission to view where uuid = ? and companyId = ?.static List<AccountEntry>
filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the account entries that the user has permission to view where uuid = ? and companyId = ?.static List<AccountEntry>
filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ? and companyId = ?.static AccountEntry[]
filterFindByUuid_C_PrevAndNext
(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ? and companyId = ?.static AccountEntry[]
filterFindByUuid_PrevAndNext
(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ?.static List<AccountEntry>
findAll()
Returns all the account entries.static List<AccountEntry>
findAll
(int start, int end) Returns a range of all the account entries.static 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 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 List<AccountEntry>
findByC_S
(long companyId, int status) Returns all the account entries where companyId = ? and status = ?.static 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 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 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
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 List<AccountEntry>
findByCompanyId
(long companyId) Returns all the account entries where companyId = ?.static List<AccountEntry>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the account entries where companyId = ?.static 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 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
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 AccountEntry
findByERC_C
(String externalReferenceCode, long companyId) Returns the account entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.static AccountEntry
findByPrimaryKey
(long accountEntryId) Returns the account entry with the primary key or throws aNoSuchEntryException
if it could not be found.static List<AccountEntry>
Returns all the account entries where userId = ? and type = ?.static List<AccountEntry>
Returns a range of all the account entries where userId = ? and type = ?.static List<AccountEntry>
findByU_T
(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where userId = ? and type = ?.static List<AccountEntry>
findByU_T
(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where userId = ? and type = ?.static AccountEntry
findByU_T_First
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where userId = ? and type = ?.static AccountEntry
findByU_T_Last
(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where userId = ? and type = ?.static AccountEntry[]
findByU_T_PrevAndNext
(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where userId = ? and type = ?.static List<AccountEntry>
findByUuid
(String uuid) Returns all the account entries where uuid = ?.static List<AccountEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the account entries where uuid = ?.static List<AccountEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ?.static List<AccountEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ?.static List<AccountEntry>
findByUuid_C
(String uuid, long companyId) Returns all the account entries where uuid = ? and companyId = ?.static List<AccountEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the account entries where uuid = ? and companyId = ?.static List<AccountEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.static List<AccountEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.static AccountEntry
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ? and companyId = ?.static AccountEntry
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ? and companyId = ?.static AccountEntry[]
findByUuid_C_PrevAndNext
(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the account entries before and after the current account entry in the ordered set where uuid = ? and companyId = ?.static AccountEntry
findByUuid_First
(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
(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, 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 List<AccountEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AccountEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static AccountEntry
remove
(long accountEntryId) Removes the account entry with the primary key from the database.static void
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
(String externalReferenceCode, long companyId) Removes the account entry where externalReferenceCode = ? and companyId = ? from the database.static void
removeByU_T
(long userId, String type) Removes all the account entries where userId = ? and type = ? from the database.static void
removeByUuid
(String uuid) Removes all the account entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the account entries where uuid = ? and companyId = ? 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)
-
Constructor Details
-
AccountEntryUtil
public AccountEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AccountEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AccountEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<AccountEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AccountEntry update(AccountEntry accountEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the account entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching account entries
-
findByUuid
Returns a range of all the account entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByUuid
public static List<AccountEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByUuid
public static List<AccountEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching account entries
-
findByUuid_First
public static AccountEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByUuid_First
public static AccountEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_Last
public static AccountEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByUuid_Last
public static AccountEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_PrevAndNext
public static AccountEntry[] findByUuid_PrevAndNext(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where uuid = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
filterFindByUuid
Returns all the account entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching account entries that the user has permission to view
-
filterFindByUuid
Returns a range of all the account entries that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByUuid
public static List<AccountEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static AccountEntry[] filterFindByUuid_PrevAndNext(long accountEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid
Removes all the account entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of account entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching account entries
-
filterCountByUuid
Returns the number of account entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching account entries that the user has permission to view
-
findByUuid_C
Returns all the account entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching account entries
-
findByUuid_C
Returns a range of all the account entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByUuid_C
public static List<AccountEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByUuid_C
public static List<AccountEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching account entries
-
findByUuid_C_First
public static AccountEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByUuid_C_First
public static AccountEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_C_Last
public static AccountEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByUuid_C_Last
public static AccountEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByUuid_C_PrevAndNext
public static AccountEntry[] findByUuid_C_PrevAndNext(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
filterFindByUuid_C
Returns all the account entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching account entries that the user has permission to view
-
filterFindByUuid_C
public static List<AccountEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the account entries that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByUuid_C
public static List<AccountEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static AccountEntry[] filterFindByUuid_C_PrevAndNext(long accountEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid_C
Removes all the account entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of account entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching account entries
-
filterCountByUuid_C
Returns the number of account entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching account entries that the user has permission to view
-
findByCompanyId
Returns all the account entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching account entries
-
findByCompanyId
Returns a range of all the account entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByCompanyId
public static List<AccountEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByCompanyId
public static List<AccountEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching account entries
-
findByCompanyId_First
public static AccountEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByCompanyId_Last
public static AccountEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByCompanyId_PrevAndNext
public static AccountEntry[] findByCompanyId_PrevAndNext(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
filterFindByCompanyId
Returns all the account entries that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching account entries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the account entries that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByCompanyId
public static List<AccountEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public static AccountEntry[] filterFindByCompanyId_PrevAndNext(long accountEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where companyId = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the account entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of account entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching account entries
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of account entries that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching account entries that the user has permission to view
-
findByC_S
Returns all the account entries where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching account entries
-
findByC_S
Returns a range of all the account entries where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByC_S
public static List<AccountEntry> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByC_S
public static List<AccountEntry> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching account entries
-
findByC_S_First
public static AccountEntry findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByC_S_First
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByC_S_Last
public static AccountEntry findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByC_S_Last
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByC_S_PrevAndNext
public static AccountEntry[] findByC_S_PrevAndNext(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where companyId = ? and status = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
filterFindByC_S
Returns all the account entries that the user has permission to view where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching account entries that the user has permission to view
-
filterFindByC_S
Returns a range of all the account entries that the user has permission to view where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByC_S
public static List<AccountEntry> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByC_S_PrevAndNext
public static AccountEntry[] filterFindByC_S_PrevAndNext(long accountEntryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where companyId = ? and status = ?.- Parameters:
accountEntryId
- the primary key of the current account entrycompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
removeByC_S
public static void removeByC_S(long companyId, int status) Removes all the account entries where companyId = ? and status = ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_S
public static int countByC_S(long companyId, int status) Returns the number of account entries where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching account entries
-
filterCountByC_S
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching account entries that the user has permission to view
-
findByU_T
Returns all the account entries where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the matching account entries
-
findByU_T
Returns a range of all the account entries where userId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries
-
findByU_T
public static List<AccountEntry> findByU_T(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries where userId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries
-
findByU_T
public static List<AccountEntry> findByU_T(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries where userId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching account entries
-
findByU_T_First
public static AccountEntry findByU_T_First(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the first account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByU_T_First
public static AccountEntry fetchByU_T_First(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the first account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching account entry, or
null
if a matching account entry could not be found
-
findByU_T_Last
public static AccountEntry findByU_T_Last(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the last account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByU_T_Last
public static AccountEntry fetchByU_T_Last(long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns the last account entry in the ordered set where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching account entry, or
null
if a matching account entry could not be found
-
findByU_T_PrevAndNext
public static AccountEntry[] findByU_T_PrevAndNext(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set where userId = ? and type = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuserId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
filterFindByU_T
Returns all the account entries that the user has permission to view where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the matching account entries that the user has permission to view
-
filterFindByU_T
Returns a range of all the account entries that the user has permission to view where userId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of matching account entries that the user has permission to view
-
filterFindByU_T
public static List<AccountEntry> filterFindByU_T(long userId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries that the user has permissions to view where userId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
userId
- the user IDtype
- the typestart
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching account entries that the user has permission to view
-
filterFindByU_T_PrevAndNext
public static AccountEntry[] filterFindByU_T_PrevAndNext(long accountEntryId, long userId, String type, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) throws NoSuchEntryException Returns the account entries before and after the current account entry in the ordered set of account entries that the user has permission to view where userId = ? and type = ?.- Parameters:
accountEntryId
- the primary key of the current account entryuserId
- the user IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
removeByU_T
Removes all the account entries where userId = ? and type = ? from the database.- Parameters:
userId
- the user IDtype
- the type
-
countByU_T
Returns the number of account entries where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the number of matching account entries
-
filterCountByU_T
Returns the number of account entries that the user has permission to view where userId = ? and type = ?.- Parameters:
userId
- the user IDtype
- the type- Returns:
- the number of matching account entries that the user has permission to view
-
findByERC_C
public static AccountEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Returns the account entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching account entry
- Throws:
NoSuchEntryException
- if a matching account entry could not be foundNoSuchEntryException
-
fetchByERC_C
Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching account entry, or
null
if a matching account entry could not be found
-
fetchByERC_C
public static AccountEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the account entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching account entry, or
null
if a matching account entry could not be found
-
removeByERC_C
public static AccountEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException Removes the account entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the account entry that was removed
- Throws:
NoSuchEntryException
-
countByERC_C
Returns the number of account entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching account entries
-
cacheResult
Caches the account entry in the entity cache if it is enabled.- Parameters:
accountEntry
- the account entry
-
cacheResult
Caches the account entries in the entity cache if it is enabled.- Parameters:
accountEntries
- the account entries
-
create
Creates a new account entry with the primary key. Does not add the account entry to the database.- Parameters:
accountEntryId
- the primary key for the new account entry- Returns:
- the new account entry
-
remove
Removes the account entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry that was removed
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
updateImpl
-
findByPrimaryKey
Returns the account entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry
- Throws:
NoSuchEntryException
- if a account entry with the primary key could not be foundNoSuchEntryException
-
fetchByPrimaryKey
Returns the account entry with the primary key or returnsnull
if it could not be found.- Parameters:
accountEntryId
- the primary key of the account entry- Returns:
- the account entry, or
null
if a account entry with the primary key could not be found
-
findAll
Returns all the account entries.- Returns:
- the account entries
-
findAll
Returns a range of all the account entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)- Returns:
- the range of account entries
-
findAll
public static List<AccountEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator) Returns an ordered range of all the account entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of account entries
-
findAll
public static List<AccountEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the account entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAccountEntryModelImpl
.- Parameters:
start
- the lower bound of the range of account entriesend
- the upper bound of the range of account entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of account entries
-
removeAll
public static void removeAll()Removes all the account entries from the database. -
countAll
public static int countAll()Returns the number of account entries.- Returns:
- the number of account entries
-
getPersistence
-
setPersistence
-