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 plid,
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(long groupId,
long segmentsExperienceId,
long plid) |
SegmentsExperiment |
deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Deletes the segments experiment from the database.
|
SegmentsExperiment |
deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment,
boolean force) |
<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.
|
SegmentsExperiment |
fetchSegmentsExperiment(long segmentsExperimentId) |
SegmentsExperiment |
fetchSegmentsExperiment(long groupId,
long segmentsExperienceId,
long plid) |
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.BasePersistence<?> |
getBasePersistence() |
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) |
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> |
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() |
SegmentsExperiment |
runSegmentsExperiment(long segmentsExperimentId,
double confidenceLevel,
java.util.Map<java.lang.Long,java.lang.Double> segmentsExperienceIdSplitMap,
java.lang.String type) |
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 plid, 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 SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 SegmentsExperimentLocalService
segmentsExperiment
- 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.PersistedModelLocalService
createPersistedModel
in interface SegmentsExperimentLocalService
PortalException
public SegmentsExperiment createSegmentsExperiment(long segmentsExperimentId)
createSegmentsExperiment
in interface SegmentsExperimentLocalService
segmentsExperimentId
- 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.PersistedModelLocalService
deletePersistedModel
in interface SegmentsExperimentLocalService
PortalException
public 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 SegmentsExperimentLocalService
segmentsExperimentId
- the primary key of the segments experimentPortalException
- if a segments experiment with the primary key could not be foundpublic SegmentsExperiment deleteSegmentsExperiment(long groupId, long segmentsExperienceId, long plid) throws com.liferay.portal.kernel.exception.PortalException
deleteSegmentsExperiment
in interface SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 SegmentsExperimentLocalService
segmentsExperiment
- the segments experimentPortalException
public SegmentsExperiment deleteSegmentsExperiment(SegmentsExperiment segmentsExperiment, boolean force) throws com.liferay.portal.kernel.exception.PortalException
deleteSegmentsExperiment
in interface SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQuery
in interface SegmentsExperimentLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQueryCount
in interface SegmentsExperimentLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface SegmentsExperimentLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface SegmentsExperimentLocalService
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 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 SegmentsExperimentLocalService
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 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 SegmentsExperimentLocalService
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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface SegmentsExperimentLocalService
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 SegmentsExperimentLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic SegmentsExperiment fetchSegmentsExperiment(long segmentsExperimentId)
fetchSegmentsExperiment
in interface SegmentsExperimentLocalService
public SegmentsExperiment fetchSegmentsExperiment(long groupId, long segmentsExperienceId, long plid)
fetchSegmentsExperiment
in interface SegmentsExperimentLocalService
public SegmentsExperiment fetchSegmentsExperiment(long groupId, java.lang.String segmentsExperimentKey)
fetchSegmentsExperiment
in interface SegmentsExperimentLocalService
public SegmentsExperiment fetchSegmentsExperimentByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchSegmentsExperimentByUuidAndGroupId
in interface SegmentsExperimentLocalService
uuid
- 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 SegmentsExperimentLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface SegmentsExperimentLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface SegmentsExperimentLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface SegmentsExperimentLocalService
public 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
getPersistedModel
in interface SegmentsExperimentLocalService
PortalException
public java.util.List<SegmentsExperiment> getSegmentsEntrySegmentsExperiments(long segmentsEntryId)
getSegmentsEntrySegmentsExperiments
in interface SegmentsExperimentLocalService
public SegmentsExperiment getSegmentsExperiment(long segmentsExperimentId) throws com.liferay.portal.kernel.exception.PortalException
getSegmentsExperiment
in interface SegmentsExperimentLocalService
segmentsExperimentId
- 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 SegmentsExperimentLocalService
NoSuchExperimentException
public SegmentsExperiment getSegmentsExperimentByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getSegmentsExperimentByUuidAndGroupId
in interface SegmentsExperimentLocalService
uuid
- 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 SegmentsExperimentLocalService
start
- 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> getSegmentsExperimentsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getSegmentsExperimentsByUuidAndCompanyId
in interface SegmentsExperimentLocalService
uuid
- 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 SegmentsExperimentLocalService
uuid
- 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 SegmentsExperimentLocalService
public SegmentsExperiment runSegmentsExperiment(long segmentsExperimentId, double confidenceLevel, java.util.Map<java.lang.Long,java.lang.Double> segmentsExperienceIdSplitMap, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
runSegmentsExperiment
in interface SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 SegmentsExperimentLocalService
segmentsExperiment
- the segments experimentpublic SegmentsExperiment updateSegmentsExperimentStatus(long segmentsExperimentId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateSegmentsExperimentStatus
in interface SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public SegmentsExperiment updateSegmentsExperimentStatus(long segmentsExperimentId, long winnerSegmentsExperienceId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateSegmentsExperimentStatus
in interface SegmentsExperimentLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public 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 SegmentsExperimentLocalService
public java.lang.Class<SegmentsExperiment> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsExperiment>
getModelClass
in interface SegmentsExperimentLocalService
public <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 SegmentsExperimentLocalService
E extends java.lang.Throwable
public 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>