@ProviderType public interface AnonymousUserUserSegmentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AnonymousUserUserSegment>
Caching information and settings can be found in portal.properties
com.liferay.content.targeting.service.persistence.impl.AnonymousUserUserSegmentPersistenceImpl,
AnonymousUserUserSegmentUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(AnonymousUserUserSegment anonymousUserUserSegment)
Caches the anonymous user user segment in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AnonymousUserUserSegment> anonymousUserUserSegments)
Caches the anonymous user user segments in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of anonymous user user segments.
|
int |
countByA_U(long anonymousUserId,
long userSegmentId)
Returns the number of anonymous user user segments where anonymousUserId = ? and userSegmentId = ?.
|
int |
countByAnonymousUserId(long anonymousUserId,
boolean active)
Returns the number of anonymous user user segments where anonymousUserId = ? and active = ?.
|
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 = ?.
|
int |
countByUserSegmentIds(long[] userSegmentIds,
boolean active)
Returns the number of anonymous user user segments where userSegmentId = any ? and active = ?.
|
int |
countByUserSegmentIds(long userSegmentId,
boolean active)
Returns the number of anonymous user user segments where userSegmentId = ? and active = ?.
|
AnonymousUserUserSegment |
create(long anonymousUserUserSegmentId)
Creates a new anonymous user user segment with the primary key.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
AnonymousUserUserSegment |
fetchByPrimaryKey(long anonymousUserUserSegmentId)
Returns the anonymous user user segment with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,AnonymousUserUserSegment> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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 = ?.
|
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 = ?.
|
java.util.List<AnonymousUserUserSegment> |
findAll()
Returns all the anonymous user user segments.
|
java.util.List<AnonymousUserUserSegment> |
findAll(int start,
int end)
Returns a range of all the anonymous user user segments.
|
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.
|
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.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<AnonymousUserUserSegment> |
findByAnonymousUserId(long anonymousUserId,
boolean active)
Returns all the anonymous user user segments where anonymousUserId = ? and active = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
AnonymousUserUserSegment |
findByPrimaryKey(long anonymousUserUserSegmentId)
Returns the anonymous user user segment with the primary key or throws a
NoSuchAnonymousUserUserSegmentException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long[] userSegmentIds,
boolean active)
Returns all the anonymous user user segments where userSegmentId = any ? and active = ?.
|
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 = ?.
|
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 = ?.
|
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.
|
java.util.List<AnonymousUserUserSegment> |
findByUserSegmentIds(long userSegmentId,
boolean active)
Returns all the anonymous user user segments where userSegmentId = ? and active = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
AnonymousUserUserSegment |
remove(long anonymousUserUserSegmentId)
Removes the anonymous user user segment with the primary key from the database.
|
void |
removeAll()
Removes all the anonymous user user segments from the database.
|
AnonymousUserUserSegment |
removeByA_U(long anonymousUserId,
long userSegmentId)
Removes the anonymous user user segment where anonymousUserId = ? and userSegmentId = ? from the database.
|
void |
removeByAnonymousUserId(long anonymousUserId,
boolean active)
Removes all the anonymous user user segments where anonymousUserId = ? and active = ? from the database.
|
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.
|
void |
removeByUserSegmentIds(long userSegmentId,
boolean active)
Removes all the anonymous user user segments where userSegmentId = ? and active = ? from the database.
|
AnonymousUserUserSegment |
updateImpl(AnonymousUserUserSegment anonymousUserUserSegment) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updateAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment removeByA_U(long anonymousUserId, long userSegmentId) throws NoSuchAnonymousUserUserSegmentException
anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDNoSuchAnonymousUserUserSegmentExceptionint countByA_U(long anonymousUserId,
long userSegmentId)
anonymousUserId - the anonymous user IDuserSegmentId - the user segment IDjava.util.List<AnonymousUserUserSegment> findByAnonymousUserId(long anonymousUserId, boolean active)
anonymousUserId - the anonymous user IDactive - the activejava.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)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)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 cacheAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment[] 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 foundvoid removeByAnonymousUserId(long anonymousUserId,
boolean active)
anonymousUserId - the anonymous user IDactive - the activeint countByAnonymousUserId(long anonymousUserId,
boolean active)
anonymousUserId - the anonymous user IDactive - the activejava.util.List<AnonymousUserUserSegment> findByUserSegmentIds(long userSegmentId, boolean active)
userSegmentId - the user segment IDactive - the activejava.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)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)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 cacheAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment[] 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 foundjava.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 activejava.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)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)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 cachevoid removeByUserSegmentIds(long userSegmentId,
boolean active)
userSegmentId - the user segment IDactive - the activeint countByUserSegmentIds(long userSegmentId,
boolean active)
userSegmentId - the user segment IDactive - the activeint countByUserSegmentIds(long[] userSegmentIds,
boolean active)
userSegmentIds - the user segment IDsactive - the activejava.util.List<AnonymousUserUserSegment> findByC_LtD_M(long companyId, java.util.Date modifiedDate, boolean manual)
companyId - the company IDmodifiedDate - the modified datemanual - the manualjava.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)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)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 cacheAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment 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 foundAnonymousUserUserSegment[] 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 foundvoid removeByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
companyId - the company IDmodifiedDate - the modified datemanual - the manualint countByC_LtD_M(long companyId,
java.util.Date modifiedDate,
boolean manual)
companyId - the company IDmodifiedDate - the modified datemanual - the manualvoid cacheResult(AnonymousUserUserSegment anonymousUserUserSegment)
anonymousUserUserSegment - the anonymous user user segmentvoid cacheResult(java.util.List<AnonymousUserUserSegment> anonymousUserUserSegments)
anonymousUserUserSegments - the anonymous user user segmentsAnonymousUserUserSegment create(long anonymousUserUserSegmentId)
anonymousUserUserSegmentId - the primary key for the new anonymous user user segmentAnonymousUserUserSegment 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 foundAnonymousUserUserSegment updateImpl(AnonymousUserUserSegment anonymousUserUserSegment)
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 foundAnonymousUserUserSegment 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 foundjava.util.Map<java.io.Serializable,AnonymousUserUserSegment> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<AnonymousUserUserSegment>java.util.List<AnonymousUserUserSegment> findAll()
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)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)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 cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<AnonymousUserUserSegment>