@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 boolean hasCampaignUserSegment(long campaignId, long userSegmentId)
hasCampaignUserSegment
in interface UserSegmentLocalService
public boolean hasCampaignUserSegments(long campaignId)
hasCampaignUserSegments
in interface UserSegmentLocalService
public boolean hasTacticUserSegment(long tacticId, long userSegmentId)
hasTacticUserSegment
in interface UserSegmentLocalService
public boolean hasTacticUserSegments(long tacticId)
hasTacticUserSegments
in interface UserSegmentLocalService
public UserSegment addUserSegment(UserSegment userSegment)
addUserSegment
in interface UserSegmentLocalService
userSegment
- the user segmentpublic 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 UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public UserSegment createUserSegment(long userSegmentId)
createUserSegment
in interface UserSegmentLocalService
userSegmentId
- the primary key for the new user segmentpublic UserSegment deleteUserSegment(UserSegment userSegment) throws com.liferay.portal.kernel.exception.PortalException
deleteUserSegment
in interface UserSegmentLocalService
userSegment
- the user segmentPortalException
public UserSegment deleteUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
deleteUserSegment
in interface UserSegmentLocalService
userSegmentId
- the primary key of the user segmentPortalException
- if a user segment with the primary key could not be foundpublic UserSegment fetchUserSegment(long userSegmentId)
fetchUserSegment
in interface UserSegmentLocalService
public UserSegment fetchUserSegmentByAssetCategoryId(long assetCategoryId) throws com.liferay.portal.kernel.exception.PortalException
fetchUserSegmentByAssetCategoryId
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public UserSegment fetchUserSegmentByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchUserSegmentByUuidAndGroupId
in interface UserSegmentLocalService
uuid
- the user segment's UUIDgroupId
- the primary key of the groupnull
if a matching user segment could not be foundpublic UserSegment getUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
getUserSegment
in interface UserSegmentLocalService
userSegmentId
- 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 UserSegmentLocalService
uuid
- the user segment's UUIDgroupId
- the primary key of the groupPortalException
- if a matching user segment could not be foundpublic UserSegment updateUserSegment(UserSegment userSegment)
updateUserSegment
in interface UserSegmentLocalService
userSegment
- the user segmentpublic 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 UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public BaseModelSearchResult<UserSegment> searchUserSegments(long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
searchUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface UserSegmentLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface UserSegmentLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface UserSegmentLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface UserSegmentLocalService
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 UserSegmentLocalService
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 UserSegmentLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public int getCampaignUserSegmentsCount(long campaignId)
getCampaignUserSegmentsCount
in interface UserSegmentLocalService
public int getTacticUserSegmentsCount(long tacticId)
getTacticUserSegmentsCount
in interface UserSegmentLocalService
public int getUserSegmentsCount()
getUserSegmentsCount
in interface UserSegmentLocalService
public int getUserSegmentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentsCount
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public int getUserSegmentsCount(long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
getUserSegmentsCount
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface UserSegmentLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface UserSegmentLocalService
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.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 UserSegmentLocalService
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.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 UserSegmentLocalService
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<UserSegment> getCampaignUserSegments(long campaignId)
getCampaignUserSegments
in interface UserSegmentLocalService
public java.util.List<UserSegment> getCampaignUserSegments(long campaignId, int start, int end)
getCampaignUserSegments
in interface UserSegmentLocalService
public java.util.List<UserSegment> getCampaignUserSegments(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
getCampaignUserSegments
in interface UserSegmentLocalService
public java.util.List<UserSegment> getTacticUserSegments(long tacticId)
getTacticUserSegments
in interface UserSegmentLocalService
public java.util.List<UserSegment> getTacticUserSegments(long tacticId, int start, int end)
getTacticUserSegments
in interface UserSegmentLocalService
public java.util.List<UserSegment> getTacticUserSegments(long tacticId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<UserSegment> orderByComparator)
getTacticUserSegments
in interface UserSegmentLocalService
public 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 UserSegmentLocalService
start
- 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) throws com.liferay.portal.kernel.exception.PortalException
getUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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
getUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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
getUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<UserSegment> getUserSegments(long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException
getUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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
getUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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
getUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<UserSegment> getUserSegmentsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getUserSegmentsByUuidAndCompanyId
in interface UserSegmentLocalService
uuid
- 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 UserSegmentLocalService
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
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface UserSegmentLocalService
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 UserSegmentLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic long[] getCampaignPrimaryKeys(long userSegmentId)
getCampaignPrimaryKeys
in interface UserSegmentLocalService
userSegmentId
- the userSegmentId of the user segmentpublic long[] getTacticPrimaryKeys(long userSegmentId)
getTacticPrimaryKeys
in interface UserSegmentLocalService
userSegmentId
- the userSegmentId of the user segmentpublic void addCampaignUserSegment(long campaignId, UserSegment userSegment)
addCampaignUserSegment
in interface UserSegmentLocalService
public void addCampaignUserSegment(long campaignId, long userSegmentId)
addCampaignUserSegment
in interface UserSegmentLocalService
public void addCampaignUserSegments(long campaignId, java.util.List<UserSegment> userSegments)
addCampaignUserSegments
in interface UserSegmentLocalService
public void addCampaignUserSegments(long campaignId, long[] userSegmentIds)
addCampaignUserSegments
in interface UserSegmentLocalService
public void addTacticUserSegment(long tacticId, UserSegment userSegment)
addTacticUserSegment
in interface UserSegmentLocalService
public void addTacticUserSegment(long tacticId, long userSegmentId)
addTacticUserSegment
in interface UserSegmentLocalService
public void addTacticUserSegments(long tacticId, java.util.List<UserSegment> userSegments)
addTacticUserSegments
in interface UserSegmentLocalService
public void addTacticUserSegments(long tacticId, long[] userSegmentIds)
addTacticUserSegments
in interface UserSegmentLocalService
public void addUserSegmentResources(UserSegment userSegment, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addUserSegmentResources
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public void addUserSegmentResources(UserSegment userSegment, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addUserSegmentResources
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public void clearCampaignUserSegments(long campaignId)
clearCampaignUserSegments
in interface UserSegmentLocalService
public void clearTacticUserSegments(long tacticId)
clearTacticUserSegments
in interface UserSegmentLocalService
public void deleteCampaignUserSegment(long campaignId, UserSegment userSegment)
deleteCampaignUserSegment
in interface UserSegmentLocalService
public void deleteCampaignUserSegment(long campaignId, long userSegmentId)
deleteCampaignUserSegment
in interface UserSegmentLocalService
public void deleteCampaignUserSegments(long campaignId, java.util.List<UserSegment> userSegments)
deleteCampaignUserSegments
in interface UserSegmentLocalService
public void deleteCampaignUserSegments(long campaignId, long[] userSegmentIds)
deleteCampaignUserSegments
in interface UserSegmentLocalService
public void deleteTacticUserSegment(long tacticId, UserSegment userSegment)
deleteTacticUserSegment
in interface UserSegmentLocalService
public void deleteTacticUserSegment(long tacticId, long userSegmentId)
deleteTacticUserSegment
in interface UserSegmentLocalService
public void deleteTacticUserSegments(long tacticId, java.util.List<UserSegment> userSegments)
deleteTacticUserSegments
in interface UserSegmentLocalService
public void deleteTacticUserSegments(long tacticId, long[] userSegmentIds)
deleteTacticUserSegments
in interface UserSegmentLocalService
public void deleteUserSegments(long groupId) throws com.liferay.portal.kernel.exception.PortalException
deleteUserSegments
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public void setCampaignUserSegments(long campaignId, long[] userSegmentIds)
setCampaignUserSegments
in interface UserSegmentLocalService
public void setTacticUserSegments(long tacticId, long[] userSegmentIds)
setTacticUserSegments
in interface UserSegmentLocalService
public void updateUserSegmentResources(UserSegment userSegment, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
updateUserSegmentResources
in interface UserSegmentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>