@ProviderType public interface AnonymousUserPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AnonymousUser>
Caching information and settings can be found in portal.properties
com.liferay.content.targeting.anonymous.users.service.persistence.impl.AnonymousUserPersistenceImpl,
AnonymousUserUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(AnonymousUser anonymousUser)
Caches the anonymous user in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AnonymousUser> anonymousUsers)
Caches the anonymous users in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of anonymous users.
|
int |
countByC_LtD(long companyId,
java.util.Date createDate)
Returns the number of anonymous users where companyId = ? and createDate < ?.
|
int |
countByUserId(long userId)
Returns the number of anonymous users where userId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of anonymous users where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of anonymous users where uuid = ?.
|
AnonymousUser |
create(long anonymousUserId)
Creates a new anonymous user with the primary key.
|
AnonymousUser |
fetchByC_LtD_First(long companyId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where companyId = ? and createDate < ?.
|
AnonymousUser |
fetchByC_LtD_Last(long companyId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where companyId = ? and createDate < ?.
|
AnonymousUser |
fetchByPrimaryKey(long anonymousUserId)
Returns the anonymous user with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,AnonymousUser> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
AnonymousUser |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where userId = ?.
|
AnonymousUser |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where userId = ?.
|
AnonymousUser |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where uuid = ? and companyId = ?.
|
AnonymousUser |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where uuid = ? and companyId = ?.
|
AnonymousUser |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where uuid = ?.
|
AnonymousUser |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where uuid = ?.
|
java.util.List<AnonymousUser> |
findAll()
Returns all the anonymous users.
|
java.util.List<AnonymousUser> |
findAll(int start,
int end)
Returns a range of all the anonymous users.
|
java.util.List<AnonymousUser> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns an ordered range of all the anonymous users.
|
java.util.List<AnonymousUser> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous users.
|
AnonymousUser |
findByC_LtD_First(long companyId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where companyId = ? and createDate < ?.
|
AnonymousUser |
findByC_LtD_Last(long companyId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where companyId = ? and createDate < ?.
|
AnonymousUser[] |
findByC_LtD_PrevAndNext(long anonymousUserId,
long companyId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the anonymous users before and after the current anonymous user in the ordered set where companyId = ? and createDate < ?.
|
java.util.List<AnonymousUser> |
findByC_LtD(long companyId,
java.util.Date createDate)
Returns all the anonymous users where companyId = ? and createDate < ?.
|
java.util.List<AnonymousUser> |
findByC_LtD(long companyId,
java.util.Date createDate,
int start,
int end)
Returns a range of all the anonymous users where companyId = ? and createDate < ?.
|
java.util.List<AnonymousUser> |
findByC_LtD(long companyId,
java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns an ordered range of all the anonymous users where companyId = ? and createDate < ?.
|
java.util.List<AnonymousUser> |
findByC_LtD(long companyId,
java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous users where companyId = ? and createDate < ?.
|
AnonymousUser |
findByPrimaryKey(long anonymousUserId)
Returns the anonymous user with the primary key or throws a
NoSuchAnonymousUserException if it could not be found. |
AnonymousUser |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where userId = ?.
|
AnonymousUser |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where userId = ?.
|
AnonymousUser[] |
findByUserId_PrevAndNext(long anonymousUserId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the anonymous users before and after the current anonymous user in the ordered set where userId = ?.
|
java.util.List<AnonymousUser> |
findByUserId(long userId)
Returns all the anonymous users where userId = ?.
|
java.util.List<AnonymousUser> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the anonymous users where userId = ?.
|
java.util.List<AnonymousUser> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns an ordered range of all the anonymous users where userId = ?.
|
java.util.List<AnonymousUser> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous users where userId = ?.
|
AnonymousUser |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where uuid = ? and companyId = ?.
|
AnonymousUser |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where uuid = ? and companyId = ?.
|
AnonymousUser[] |
findByUuid_C_PrevAndNext(long anonymousUserId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the anonymous users before and after the current anonymous user in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<AnonymousUser> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the anonymous users where uuid = ? and companyId = ?.
|
java.util.List<AnonymousUser> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the anonymous users where uuid = ? and companyId = ?.
|
java.util.List<AnonymousUser> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns an ordered range of all the anonymous users where uuid = ? and companyId = ?.
|
java.util.List<AnonymousUser> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous users where uuid = ? and companyId = ?.
|
AnonymousUser |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the first anonymous user in the ordered set where uuid = ?.
|
AnonymousUser |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the last anonymous user in the ordered set where uuid = ?.
|
AnonymousUser[] |
findByUuid_PrevAndNext(long anonymousUserId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns the anonymous users before and after the current anonymous user in the ordered set where uuid = ?.
|
java.util.List<AnonymousUser> |
findByUuid(java.lang.String uuid)
Returns all the anonymous users where uuid = ?.
|
java.util.List<AnonymousUser> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the anonymous users where uuid = ?.
|
java.util.List<AnonymousUser> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
Returns an ordered range of all the anonymous users where uuid = ?.
|
java.util.List<AnonymousUser> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous users where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
AnonymousUser |
remove(long anonymousUserId)
Removes the anonymous user with the primary key from the database.
|
void |
removeAll()
Removes all the anonymous users from the database.
|
void |
removeByC_LtD(long companyId,
java.util.Date createDate)
Removes all the anonymous users where companyId = ? and createDate < ? from the database.
|
void |
removeByUserId(long userId)
Removes all the anonymous users where userId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the anonymous users where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the anonymous users where uuid = ? from the database.
|
AnonymousUser |
updateImpl(AnonymousUser anonymousUser) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<AnonymousUser> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)java.util.List<AnonymousUser> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AnonymousUser> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheAnonymousUser findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser[] findByUuid_PrevAndNext(long anonymousUserId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
anonymousUserId - the primary key of the current anonymous useruuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a anonymous user with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<AnonymousUser> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)java.util.List<AnonymousUser> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AnonymousUser> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheAnonymousUser findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser[] findByUuid_C_PrevAndNext(long anonymousUserId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
anonymousUserId - the primary key of the current anonymous useruuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a anonymous user with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDint countByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<AnonymousUser> findByUserId(long userId)
userId - the user IDjava.util.List<AnonymousUser> findByUserId(long userId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)java.util.List<AnonymousUser> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AnonymousUser> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDstart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheAnonymousUser findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser[] findByUserId_PrevAndNext(long anonymousUserId, long userId, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
anonymousUserId - the primary key of the current anonymous useruserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a anonymous user with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user IDjava.util.List<AnonymousUser> findByC_LtD(long companyId, java.util.Date createDate)
companyId - the company IDcreateDate - the create datejava.util.List<AnonymousUser> findByC_LtD(long companyId, java.util.Date createDate, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDcreateDate - the create datestart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)java.util.List<AnonymousUser> findByC_LtD(long companyId, java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDcreateDate - the create datestart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AnonymousUser> findByC_LtD(long companyId, java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDcreateDate - the create datestart - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheAnonymousUser findByC_LtD_First(long companyId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
companyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByC_LtD_First(long companyId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
companyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser findByC_LtD_Last(long companyId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
companyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a matching anonymous user could not be foundAnonymousUser fetchByC_LtD_Last(long companyId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator)
companyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user could not be foundAnonymousUser[] findByC_LtD_PrevAndNext(long anonymousUserId, long companyId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator) throws NoSuchAnonymousUserException
anonymousUserId - the primary key of the current anonymous usercompanyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserException - if a anonymous user with the primary key could not be foundvoid removeByC_LtD(long companyId,
java.util.Date createDate)
companyId - the company IDcreateDate - the create dateint countByC_LtD(long companyId,
java.util.Date createDate)
companyId - the company IDcreateDate - the create datevoid cacheResult(AnonymousUser anonymousUser)
anonymousUser - the anonymous uservoid cacheResult(java.util.List<AnonymousUser> anonymousUsers)
anonymousUsers - the anonymous usersAnonymousUser create(long anonymousUserId)
anonymousUserId - the primary key for the new anonymous userAnonymousUser remove(long anonymousUserId) throws NoSuchAnonymousUserException
anonymousUserId - the primary key of the anonymous userNoSuchAnonymousUserException - if a anonymous user with the primary key could not be foundAnonymousUser updateImpl(AnonymousUser anonymousUser)
AnonymousUser findByPrimaryKey(long anonymousUserId) throws NoSuchAnonymousUserException
NoSuchAnonymousUserException if it could not be found.anonymousUserId - the primary key of the anonymous userNoSuchAnonymousUserException - if a anonymous user with the primary key could not be foundAnonymousUser fetchByPrimaryKey(long anonymousUserId)
null if it could not be found.anonymousUserId - the primary key of the anonymous usernull if a anonymous user with the primary key could not be foundjava.util.Map<java.io.Serializable,AnonymousUser> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<AnonymousUser>java.util.List<AnonymousUser> findAll()
java.util.List<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)java.util.List<AnonymousUser> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AnonymousUser> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUser> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AnonymousUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of anonymous usersend - the upper bound of the range of anonymous users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<AnonymousUser>