@ProviderType
public class AnonymousUserUserSegmentUtil
extends java.lang.Object
com.liferay.content.targeting.service.persistence.impl.AnonymousUserUserSegmentPersistenceImpl 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
AnonymousUserUserSegmentPersistence,
com.liferay.content.targeting.service.persistence.impl.AnonymousUserUserSegmentPersistenceImpl| Constructor and Description |
|---|
AnonymousUserUserSegmentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(AnonymousUserUserSegment anonymousUserUserSegment)
Caches the anonymous user user segment in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AnonymousUserUserSegment> anonymousUserUserSegments)
Caches the anonymous user user segments in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AnonymousUserUserSegment anonymousUserUserSegment) |
static int |
countAll()
Returns the number of anonymous user user segments.
|
static int |
countByA_U(long anonymousUserId,
long userSegmentId)
Returns the number of anonymous user user segments where anonymousUserId = ? and userSegmentId = ?.
|
static int |
countByAnonymousUserId(long anonymousUserId,
boolean active)
Returns the number of anonymous user user segments where anonymousUserId = ? and active = ?.
|
static int |
countByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
Returns the number of anonymous user user segments where companyId = ? and modifiedDate < ? and manual = ?.
|
static int |
countByUserSegmentIds(long[] userSegmentIds,
boolean active)
Returns the number of anonymous user user segments where userSegmentId = any ? and active = ?.
|
static int |
countByUserSegmentIds(long userSegmentId,
boolean active)
Returns the number of anonymous user user segments where userSegmentId = ? and active = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AnonymousUserUserSegment |
create(long anonymousUserUserSegmentId)
Creates a new anonymous user user segment with the primary key.
|
static AnonymousUserUserSegment |
fetchByA_U(long anonymousUserId,
long userSegmentId)
Returns the anonymous user user segment where anonymousUserId = ? and userSegmentId = ? or returns
null if it could not be found. |
static AnonymousUserUserSegment |
fetchByA_U(long anonymousUserId,
long userSegmentId,
boolean retrieveFromCache)
Returns the anonymous user user segment where anonymousUserId = ? and userSegmentId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AnonymousUserUserSegment |
fetchByAnonymousUserId_First(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the first anonymous user user segment in the ordered set where anonymousUserId = ? and active = ?.
|
static AnonymousUserUserSegment |
fetchByAnonymousUserId_Last(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the last anonymous user user segment in the ordered set where anonymousUserId = ? and active = ?.
|
static AnonymousUserUserSegment |
fetchByC_LtD_M_First(long companyId,
java.util.Date modifiedDate,
boolean manual,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the first anonymous user user segment in the ordered set where companyId = ? and modifiedDate < ? and manual = ?.
|
static AnonymousUserUserSegment |
fetchByC_LtD_M_Last(long companyId,
java.util.Date modifiedDate,
boolean manual,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the last anonymous user user segment in the ordered set where companyId = ? and modifiedDate < ? and manual = ?.
|
static AnonymousUserUserSegment |
fetchByPrimaryKey(long anonymousUserUserSegmentId)
Returns the anonymous user user segment with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AnonymousUserUserSegment> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static AnonymousUserUserSegment |
fetchByUserSegmentIds_First(long userSegmentId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the first anonymous user user segment in the ordered set where userSegmentId = ? and active = ?.
|
static AnonymousUserUserSegment |
fetchByUserSegmentIds_Last(long userSegmentId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the last anonymous user user segment in the ordered set where userSegmentId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findAll()
Returns all the anonymous user user segments.
|
static java.util.List<AnonymousUserUserSegment> |
findAll(int start,
int end)
Returns a range of all the anonymous user user segments.
|
static java.util.List<AnonymousUserUserSegment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns an ordered range of all the anonymous user user segments.
|
static java.util.List<AnonymousUserUserSegment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous user user segments.
|
static AnonymousUserUserSegment |
findByA_U(long anonymousUserId,
long userSegmentId)
Returns the anonymous user user segment where anonymousUserId = ? and userSegmentId = ? or throws a
NoSuchAnonymousUserUserSegmentException if it could not be found. |
static AnonymousUserUserSegment |
findByAnonymousUserId_First(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the first anonymous user user segment in the ordered set where anonymousUserId = ? and active = ?.
|
static AnonymousUserUserSegment |
findByAnonymousUserId_Last(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the last anonymous user user segment in the ordered set where anonymousUserId = ? and active = ?.
|
static AnonymousUserUserSegment[] |
findByAnonymousUserId_PrevAndNext(long anonymousUserUserSegmentId,
long anonymousUserId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the anonymous user user segments before and after the current anonymous user user segment in the ordered set where anonymousUserId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByAnonymousUserId(long anonymousUserId,
boolean active)
Returns all the anonymous user user segments where anonymousUserId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByAnonymousUserId(long anonymousUserId,
boolean active,
int start,
int end)
Returns a range of all the anonymous user user segments where anonymousUserId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByAnonymousUserId(long anonymousUserId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns an ordered range of all the anonymous user user segments where anonymousUserId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByAnonymousUserId(long anonymousUserId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous user user segments where anonymousUserId = ? and active = ?.
|
static AnonymousUserUserSegment |
findByC_LtD_M_First(long companyId,
java.util.Date modifiedDate,
boolean manual,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the first anonymous user user segment in the ordered set where companyId = ? and modifiedDate < ? and manual = ?.
|
static AnonymousUserUserSegment |
findByC_LtD_M_Last(long companyId,
java.util.Date modifiedDate,
boolean manual,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the last anonymous user user segment in the ordered set where companyId = ? and modifiedDate < ? and manual = ?.
|
static AnonymousUserUserSegment[] |
findByC_LtD_M_PrevAndNext(long anonymousUserUserSegmentId,
long companyId,
java.util.Date modifiedDate,
boolean manual,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the anonymous user user segments before and after the current anonymous user user segment in the ordered set where companyId = ? and modifiedDate < ? and manual = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
Returns all the anonymous user user segments where companyId = ? and modifiedDate < ? and manual = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual,
int start,
int end)
Returns a range of all the anonymous user user segments where companyId = ? and modifiedDate < ? and manual = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns an ordered range of all the anonymous user user segments where companyId = ? and modifiedDate < ? and manual = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous user user segments where companyId = ? and modifiedDate < ? and manual = ?.
|
static AnonymousUserUserSegment |
findByPrimaryKey(long anonymousUserUserSegmentId)
Returns the anonymous user user segment with the primary key or throws a
NoSuchAnonymousUserUserSegmentException if it could not be found. |
static AnonymousUserUserSegment |
findByUserSegmentIds_First(long userSegmentId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the first anonymous user user segment in the ordered set where userSegmentId = ? and active = ?.
|
static AnonymousUserUserSegment |
findByUserSegmentIds_Last(long userSegmentId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the last anonymous user user segment in the ordered set where userSegmentId = ? and active = ?.
|
static AnonymousUserUserSegment[] |
findByUserSegmentIds_PrevAndNext(long anonymousUserUserSegmentId,
long userSegmentId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns the anonymous user user segments before and after the current anonymous user user segment in the ordered set where userSegmentId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long[] userSegmentIds,
boolean active)
Returns all the anonymous user user segments where userSegmentId = any ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long[] userSegmentIds,
boolean active,
int start,
int end)
Returns a range of all the anonymous user user segments where userSegmentId = any ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long[] userSegmentIds,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns an ordered range of all the anonymous user user segments where userSegmentId = any ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long[] userSegmentIds,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous user user segments where userSegmentId = ? and active = ?, optionally using the finder cache.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long userSegmentId,
boolean active)
Returns all the anonymous user user segments where userSegmentId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long userSegmentId,
boolean active,
int start,
int end)
Returns a range of all the anonymous user user segments where userSegmentId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long userSegmentId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
Returns an ordered range of all the anonymous user user segments where userSegmentId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long userSegmentId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the anonymous user user segments where userSegmentId = ? and active = ?.
|
static java.util.List<AnonymousUserUserSegment> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AnonymousUserUserSegment> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AnonymousUserUserSegment> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static AnonymousUserUserSegmentPersistence |
getPersistence() |
static AnonymousUserUserSegment |
remove(long anonymousUserUserSegmentId)
Removes the anonymous user user segment with the primary key from the database.
|
static void |
removeAll()
Removes all the anonymous user user segments from the database.
|
static AnonymousUserUserSegment |
removeByA_U(long anonymousUserId,
long userSegmentId)
Removes the anonymous user user segment where anonymousUserId = ? and userSegmentId = ? from the database.
|
static void |
removeByAnonymousUserId(long anonymousUserId,
boolean active)
Removes all the anonymous user user segments where anonymousUserId = ? and active = ? from the database.
|
static void |
removeByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
Removes all the anonymous user user segments where companyId = ? and modifiedDate < ? and manual = ? from the database.
|
static void |
removeByUserSegmentIds(long userSegmentId,
boolean active)
Removes all the anonymous user user segments where userSegmentId = ? and active = ? from the database.
|
static AnonymousUserUserSegment |
update(AnonymousUserUserSegment anonymousUserUserSegment) |
static AnonymousUserUserSegment |
update(AnonymousUserUserSegment anonymousUserUserSegment,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AnonymousUserUserSegment |
updateImpl(AnonymousUserUserSegment anonymousUserUserSegment) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(AnonymousUserUserSegment anonymousUserUserSegment)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<AnonymousUserUserSegment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<AnonymousUserUserSegment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<AnonymousUserUserSegment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static AnonymousUserUserSegment update(AnonymousUserUserSegment anonymousUserUserSegment)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static AnonymousUserUserSegment update(AnonymousUserUserSegment anonymousUserUserSegment, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static AnonymousUserUserSegment findByA_U(long anonymousUserId, long userSegmentId) throws NoSuchAnonymousUserUserSegmentException
NoSuchAnonymousUserUserSegmentException if it could not be found.anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDNoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByA_U(long anonymousUserId, long userSegmentId)
null if it could not be found. Uses the finder cache.anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDnull if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByA_U(long anonymousUserId, long userSegmentId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment removeByA_U(long anonymousUserId, long userSegmentId) throws NoSuchAnonymousUserUserSegmentException
anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDNoSuchAnonymousUserUserSegmentExceptionpublic static int countByA_U(long anonymousUserId,
long userSegmentId)
anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDpublic static java.util.List<AnonymousUserUserSegment> findByAnonymousUserId(long anonymousUserId, boolean active)
anonymousUserId - the anonymous user IDactive - the activepublic static java.util.List<AnonymousUserUserSegment> findByAnonymousUserId(long anonymousUserId, boolean active, 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 AnonymousUserUserSegmentModelImpl. 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.
anonymousUserId - the anonymous user IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)public static java.util.List<AnonymousUserUserSegment> findByAnonymousUserId(long anonymousUserId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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.
anonymousUserId - the anonymous user IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<AnonymousUserUserSegment> findByAnonymousUserId(long anonymousUserId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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.
anonymousUserId - the anonymous user IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static AnonymousUserUserSegment findByAnonymousUserId_First(long anonymousUserId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
anonymousUserId - the anonymous user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByAnonymousUserId_First(long anonymousUserId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
anonymousUserId - the anonymous user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment findByAnonymousUserId_Last(long anonymousUserId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
anonymousUserId - the anonymous user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByAnonymousUserId_Last(long anonymousUserId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
anonymousUserId - the anonymous user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment[] findByAnonymousUserId_PrevAndNext(long anonymousUserUserSegmentId, long anonymousUserId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
anonymousUserUserSegmentId - the primary key of the current anonymous user user segmentanonymousUserId - the anonymous user IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a anonymous user user segment with the primary key could not be foundpublic static void removeByAnonymousUserId(long anonymousUserId,
boolean active)
anonymousUserId - the anonymous user IDactive - the activepublic static int countByAnonymousUserId(long anonymousUserId,
boolean active)
anonymousUserId - the anonymous user IDactive - the activepublic static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long userSegmentId, boolean active)
userSegmentId - the user segment IDactive - the activepublic static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long userSegmentId, boolean active, 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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentId - the user segment IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)public static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long userSegmentId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentId - the user segment IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long userSegmentId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentId - the user segment IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static AnonymousUserUserSegment findByUserSegmentIds_First(long userSegmentId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
userSegmentId - the user segment IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByUserSegmentIds_First(long userSegmentId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
userSegmentId - the user segment IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment findByUserSegmentIds_Last(long userSegmentId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
userSegmentId - the user segment IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByUserSegmentIds_Last(long userSegmentId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
userSegmentId - the user segment IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment[] findByUserSegmentIds_PrevAndNext(long anonymousUserUserSegmentId, long userSegmentId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
anonymousUserUserSegmentId - the primary key of the current anonymous user user segmentuserSegmentId - the user segment IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a anonymous user user segment with the primary key could not be foundpublic static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long[] userSegmentIds, boolean active)
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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentIds - the user segment IDsactive - the activepublic static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long[] userSegmentIds, boolean active, 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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentIds - the user segment IDsactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)public static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long[] userSegmentIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentIds - the user segment IDsactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long[] userSegmentIds, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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.
userSegmentId - the user segment IDactive - the activestart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static void removeByUserSegmentIds(long userSegmentId,
boolean active)
userSegmentId - the user segment IDactive - the activepublic static int countByUserSegmentIds(long userSegmentId,
boolean active)
userSegmentId - the user segment IDactive - the activepublic static int countByUserSegmentIds(long[] userSegmentIds,
boolean active)
userSegmentIds - the user segment IDsactive - the activepublic static java.util.List<AnonymousUserUserSegment> findByC_LtD_M(long companyId, java.util.Date modifiedDate, boolean manual)
companyId - the company IDmodifiedDate - the modified datemanual - the manualpublic static java.util.List<AnonymousUserUserSegment> findByC_LtD_M(long companyId, java.util.Date modifiedDate, boolean manual, 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 AnonymousUserUserSegmentModelImpl. 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 IDmodifiedDate - the modified datemanual - the manualstart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)public static java.util.List<AnonymousUserUserSegment> findByC_LtD_M(long companyId, java.util.Date modifiedDate, boolean manual, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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 IDmodifiedDate - the modified datemanual - the manualstart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<AnonymousUserUserSegment> findByC_LtD_M(long companyId, java.util.Date modifiedDate, boolean manual, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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 IDmodifiedDate - the modified datemanual - the manualstart - the lower bound of the range of anonymous user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static AnonymousUserUserSegment findByC_LtD_M_First(long companyId, java.util.Date modifiedDate, boolean manual, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
companyId - the company IDmodifiedDate - the modified datemanual - the manualorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByC_LtD_M_First(long companyId, java.util.Date modifiedDate, boolean manual, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
companyId - the company IDmodifiedDate - the modified datemanual - the manualorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment findByC_LtD_M_Last(long companyId, java.util.Date modifiedDate, boolean manual, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
companyId - the company IDmodifiedDate - the modified datemanual - the manualorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment fetchByC_LtD_M_Last(long companyId, java.util.Date modifiedDate, boolean manual, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator)
companyId - the company IDmodifiedDate - the modified datemanual - the manualorderByComparator - the comparator to order the set by (optionally null)null if a matching anonymous user user segment could not be foundpublic static AnonymousUserUserSegment[] findByC_LtD_M_PrevAndNext(long anonymousUserUserSegmentId, long companyId, java.util.Date modifiedDate, boolean manual, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> orderByComparator) throws NoSuchAnonymousUserUserSegmentException
anonymousUserUserSegmentId - the primary key of the current anonymous user user segmentcompanyId - the company IDmodifiedDate - the modified datemanual - the manualorderByComparator - the comparator to order the set by (optionally null)NoSuchAnonymousUserUserSegmentException - if a anonymous user user segment with the primary key could not be foundpublic static void removeByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
companyId - the company IDmodifiedDate - the modified datemanual - the manualpublic static int countByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
companyId - the company IDmodifiedDate - the modified datemanual - the manualpublic static void cacheResult(AnonymousUserUserSegment anonymousUserUserSegment)
anonymousUserUserSegment - the anonymous user user segmentpublic static void cacheResult(java.util.List<AnonymousUserUserSegment> anonymousUserUserSegments)
anonymousUserUserSegments - the anonymous user user segmentspublic static AnonymousUserUserSegment create(long anonymousUserUserSegmentId)
anonymousUserUserSegmentId - the primary key for the new anonymous user user segmentpublic static AnonymousUserUserSegment remove(long anonymousUserUserSegmentId) throws NoSuchAnonymousUserUserSegmentException
anonymousUserUserSegmentId - the primary key of the anonymous user user segmentNoSuchAnonymousUserUserSegmentException - if a anonymous user user segment with the primary key could not be foundpublic static AnonymousUserUserSegment updateImpl(AnonymousUserUserSegment anonymousUserUserSegment)
public static AnonymousUserUserSegment findByPrimaryKey(long anonymousUserUserSegmentId) throws NoSuchAnonymousUserUserSegmentException
NoSuchAnonymousUserUserSegmentException if it could not be found.anonymousUserUserSegmentId - the primary key of the anonymous user user segmentNoSuchAnonymousUserUserSegmentException - if a anonymous user user segment with the primary key could not be foundpublic static AnonymousUserUserSegment fetchByPrimaryKey(long anonymousUserUserSegmentId)
null if it could not be found.anonymousUserUserSegmentId - the primary key of the anonymous user user segmentnull if a anonymous user user segment with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,AnonymousUserUserSegment> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<AnonymousUserUserSegment> findAll()
public static java.util.List<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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 user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)public static java.util.List<AnonymousUserUserSegment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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 user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<AnonymousUserUserSegment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnonymousUserUserSegment> 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 AnonymousUserUserSegmentModelImpl. 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 user user segmentsend - the upper bound of the range of anonymous user user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static AnonymousUserUserSegmentPersistence getPersistence()