@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface UserSegmentLocalService
extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
UserSegmentLocalServiceUtil
,
com.liferay.content.targeting.service.base.UserSegmentLocalServiceBaseImpl
,
com.liferay.content.targeting.service.impl.UserSegmentLocalServiceImpl
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) |
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) |
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) |
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasCampaignUserSegment(long campaignId, long userSegmentId)
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasCampaignUserSegments(long campaignId)
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasTacticUserSegment(long tacticId, long userSegmentId)
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasTacticUserSegments(long tacticId)
@Indexable(type=REINDEX) UserSegment addUserSegment(UserSegment userSegment)
userSegment
- the user segment@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
UserSegment createUserSegment(long userSegmentId)
userSegmentId
- the primary key for the new user segment@Indexable(type=DELETE) UserSegment deleteUserSegment(UserSegment userSegment) throws com.liferay.portal.kernel.exception.PortalException
userSegment
- the user segmentcom.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) UserSegment deleteUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
userSegmentId
- the primary key of the user segmentcom.liferay.portal.kernel.exception.PortalException
- if a user segment with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) UserSegment fetchUserSegment(long userSegmentId)
@Transactional(propagation=SUPPORTS, readOnly=true) UserSegment fetchUserSegmentByAssetCategoryId(long assetCategoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) UserSegment fetchUserSegmentByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the user segment's UUIDgroupId
- the primary key of the groupnull
if a matching user segment could not be found@Transactional(propagation=SUPPORTS, readOnly=true) UserSegment getUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
userSegmentId
- the primary key of the user segmentcom.liferay.portal.kernel.exception.PortalException
- if a user segment with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) UserSegment getUserSegmentByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the user segment's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching user segment could not be found@Indexable(type=REINDEX) UserSegment updateUserSegment(UserSegment userSegment)
userSegment
- the user segment@Indexable(type=REINDEX) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) BaseModelSearchResult<UserSegment> searchUserSegments(long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.Hits search(long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCampaignUserSegmentsCount(long campaignId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getTacticUserSegmentsCount(long tacticId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getUserSegmentsCount()
@Transactional(propagation=SUPPORTS, readOnly=true) int getUserSegmentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getUserSegmentsCount(long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
<T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query<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
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)<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
- 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
)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getCampaignUserSegments(long campaignId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getCampaignUserSegments(long campaignId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getCampaignUserSegments(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getTacticUserSegments(long tacticId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getTacticUserSegments(long tacticId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getTacticUserSegments(long tacticId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) 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.
start
- the lower bound of the range of user segmentsend
- the upper bound of the range of user segments (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegments(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegments(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegments(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegments(long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegments(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegments(long[] groupIds, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegmentsByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the user segmentscompanyId
- the primary key of the company@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<UserSegment> getUserSegmentsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
uuid
- 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
)long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querylong dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) long[] getCampaignPrimaryKeys(long userSegmentId)
userSegmentId
- the userSegmentId of the user segment@Transactional(propagation=SUPPORTS, readOnly=true) long[] getTacticPrimaryKeys(long userSegmentId)
userSegmentId
- the userSegmentId of the user segmentvoid addCampaignUserSegment(long campaignId, UserSegment userSegment)
void addCampaignUserSegment(long campaignId, long userSegmentId)
void addCampaignUserSegments(long campaignId, java.util.List<UserSegment> userSegments)
void addCampaignUserSegments(long campaignId, long[] userSegmentIds)
void addTacticUserSegment(long tacticId, UserSegment userSegment)
void addTacticUserSegment(long tacticId, long userSegmentId)
void addTacticUserSegments(long tacticId, java.util.List<UserSegment> userSegments)
void addTacticUserSegments(long tacticId, long[] userSegmentIds)
void addUserSegmentResources(UserSegment userSegment, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void addUserSegmentResources(UserSegment userSegment, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void clearCampaignUserSegments(long campaignId)
void clearTacticUserSegments(long tacticId)
void deleteCampaignUserSegment(long campaignId, UserSegment userSegment)
void deleteCampaignUserSegment(long campaignId, long userSegmentId)
void deleteCampaignUserSegments(long campaignId, java.util.List<UserSegment> userSegments)
void deleteCampaignUserSegments(long campaignId, long[] userSegmentIds)
void deleteTacticUserSegment(long tacticId, UserSegment userSegment)
void deleteTacticUserSegment(long tacticId, long userSegmentId)
void deleteTacticUserSegments(long tacticId, java.util.List<UserSegment> userSegments)
void deleteTacticUserSegments(long tacticId, long[] userSegmentIds)
void deleteUserSegments(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void setCampaignUserSegments(long campaignId, long[] userSegmentIds)
void setTacticUserSegments(long tacticId, long[] userSegmentIds)
void updateUserSegmentResources(UserSegment userSegment, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException