public class SegmentsExperimentLocalServiceWrapper extends java.lang.Object implements SegmentsExperimentLocalService, com.liferay.portal.kernel.service.ServiceWrapper<SegmentsExperimentLocalService>
SegmentsExperimentLocalService.SegmentsExperimentLocalService| Constructor and Description |
|---|
SegmentsExperimentLocalServiceWrapper() |
SegmentsExperimentLocalServiceWrapper(SegmentsExperimentLocalService segmentsExperimentLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SegmentsExperiment |
addSegmentsExperiment(long segmentsExperienceId,
long classNameId,
long classPK,
java.lang.String name,
java.lang.String description,
java.lang.String goal,
java.lang.String goalTarget,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
SegmentsExperiment |
addSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Adds the segments experiment to the database.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
SegmentsExperiment |
createSegmentsExperiment(long segmentsExperimentId)
Creates a new segments experiment with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
SegmentsExperiment |
deleteSegmentsExperiment(long segmentsExperimentId)
Deletes the segments experiment with the primary key from the database.
|
SegmentsExperiment |
deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Deletes the segments experiment from the database.
|
SegmentsExperiment |
deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment,
boolean force) |
void |
deleteSegmentsExperiments(long segmentsExperienceId,
long classNameId,
long classPK) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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.
|
SegmentsExperience |
fetchControlSegmentExperience(SegmentsExperience segmentsExperience) |
SegmentsExperiment |
fetchSegmentsExperiment(long segmentsExperimentId) |
SegmentsExperiment |
fetchSegmentsExperiment(long segmentsExperienceId,
long classNameId,
long classPK,
int[] statuses) |
SegmentsExperiment |
fetchSegmentsExperiment(long groupId,
java.lang.String segmentsExperimentKey) |
SegmentsExperiment |
fetchSegmentsExperimentByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the segments experiment matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment> |
getCTPersistence() |
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.Class<SegmentsExperiment> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<SegmentsExperiment> |
getSegmentsEntrySegmentsExperiments(long segmentsEntryId) |
java.util.List<SegmentsExperiment> |
getSegmentsExperienceSegmentsExperiments(long[] segmentsExperienceIds,
long classNameId,
long classPK,
int[] statuses,
int start,
int end) |
java.util.List<SegmentsExperiment> |
getSegmentsExperienceSegmentsExperiments(long segmentsExperienceId,
long classNameId,
long classPK) |
SegmentsExperiment |
getSegmentsExperiment(long segmentsExperimentId)
Returns the segments experiment with the primary key.
|
SegmentsExperiment |
getSegmentsExperiment(java.lang.String segmentsExperimentKey) |
SegmentsExperiment |
getSegmentsExperimentByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the segments experiment matching the UUID and group.
|
java.util.List<SegmentsExperiment> |
getSegmentsExperiments(int start,
int end)
Returns a range of all the segments experiments.
|
java.util.List<SegmentsExperiment> |
getSegmentsExperiments(long groupId,
long classNameId,
long classPK) |
java.util.List<SegmentsExperiment> |
getSegmentsExperiments(long segmentsExperienceId,
long classNameId,
long classPK,
int[] statuses,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) |
java.util.List<SegmentsExperiment> |
getSegmentsExperimentsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the segments experiments matching the UUID and company.
|
java.util.List<SegmentsExperiment> |
getSegmentsExperimentsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
Returns a range of segments experiments matching the UUID and company.
|
int |
getSegmentsExperimentsCount()
Returns the number of segments experiments.
|
SegmentsExperimentLocalService |
getWrappedService() |
boolean |
hasSegmentsExperiment(long segmentsExperienceId,
long classNameId,
long classPK,
int[] statuses) |
SegmentsExperiment |
runSegmentsExperiment(long segmentsExperimentId,
double confidenceLevel,
java.util.Map<java.lang.Long,java.lang.Double> segmentsExperienceIdSplitMap) |
void |
setWrappedService(SegmentsExperimentLocalService segmentsExperimentLocalService) |
SegmentsExperiment |
updateSegmentsExperiment(long segmentsExperimentId,
java.lang.String name,
java.lang.String description,
java.lang.String goal,
java.lang.String goalTarget) |
SegmentsExperiment |
updateSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Updates the segments experiment in the database or adds it if it does not yet exist.
|
SegmentsExperiment |
updateSegmentsExperimentStatus(long segmentsExperimentId,
int status) |
SegmentsExperiment |
updateSegmentsExperimentStatus(long segmentsExperimentId,
long winnerSegmentsExperienceId,
int status) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment>,R,E> updateUnsafeFunction) |
public SegmentsExperimentLocalServiceWrapper()
public SegmentsExperimentLocalServiceWrapper(SegmentsExperimentLocalService segmentsExperimentLocalService)
public SegmentsExperiment addSegmentsExperiment(long segmentsExperienceId, long classNameId, long classPK, java.lang.String name, java.lang.String description, java.lang.String goal, java.lang.String goalTarget, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addSegmentsExperiment in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SegmentsExperiment addSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Important: Inspect SegmentsExperimentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperiment - the segments experimentpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecreatePersistedModel in interface SegmentsExperimentLocalServicePortalExceptionpublic SegmentsExperiment createSegmentsExperiment(long segmentsExperimentId)
createSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperimentId - the primary key for the new segments experimentpublic 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.PersistedModelLocalServicedeletePersistedModel in interface SegmentsExperimentLocalServicePortalExceptionpublic SegmentsExperiment deleteSegmentsExperiment(long segmentsExperimentId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect SegmentsExperimentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperimentId - the primary key of the segments experimentPortalException - if a segments experiment with the primary key could not be foundpublic SegmentsExperiment deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect SegmentsExperimentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperiment - the segments experimentPortalExceptionpublic SegmentsExperiment deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment, boolean force) throws com.liferay.portal.kernel.exception.PortalException
deleteSegmentsExperiment in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteSegmentsExperiments(long segmentsExperienceId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
deleteSegmentsExperiments in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicedslQuery in interface SegmentsExperimentLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicedslQueryCount in interface SegmentsExperimentLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface SegmentsExperimentLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface SegmentsExperimentLocalServicedynamicQuery - 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsExperimentModelImpl.
dynamicQuery in interface SegmentsExperimentLocalServicedynamicQuery - 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsExperimentModelImpl.
dynamicQuery in interface SegmentsExperimentLocalServicedynamicQuery - 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 SegmentsExperimentLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface SegmentsExperimentLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic SegmentsExperience fetchControlSegmentExperience(SegmentsExperience segmentsExperience)
fetchControlSegmentExperience in interface SegmentsExperimentLocalServicepublic SegmentsExperiment fetchSegmentsExperiment(long segmentsExperimentId)
fetchSegmentsExperiment in interface SegmentsExperimentLocalServicepublic SegmentsExperiment fetchSegmentsExperiment(long segmentsExperienceId, long classNameId, long classPK, int[] statuses)
fetchSegmentsExperiment in interface SegmentsExperimentLocalServicepublic SegmentsExperiment fetchSegmentsExperiment(long groupId, java.lang.String segmentsExperimentKey)
fetchSegmentsExperiment in interface SegmentsExperimentLocalServicepublic SegmentsExperiment fetchSegmentsExperimentByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchSegmentsExperimentByUuidAndGroupId in interface SegmentsExperimentLocalServiceuuid - the segments experiment's UUIDgroupId - the primary key of the groupnull if a matching segments experiment could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SegmentsExperimentLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface SegmentsExperimentLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface SegmentsExperimentLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SegmentsExperimentLocalServicepublic 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.PersistedModelLocalServicegetPersistedModel in interface SegmentsExperimentLocalServicePortalExceptionpublic java.util.List<SegmentsExperiment> getSegmentsEntrySegmentsExperiments(long segmentsEntryId)
getSegmentsEntrySegmentsExperiments in interface SegmentsExperimentLocalServicepublic java.util.List<SegmentsExperiment> getSegmentsExperienceSegmentsExperiments(long segmentsExperienceId, long classNameId, long classPK)
getSegmentsExperienceSegmentsExperiments in interface SegmentsExperimentLocalServicepublic java.util.List<SegmentsExperiment> getSegmentsExperienceSegmentsExperiments(long[] segmentsExperienceIds, long classNameId, long classPK, int[] statuses, int start, int end)
getSegmentsExperienceSegmentsExperiments in interface SegmentsExperimentLocalServicepublic SegmentsExperiment getSegmentsExperiment(long segmentsExperimentId) throws com.liferay.portal.kernel.exception.PortalException
getSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperimentId - the primary key of the segments experimentPortalException - if a segments experiment with the primary key could not be foundpublic SegmentsExperiment getSegmentsExperiment(java.lang.String segmentsExperimentKey) throws NoSuchExperimentException
getSegmentsExperiment in interface SegmentsExperimentLocalServiceNoSuchExperimentExceptionpublic SegmentsExperiment getSegmentsExperimentByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getSegmentsExperimentByUuidAndGroupId in interface SegmentsExperimentLocalServiceuuid - the segments experiment's UUIDgroupId - the primary key of the groupPortalException - if a matching segments experiment could not be foundpublic java.util.List<SegmentsExperiment> getSegmentsExperiments(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.segments.model.impl.SegmentsExperimentModelImpl.
getSegmentsExperiments in interface SegmentsExperimentLocalServicestart - the lower bound of the range of segments experimentsend - the upper bound of the range of segments experiments (not inclusive)public java.util.List<SegmentsExperiment> getSegmentsExperiments(long groupId, long classNameId, long classPK)
getSegmentsExperiments in interface SegmentsExperimentLocalServicepublic java.util.List<SegmentsExperiment> getSegmentsExperiments(long segmentsExperienceId, long classNameId, long classPK, int[] statuses, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
getSegmentsExperiments in interface SegmentsExperimentLocalServicepublic java.util.List<SegmentsExperiment> getSegmentsExperimentsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getSegmentsExperimentsByUuidAndCompanyId in interface SegmentsExperimentLocalServiceuuid - the UUID of the segments experimentscompanyId - the primary key of the companypublic java.util.List<SegmentsExperiment> getSegmentsExperimentsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
getSegmentsExperimentsByUuidAndCompanyId in interface SegmentsExperimentLocalServiceuuid - the UUID of the segments experimentscompanyId - the primary key of the companystart - the lower bound of the range of segments experimentsend - the upper bound of the range of segments experiments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getSegmentsExperimentsCount()
getSegmentsExperimentsCount in interface SegmentsExperimentLocalServicepublic boolean hasSegmentsExperiment(long segmentsExperienceId,
long classNameId,
long classPK,
int[] statuses)
hasSegmentsExperiment in interface SegmentsExperimentLocalServicepublic SegmentsExperiment runSegmentsExperiment(long segmentsExperimentId, double confidenceLevel, java.util.Map<java.lang.Long,java.lang.Double> segmentsExperienceIdSplitMap) throws com.liferay.portal.kernel.exception.PortalException
runSegmentsExperiment in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SegmentsExperiment updateSegmentsExperiment(long segmentsExperimentId, java.lang.String name, java.lang.String description, java.lang.String goal, java.lang.String goalTarget) throws com.liferay.portal.kernel.exception.PortalException
updateSegmentsExperiment in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SegmentsExperiment updateSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Important: Inspect SegmentsExperimentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperiment - the segments experimentpublic SegmentsExperiment updateSegmentsExperimentStatus(long segmentsExperimentId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateSegmentsExperimentStatus in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic SegmentsExperiment updateSegmentsExperimentStatus(long segmentsExperimentId, long winnerSegmentsExperienceId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateSegmentsExperimentStatus in interface SegmentsExperimentLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment> getCTPersistence()
getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperiment>getCTPersistence in interface SegmentsExperimentLocalServicepublic java.lang.Class<SegmentsExperiment> getModelClass()
getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperiment>getModelClass in interface SegmentsExperimentLocalServicepublic <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperiment>updateWithUnsafeFunction in interface SegmentsExperimentLocalServiceE extends java.lang.Throwablepublic SegmentsExperimentLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SegmentsExperimentLocalService>public void setWrappedService(SegmentsExperimentLocalService segmentsExperimentLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<SegmentsExperimentLocalService>