@ProviderType public class TacticLocalServiceWrapper extends java.lang.Object implements TacticLocalService, com.liferay.portal.kernel.service.ServiceWrapper<TacticLocalService>
TacticLocalService.TacticLocalService| Constructor and Description |
|---|
TacticLocalServiceWrapper(TacticLocalService tacticLocalService) |
| Modifier and Type | Method and Description |
|---|---|
Tactic |
addTactic(long userId,
long campaignId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long[] userSegmentsIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
Tactic |
addTactic(Tactic tactic)
Adds the tactic to the database.
|
void |
addUserSegmentTactic(long userSegmentId,
long tacticId) |
void |
addUserSegmentTactic(long userSegmentId,
Tactic tactic) |
void |
addUserSegmentTactics(long userSegmentId,
java.util.List<Tactic> tactics) |
void |
addUserSegmentTactics(long userSegmentId,
long[] tacticIds) |
void |
clearUserSegmentTactics(long userSegmentId) |
Tactic |
createTactic(long tacticId)
Creates a new tactic with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
Tactic |
deleteTactic(long tacticId)
Deletes the tactic with the primary key from the database.
|
Tactic |
deleteTactic(Tactic tactic)
Deletes the tactic from the database.
|
void |
deleteUserSegmentTactic(long userSegmentId,
long tacticId) |
void |
deleteUserSegmentTactic(long userSegmentId,
Tactic tactic) |
void |
deleteUserSegmentTactics(long userSegmentId,
java.util.List<Tactic> tactics) |
void |
deleteUserSegmentTactics(long userSegmentId,
long[] tacticIds) |
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.
|
Tactic |
fetchTactic(long tacticId) |
Tactic |
fetchTacticByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the tactic matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
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) |
Tactic |
getTactic(long tacticId)
Returns the tactic with the primary key.
|
Tactic |
getTacticByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the tactic matching the UUID and group.
|
java.util.List<Tactic> |
getTactics(int start,
int end)
Returns a range of all the tactics.
|
java.util.List<Tactic> |
getTactics(long campaignId) |
java.util.List<Tactic> |
getTactics(long campaignId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<Tactic> |
getTacticsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the tactics matching the UUID and company.
|
java.util.List<Tactic> |
getTacticsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
Returns a range of tactics matching the UUID and company.
|
int |
getTacticsCount()
Returns the number of tactics.
|
int |
getTacticsCount(long campaignId) |
long[] |
getUserSegmentPrimaryKeys(long tacticId)
Returns the userSegmentIds of the user segments associated with the tactic.
|
java.util.List<Tactic> |
getUserSegmentTactics(long userSegmentId) |
java.util.List<Tactic> |
getUserSegmentTactics(long userSegmentId,
int start,
int end) |
java.util.List<Tactic> |
getUserSegmentTactics(long userSegmentId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator) |
int |
getUserSegmentTacticsCount(long userSegmentId) |
TacticLocalService |
getWrappedService() |
boolean |
hasUserSegmentTactic(long userSegmentId,
long tacticId) |
boolean |
hasUserSegmentTactics(long userSegmentId) |
BaseModelSearchResult<Tactic> |
searchTactics(long campaignId,
long groupId,
java.lang.String keywords,
int start,
int end) |
BaseModelSearchResult<Tactic> |
searchTactics(long campaignId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
BaseModelSearchResult<Tactic> |
searchTactics(long groupId,
java.lang.String keywords,
int start,
int end) |
BaseModelSearchResult<Tactic> |
searchTactics(long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
setUserSegmentTactics(long userSegmentId,
long[] tacticIds) |
void |
setWrappedService(TacticLocalService tacticLocalService) |
Tactic |
updateTactic(long tacticId,
long campaignId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long[] userSegmentsIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
Tactic |
updateTactic(Tactic tactic)
Updates the tactic in the database or adds it if it does not yet exist.
|
public TacticLocalServiceWrapper(TacticLocalService tacticLocalService)
public Tactic addTactic(long userId, long campaignId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long[] userSegmentsIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addTactic in interface TacticLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic Tactic addTactic(Tactic tactic)
addTactic in interface TacticLocalServicetactic - the tacticpublic void addUserSegmentTactic(long userSegmentId,
long tacticId)
addUserSegmentTactic in interface TacticLocalServicepublic void addUserSegmentTactic(long userSegmentId,
Tactic tactic)
addUserSegmentTactic in interface TacticLocalServicepublic void addUserSegmentTactics(long userSegmentId,
java.util.List<Tactic> tactics)
addUserSegmentTactics in interface TacticLocalServicepublic void addUserSegmentTactics(long userSegmentId,
long[] tacticIds)
addUserSegmentTactics in interface TacticLocalServicepublic void clearUserSegmentTactics(long userSegmentId)
clearUserSegmentTactics in interface TacticLocalServicepublic Tactic createTactic(long tacticId)
createTactic in interface TacticLocalServicetacticId - the primary key for the new tacticpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface TacticLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic Tactic deleteTactic(long tacticId) throws com.liferay.portal.kernel.exception.PortalException
deleteTactic in interface TacticLocalServicetacticId - the primary key of the tacticPortalException - if a tactic with the primary key could not be foundpublic Tactic deleteTactic(Tactic tactic) throws com.liferay.portal.kernel.exception.PortalException
deleteTactic in interface TacticLocalServicetactic - the tacticPortalExceptionpublic void deleteUserSegmentTactic(long userSegmentId,
long tacticId)
deleteUserSegmentTactic in interface TacticLocalServicepublic void deleteUserSegmentTactic(long userSegmentId,
Tactic tactic)
deleteUserSegmentTactic in interface TacticLocalServicepublic void deleteUserSegmentTactics(long userSegmentId,
java.util.List<Tactic> tactics)
deleteUserSegmentTactics in interface TacticLocalServicepublic void deleteUserSegmentTactics(long userSegmentId,
long[] tacticIds)
deleteUserSegmentTactics in interface TacticLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface TacticLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface TacticLocalServicedynamicQuery - 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.TacticModelImpl. 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 TacticLocalServicedynamicQuery - 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.TacticModelImpl. 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 TacticLocalServicedynamicQuery - 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 TacticLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface TacticLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic Tactic fetchTactic(long tacticId)
fetchTactic in interface TacticLocalServicepublic Tactic fetchTacticByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchTacticByUuidAndGroupId in interface TacticLocalServiceuuid - the tactic's UUIDgroupId - the primary key of the groupnull if a matching tactic could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface TacticLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface TacticLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface TacticLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface TacticLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface TacticLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic Tactic getTactic(long tacticId) throws com.liferay.portal.kernel.exception.PortalException
getTactic in interface TacticLocalServicetacticId - the primary key of the tacticPortalException - if a tactic with the primary key could not be foundpublic Tactic getTacticByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getTacticByUuidAndGroupId in interface TacticLocalServiceuuid - the tactic's UUIDgroupId - the primary key of the groupPortalException - if a matching tactic could not be foundpublic java.util.List<Tactic> getTactics(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.TacticModelImpl. 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.
getTactics in interface TacticLocalServicestart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)public java.util.List<Tactic> getTactics(long campaignId)
getTactics in interface TacticLocalServicepublic java.util.List<Tactic> getTactics(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getTactics in interface TacticLocalServicepublic java.util.List<Tactic> getTacticsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getTacticsByUuidAndCompanyId in interface TacticLocalServiceuuid - the UUID of the tacticscompanyId - the primary key of the companypublic java.util.List<Tactic> getTacticsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
getTacticsByUuidAndCompanyId in interface TacticLocalServiceuuid - the UUID of the tacticscompanyId - the primary key of the companystart - the lower bound of the range of tacticsend - the upper bound of the range of tactics (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getTacticsCount()
getTacticsCount in interface TacticLocalServicepublic int getTacticsCount(long campaignId)
getTacticsCount in interface TacticLocalServicepublic long[] getUserSegmentPrimaryKeys(long tacticId)
getUserSegmentPrimaryKeys in interface TacticLocalServicetacticId - the tacticId of the tacticpublic java.util.List<Tactic> getUserSegmentTactics(long userSegmentId)
getUserSegmentTactics in interface TacticLocalServicepublic java.util.List<Tactic> getUserSegmentTactics(long userSegmentId, int start, int end)
getUserSegmentTactics in interface TacticLocalServicepublic java.util.List<Tactic> getUserSegmentTactics(long userSegmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Tactic> orderByComparator)
getUserSegmentTactics in interface TacticLocalServicepublic int getUserSegmentTacticsCount(long userSegmentId)
getUserSegmentTacticsCount in interface TacticLocalServicepublic boolean hasUserSegmentTactic(long userSegmentId,
long tacticId)
hasUserSegmentTactic in interface TacticLocalServicepublic boolean hasUserSegmentTactics(long userSegmentId)
hasUserSegmentTactics in interface TacticLocalServicepublic BaseModelSearchResult<Tactic> searchTactics(long campaignId, long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
searchTactics in interface TacticLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic BaseModelSearchResult<Tactic> searchTactics(long campaignId, long groupId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchTactics in interface TacticLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic BaseModelSearchResult<Tactic> searchTactics(long groupId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
searchTactics in interface TacticLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic BaseModelSearchResult<Tactic> searchTactics(long groupId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchTactics in interface TacticLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void setUserSegmentTactics(long userSegmentId,
long[] tacticIds)
setUserSegmentTactics in interface TacticLocalServicepublic Tactic updateTactic(long tacticId, long campaignId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long[] userSegmentsIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateTactic in interface TacticLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic Tactic updateTactic(Tactic tactic)
updateTactic in interface TacticLocalServicetactic - the tacticpublic TacticLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<TacticLocalService>public void setWrappedService(TacticLocalService tacticLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<TacticLocalService>