@ProviderType public class AnonymousUserUserSegmentLocalServiceWrapper extends java.lang.Object implements AnonymousUserUserSegmentLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AnonymousUserUserSegmentLocalService>
AnonymousUserUserSegmentLocalService
.AnonymousUserUserSegmentLocalService
Constructor and Description |
---|
AnonymousUserUserSegmentLocalServiceWrapper(AnonymousUserUserSegmentLocalService anonymousUserUserSegmentLocalService) |
Modifier and Type | Method and Description |
---|---|
AnonymousUserUserSegment |
addAnonymousUserUserSegment(AnonymousUserUserSegment anonymousUserUserSegment)
Adds the anonymous user user segment to the database.
|
AnonymousUserUserSegment |
addAnonymousUserUserSegment(long anonymousUserId,
long userSegmentId,
boolean manual,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkAnonymousUserUserSegments() |
AnonymousUserUserSegment |
createAnonymousUserUserSegment(long anonymousUserUserSegmentId)
Creates a new anonymous user user segment with the primary key.
|
AnonymousUserUserSegment |
deleteAnonymousUserUserSegment(AnonymousUserUserSegment anonymousUserUserSegment)
Deletes the anonymous user user segment from the database.
|
AnonymousUserUserSegment |
deleteAnonymousUserUserSegment(long anonymousUserUserSegmentId)
Deletes the anonymous user user segment with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
AnonymousUserUserSegment |
fetchAnonymousUserUserSegment(long anonymousUserUserSegmentId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<AnonymousUser> |
getAnonymousUsersByUserSegmentId(long userSegmentId,
boolean active) |
int |
getAnonymousUsersByUserSegmentIdCount(long userSegmentId,
boolean active) |
java.util.List<AnonymousUser> |
getAnonymousUsersByUserSegmentIds(long[] userSegmentIds,
boolean active) |
int |
getAnonymousUsersByUserSegmentIdsCount(long[] userSegmentIds,
boolean active) |
AnonymousUserUserSegment |
getAnonymousUserUserSegment(long anonymousUserUserSegmentId)
Returns the anonymous user user segment with the primary key.
|
java.util.List<AnonymousUserUserSegment> |
getAnonymousUserUserSegments(int start,
int end)
Returns a range of all the anonymous user user segments.
|
java.util.List<AnonymousUserUserSegment> |
getAnonymousUserUserSegments(long anonymousUserId,
long userSegmentId) |
int |
getAnonymousUserUserSegmentsCount()
Returns the number of anonymous user user segments.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.Date |
getMaxAge() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<UserSegment> |
getUserSegmentsByAnonymousUserId(long anonymousUserId,
boolean active) |
int |
getUserSegmentsByAnonymousUserIdCount(long anonymousUserId,
boolean active) |
java.util.List<UserSegment> |
getUserSegmentsByUserId(long userId,
boolean active) |
int |
getUserSegmentsByUserIdCount(long userId,
boolean active) |
AnonymousUserUserSegmentLocalService |
getWrappedService() |
void |
setWrappedService(AnonymousUserUserSegmentLocalService anonymousUserUserSegmentLocalService) |
AnonymousUserUserSegment |
updateAnonymousUserUserSegment(AnonymousUserUserSegment anonymousUserUserSegment)
Updates the anonymous user user segment in the database or adds it if it does not yet exist.
|
AnonymousUserUserSegment |
updateAnonymousUserUserSegment(long anonymousUserUserSegmentId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateAnonymousUserUserSegments(long companyId,
java.util.Date modifiedDate) |
public AnonymousUserUserSegmentLocalServiceWrapper(AnonymousUserUserSegmentLocalService anonymousUserUserSegmentLocalService)
public AnonymousUserUserSegment addAnonymousUserUserSegment(AnonymousUserUserSegment anonymousUserUserSegment)
addAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
anonymousUserUserSegment
- the anonymous user user segmentpublic AnonymousUserUserSegment addAnonymousUserUserSegment(long anonymousUserId, long userSegmentId, boolean manual, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public AnonymousUserUserSegment createAnonymousUserUserSegment(long anonymousUserUserSegmentId)
createAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
anonymousUserUserSegmentId
- the primary key for the new anonymous user user segmentpublic AnonymousUserUserSegment deleteAnonymousUserUserSegment(AnonymousUserUserSegment anonymousUserUserSegment)
deleteAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
anonymousUserUserSegment
- the anonymous user user segmentpublic AnonymousUserUserSegment deleteAnonymousUserUserSegment(long anonymousUserUserSegmentId) throws com.liferay.portal.kernel.exception.PortalException
deleteAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
anonymousUserUserSegmentId
- the primary key of the anonymous user user segmentPortalException
- if a anonymous user user segment with the primary key could not be foundpublic AnonymousUserUserSegment fetchAnonymousUserUserSegment(long anonymousUserUserSegmentId)
fetchAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
public AnonymousUserUserSegment getAnonymousUserUserSegment(long anonymousUserUserSegmentId) throws com.liferay.portal.kernel.exception.PortalException
getAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
anonymousUserUserSegmentId
- the primary key of the anonymous user user segmentPortalException
- if a anonymous user user segment with the primary key could not be foundpublic AnonymousUserUserSegment updateAnonymousUserUserSegment(AnonymousUserUserSegment anonymousUserUserSegment)
updateAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
anonymousUserUserSegment
- the anonymous user user segmentpublic AnonymousUserUserSegment updateAnonymousUserUserSegment(long anonymousUserUserSegmentId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateAnonymousUserUserSegment
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface AnonymousUserUserSegmentLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface AnonymousUserUserSegmentLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface AnonymousUserUserSegmentLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface AnonymousUserUserSegmentLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface AnonymousUserUserSegmentLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public int getAnonymousUserUserSegmentsCount()
getAnonymousUserUserSegmentsCount
in interface AnonymousUserUserSegmentLocalService
public int getAnonymousUsersByUserSegmentIdCount(long userSegmentId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getAnonymousUsersByUserSegmentIdCount
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public int getAnonymousUsersByUserSegmentIdsCount(long[] userSegmentIds, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getAnonymousUsersByUserSegmentIdsCount
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public int getUserSegmentsByAnonymousUserIdCount(long anonymousUserId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentsByAnonymousUserIdCount
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public int getUserSegmentsByUserIdCount(long userId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentsByUserIdCount
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AnonymousUserUserSegmentLocalService
public java.util.Date getMaxAge() throws com.liferay.portal.kernel.exception.PortalException
getMaxAge
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface AnonymousUserUserSegmentLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, 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 com.liferay.content.targeting.model.impl.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.
dynamicQuery
in interface AnonymousUserUserSegmentLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> 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 com.liferay.content.targeting.model.impl.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.
dynamicQuery
in interface AnonymousUserUserSegmentLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public java.util.List<AnonymousUserUserSegment> getAnonymousUserUserSegments(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 com.liferay.content.targeting.model.impl.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.
getAnonymousUserUserSegments
in interface AnonymousUserUserSegmentLocalService
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 java.util.List<AnonymousUserUserSegment> getAnonymousUserUserSegments(long anonymousUserId, long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
getAnonymousUserUserSegments
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<AnonymousUser> getAnonymousUsersByUserSegmentId(long userSegmentId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getAnonymousUsersByUserSegmentId
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<AnonymousUser> getAnonymousUsersByUserSegmentIds(long[] userSegmentIds, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getAnonymousUsersByUserSegmentIds
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<UserSegment> getUserSegmentsByAnonymousUserId(long anonymousUserId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentsByAnonymousUserId
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<UserSegment> getUserSegmentsByUserId(long userId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentsByUserId
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface AnonymousUserUserSegmentLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface AnonymousUserUserSegmentLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic void checkAnonymousUserUserSegments() throws com.liferay.portal.kernel.exception.PortalException
checkAnonymousUserUserSegments
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public void updateAnonymousUserUserSegments(long companyId, java.util.Date modifiedDate) throws com.liferay.portal.kernel.exception.PortalException
updateAnonymousUserUserSegments
in interface AnonymousUserUserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public AnonymousUserUserSegmentLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AnonymousUserUserSegmentLocalService>
public void setWrappedService(AnonymousUserUserSegmentLocalService anonymousUserUserSegmentLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AnonymousUserUserSegmentLocalService>