public class SegmentsExperimentLocalServiceWrapper extends java.lang.Object implements SegmentsExperimentLocalService, ServiceWrapper<SegmentsExperimentLocalService>
SegmentsExperimentLocalService.SegmentsExperimentLocalService| Constructor and Description |
|---|
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,
ServiceContext serviceContext) |
SegmentsExperiment |
addSegmentsExperiment(SegmentsExperiment segmentsExperiment)
Adds the segments experiment to the database.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
SegmentsExperiment |
createSegmentsExperiment(long segmentsExperimentId)
Creates a new segments experiment with the primary key.
|
PersistedModel |
deletePersistedModel(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(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
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.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
CTPersistence<SegmentsExperiment> |
getCTPersistence() |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.Class<SegmentsExperiment> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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,
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,
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(UnsafeFunction<CTPersistence<SegmentsExperiment>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic 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, ServiceContext serviceContext) throws PortalException
addSegmentsExperiment in interface SegmentsExperimentLocalServicePortalExceptionpublic 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 PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface SegmentsExperimentLocalServicePortalExceptionpublic SegmentsExperiment createSegmentsExperiment(long segmentsExperimentId)
createSegmentsExperiment in interface SegmentsExperimentLocalServicesegmentsExperimentId - the primary key for the new segments experimentpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SegmentsExperimentLocalServicePortalExceptionpublic SegmentsExperiment deleteSegmentsExperiment(long segmentsExperimentId) throws 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 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 PortalException
deleteSegmentsExperiment in interface SegmentsExperimentLocalServicePortalExceptionpublic void deleteSegmentsExperiments(long segmentsExperienceId,
long classNameId,
long classPK)
throws PortalException
deleteSegmentsExperiments in interface SegmentsExperimentLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface SegmentsExperimentLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface SegmentsExperimentLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SegmentsExperimentLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(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(DynamicQuery dynamicQuery, int start, int end, 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface SegmentsExperimentLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface SegmentsExperimentLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic 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 ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SegmentsExperimentLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface SegmentsExperimentLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface SegmentsExperimentLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SegmentsExperimentLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface 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 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 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, 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, 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 PortalException
runSegmentsExperiment in interface SegmentsExperimentLocalServicePortalExceptionpublic SegmentsExperiment updateSegmentsExperiment(long segmentsExperimentId, java.lang.String name, java.lang.String description, java.lang.String goal, java.lang.String goalTarget) throws PortalException
updateSegmentsExperiment in interface SegmentsExperimentLocalServicePortalExceptionpublic 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 PortalException
updateSegmentsExperimentStatus in interface SegmentsExperimentLocalServicePortalExceptionpublic SegmentsExperiment updateSegmentsExperimentStatus(long segmentsExperimentId, long winnerSegmentsExperienceId, int status) throws PortalException
updateSegmentsExperimentStatus in interface SegmentsExperimentLocalServicePortalExceptionpublic CTPersistence<SegmentsExperiment> getCTPersistence()
getCTPersistence in interface CTService<SegmentsExperiment>getCTPersistence in interface SegmentsExperimentLocalServicepublic java.lang.Class<SegmentsExperiment> getModelClass()
getModelClass in interface CTService<SegmentsExperiment>getModelClass in interface SegmentsExperimentLocalServicepublic <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(UnsafeFunction<CTPersistence<SegmentsExperiment>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CTService<SegmentsExperiment>updateWithUnsafeFunction in interface SegmentsExperimentLocalServiceE extends java.lang.Throwablepublic SegmentsExperimentLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SegmentsExperimentLocalService>public void setWrappedService(SegmentsExperimentLocalService segmentsExperimentLocalService)
setWrappedService in interface ServiceWrapper<SegmentsExperimentLocalService>