@ProviderType public class UserSegmentLocalServiceWrapper extends java.lang.Object implements UserSegmentLocalService, com.liferay.portal.kernel.service.ServiceWrapper<UserSegmentLocalService>
UserSegmentLocalService.UserSegmentLocalService| Constructor and Description |
|---|
UserSegmentLocalServiceWrapper(UserSegmentLocalService userSegmentLocalService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCampaignUserSegment(long campaignId,
long userSegmentId) |
void |
addCampaignUserSegment(long campaignId,
UserSegment userSegment) |
void |
addCampaignUserSegments(long campaignId,
java.util.List<UserSegment> userSegments) |
void |
addCampaignUserSegments(long campaignId,
long[] userSegmentIds) |
void |
addTacticUserSegment(long tacticId,
long userSegmentId) |
void |
addTacticUserSegment(long tacticId,
UserSegment userSegment) |
void |
addTacticUserSegments(long tacticId,
java.util.List<UserSegment> userSegments) |
void |
addTacticUserSegments(long tacticId,
long[] userSegmentIds) |
UserSegment |
addUserSegment(long userId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
UserSegment |
addUserSegment(UserSegment userSegment)
Adds the user segment to the database.
|
void |
addUserSegmentResources(UserSegment userSegment,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addUserSegmentResources(UserSegment userSegment,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
clearCampaignUserSegments(long campaignId) |
void |
clearTacticUserSegments(long tacticId) |
UserSegment |
createUserSegment(long userSegmentId)
Creates a new user segment with the primary key.
|
void |
deleteCampaignUserSegment(long campaignId,
long userSegmentId) |
void |
deleteCampaignUserSegment(long campaignId,
UserSegment userSegment) |
void |
deleteCampaignUserSegments(long campaignId,
java.util.List<UserSegment> userSegments) |
void |
deleteCampaignUserSegments(long campaignId,
long[] userSegmentIds) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteTacticUserSegment(long tacticId,
long userSegmentId) |
void |
deleteTacticUserSegment(long tacticId,
UserSegment userSegment) |
void |
deleteTacticUserSegments(long tacticId,
java.util.List<UserSegment> userSegments) |
void |
deleteTacticUserSegments(long tacticId,
long[] userSegmentIds) |
UserSegment |
deleteUserSegment(long userSegmentId)
Deletes the user segment with the primary key from the database.
|
UserSegment |
deleteUserSegment(UserSegment userSegment)
Deletes the user segment from the database.
|
void |
deleteUserSegments(long groupId) |
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.
|
UserSegment |
fetchUserSegment(long userSegmentId) |
UserSegment |
fetchUserSegmentByAssetCategoryId(long assetCategoryId) |
UserSegment |
fetchUserSegmentByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the user segment matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
long[] |
getCampaignPrimaryKeys(long userSegmentId)
Returns the campaignIds of the campaigns associated with the user segment.
|
java.util.List<UserSegment> |
getCampaignUserSegments(long campaignId) |
java.util.List<UserSegment> |
getCampaignUserSegments(long campaignId,
int start,
int end) |
java.util.List<UserSegment> |
getCampaignUserSegments(long campaignId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator) |
int |
getCampaignUserSegmentsCount(long campaignId) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
long[] |
getTacticPrimaryKeys(long userSegmentId)
Returns the tacticIds of the tactics associated with the user segment.
|
java.util.List<UserSegment> |
getTacticUserSegments(long tacticId) |
java.util.List<UserSegment> |
getTacticUserSegments(long tacticId,
int start,
int end) |
java.util.List<UserSegment> |
getTacticUserSegments(long tacticId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator) |
int |
getTacticUserSegmentsCount(long tacticId) |
UserSegment |
getUserSegment(long userSegmentId)
Returns the user segment with the primary key.
|
UserSegment |
getUserSegmentByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the user segment matching the UUID and group.
|
java.util.List<UserSegment> |
getUserSegments(int start,
int end)
Returns a range of all the user segments.
|
java.util.List<UserSegment> |
getUserSegments(long groupId) |
java.util.List<UserSegment> |
getUserSegments(long[] groupIds) |
java.util.List<UserSegment> |
getUserSegments(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<UserSegment> |
getUserSegments(long[] groupIds,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<UserSegment> |
getUserSegments(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<UserSegment> |
getUserSegments(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<UserSegment> |
getUserSegmentsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the user segments matching the UUID and company.
|
java.util.List<UserSegment> |
getUserSegmentsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
Returns a range of user segments matching the UUID and company.
|
int |
getUserSegmentsCount()
Returns the number of user segments.
|
int |
getUserSegmentsCount(long groupId) |
int |
getUserSegmentsCount(long[] groupIds) |
UserSegmentLocalService |
getWrappedService() |
boolean |
hasCampaignUserSegment(long campaignId,
long userSegmentId) |
boolean |
hasCampaignUserSegments(long campaignId) |
boolean |
hasTacticUserSegment(long tacticId,
long userSegmentId) |
boolean |
hasTacticUserSegments(long tacticId) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
java.lang.String keywords,
int start,
int end) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
BaseModelSearchResult<UserSegment> |
searchUserSegments(long groupId,
long userId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
BaseModelSearchResult<UserSegment> |
searchUserSegments(long groupId,
java.lang.String keywords,
int start,
int end) |
BaseModelSearchResult<UserSegment> |
searchUserSegments(long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
setCampaignUserSegments(long campaignId,
long[] userSegmentIds) |
void |
setTacticUserSegments(long tacticId,
long[] userSegmentIds) |
void |
setWrappedService(UserSegmentLocalService userSegmentLocalService) |
UserSegment |
updateUserSegment(long userSegmentId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
UserSegment |
updateUserSegment(UserSegment userSegment)
Updates the user segment in the database or adds it if it does not yet exist.
|
void |
updateUserSegmentResources(UserSegment userSegment,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
public UserSegmentLocalServiceWrapper(UserSegmentLocalService userSegmentLocalService)
public void addCampaignUserSegment(long campaignId,
long userSegmentId)
addCampaignUserSegment in interface UserSegmentLocalServicepublic void addCampaignUserSegment(long campaignId,
UserSegment userSegment)
addCampaignUserSegment in interface UserSegmentLocalServicepublic void addCampaignUserSegments(long campaignId,
java.util.List<UserSegment> userSegments)
addCampaignUserSegments in interface UserSegmentLocalServicepublic void addCampaignUserSegments(long campaignId,
long[] userSegmentIds)
addCampaignUserSegments in interface UserSegmentLocalServicepublic void addTacticUserSegment(long tacticId,
long userSegmentId)
addTacticUserSegment in interface UserSegmentLocalServicepublic void addTacticUserSegment(long tacticId,
UserSegment userSegment)
addTacticUserSegment in interface UserSegmentLocalServicepublic void addTacticUserSegments(long tacticId,
java.util.List<UserSegment> userSegments)
addTacticUserSegments in interface UserSegmentLocalServicepublic void addTacticUserSegments(long tacticId,
long[] userSegmentIds)
addTacticUserSegments in interface UserSegmentLocalServicepublic UserSegment addUserSegment(long userId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addUserSegment in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic UserSegment addUserSegment(UserSegment userSegment)
addUserSegment in interface UserSegmentLocalServiceuserSegment - the user segmentpublic void addUserSegmentResources(UserSegment userSegment, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addUserSegmentResources in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void addUserSegmentResources(UserSegment userSegment, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addUserSegmentResources in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void clearCampaignUserSegments(long campaignId)
clearCampaignUserSegments in interface UserSegmentLocalServicepublic void clearTacticUserSegments(long tacticId)
clearTacticUserSegments in interface UserSegmentLocalServicepublic UserSegment createUserSegment(long userSegmentId)
createUserSegment in interface UserSegmentLocalServiceuserSegmentId - the primary key for the new user segmentpublic void deleteCampaignUserSegment(long campaignId,
long userSegmentId)
deleteCampaignUserSegment in interface UserSegmentLocalServicepublic void deleteCampaignUserSegment(long campaignId,
UserSegment userSegment)
deleteCampaignUserSegment in interface UserSegmentLocalServicepublic void deleteCampaignUserSegments(long campaignId,
java.util.List<UserSegment> userSegments)
deleteCampaignUserSegments in interface UserSegmentLocalServicepublic void deleteCampaignUserSegments(long campaignId,
long[] userSegmentIds)
deleteCampaignUserSegments in interface UserSegmentLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface UserSegmentLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteTacticUserSegment(long tacticId,
long userSegmentId)
deleteTacticUserSegment in interface UserSegmentLocalServicepublic void deleteTacticUserSegment(long tacticId,
UserSegment userSegment)
deleteTacticUserSegment in interface UserSegmentLocalServicepublic void deleteTacticUserSegments(long tacticId,
java.util.List<UserSegment> userSegments)
deleteTacticUserSegments in interface UserSegmentLocalServicepublic void deleteTacticUserSegments(long tacticId,
long[] userSegmentIds)
deleteTacticUserSegments in interface UserSegmentLocalServicepublic UserSegment deleteUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
deleteUserSegment in interface UserSegmentLocalServiceuserSegmentId - the primary key of the user segmentPortalException - if a user segment with the primary key could not be foundpublic UserSegment deleteUserSegment(UserSegment userSegment) throws com.liferay.portal.kernel.exception.PortalException
deleteUserSegment in interface UserSegmentLocalServiceuserSegment - the user segmentPortalExceptionpublic void deleteUserSegments(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
deleteUserSegments in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface UserSegmentLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface UserSegmentLocalServicedynamicQuery - 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.UserSegmentModelImpl. 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 UserSegmentLocalServicedynamicQuery - 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.UserSegmentModelImpl. 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 UserSegmentLocalServicedynamicQuery - 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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface UserSegmentLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface UserSegmentLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic UserSegment fetchUserSegment(long userSegmentId)
fetchUserSegment in interface UserSegmentLocalServicepublic UserSegment fetchUserSegmentByAssetCategoryId(long assetCategoryId)
fetchUserSegmentByAssetCategoryId in interface UserSegmentLocalServicepublic UserSegment fetchUserSegmentByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchUserSegmentByUuidAndGroupId in interface UserSegmentLocalServiceuuid - the user segment's UUIDgroupId - the primary key of the groupnull if a matching user segment could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface UserSegmentLocalServicepublic long[] getCampaignPrimaryKeys(long userSegmentId)
getCampaignPrimaryKeys in interface UserSegmentLocalServiceuserSegmentId - the userSegmentId of the user segmentpublic java.util.List<UserSegment> getCampaignUserSegments(long campaignId)
getCampaignUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getCampaignUserSegments(long campaignId, int start, int end)
getCampaignUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getCampaignUserSegments(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
getCampaignUserSegments in interface UserSegmentLocalServicepublic int getCampaignUserSegmentsCount(long campaignId)
getCampaignUserSegmentsCount in interface UserSegmentLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface UserSegmentLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface UserSegmentLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface UserSegmentLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface UserSegmentLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic long[] getTacticPrimaryKeys(long userSegmentId)
getTacticPrimaryKeys in interface UserSegmentLocalServiceuserSegmentId - the userSegmentId of the user segmentpublic java.util.List<UserSegment> getTacticUserSegments(long tacticId)
getTacticUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getTacticUserSegments(long tacticId, int start, int end)
getTacticUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getTacticUserSegments(long tacticId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
getTacticUserSegments in interface UserSegmentLocalServicepublic int getTacticUserSegmentsCount(long tacticId)
getTacticUserSegmentsCount in interface UserSegmentLocalServicepublic UserSegment getUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
getUserSegment in interface UserSegmentLocalServiceuserSegmentId - the primary key of the user segmentPortalException - if a user segment with the primary key could not be foundpublic UserSegment getUserSegmentByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentByUuidAndGroupId in interface UserSegmentLocalServiceuuid - the user segment's UUIDgroupId - the primary key of the groupPortalException - if a matching user segment could not be foundpublic java.util.List<UserSegment> getUserSegments(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.UserSegmentModelImpl. 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.
getUserSegments in interface UserSegmentLocalServicestart - the lower bound of the range of user segmentsend - the upper bound of the range of user segments (not inclusive)public java.util.List<UserSegment> getUserSegments(long groupId)
getUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getUserSegments(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getUserSegments(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getUserSegments(long[] groupIds)
getUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getUserSegments(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getUserSegments(long[] groupIds, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getUserSegments in interface UserSegmentLocalServicepublic java.util.List<UserSegment> getUserSegmentsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getUserSegmentsByUuidAndCompanyId in interface UserSegmentLocalServiceuuid - the UUID of the user segmentscompanyId - the primary key of the companypublic java.util.List<UserSegment> getUserSegmentsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
getUserSegmentsByUuidAndCompanyId in interface UserSegmentLocalServiceuuid - the UUID of the user segmentscompanyId - the primary key of the companystart - the lower bound of the range of user segmentsend - the upper bound of the range of user segments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getUserSegmentsCount()
getUserSegmentsCount in interface UserSegmentLocalServicepublic int getUserSegmentsCount(long groupId)
getUserSegmentsCount in interface UserSegmentLocalServicepublic int getUserSegmentsCount(long[] groupIds)
getUserSegmentsCount in interface UserSegmentLocalServicepublic boolean hasCampaignUserSegment(long campaignId,
long userSegmentId)
hasCampaignUserSegment in interface UserSegmentLocalServicepublic boolean hasCampaignUserSegments(long campaignId)
hasCampaignUserSegments in interface UserSegmentLocalServicepublic boolean hasTacticUserSegment(long tacticId,
long userSegmentId)
hasTacticUserSegment in interface UserSegmentLocalServicepublic boolean hasTacticUserSegments(long tacticId)
hasTacticUserSegments in interface UserSegmentLocalServicepublic com.liferay.portal.kernel.search.Hits search(long groupId,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
search in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.Hits search(long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException
search in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic BaseModelSearchResult<UserSegment> searchUserSegments(long groupId, long userId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchUserSegments in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic BaseModelSearchResult<UserSegment> searchUserSegments(long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
searchUserSegments in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic BaseModelSearchResult<UserSegment> searchUserSegments(long groupId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchUserSegments in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void setCampaignUserSegments(long campaignId,
long[] userSegmentIds)
setCampaignUserSegments in interface UserSegmentLocalServicepublic void setTacticUserSegments(long tacticId,
long[] userSegmentIds)
setTacticUserSegments in interface UserSegmentLocalServicepublic UserSegment updateUserSegment(long userSegmentId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateUserSegment in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic UserSegment updateUserSegment(UserSegment userSegment)
updateUserSegment in interface UserSegmentLocalServiceuserSegment - the user segmentpublic void updateUserSegmentResources(UserSegment userSegment, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
updateUserSegmentResources in interface UserSegmentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic UserSegmentLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<UserSegmentLocalService>public void setWrappedService(UserSegmentLocalService userSegmentLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<UserSegmentLocalService>