public class UserSegmentationData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserSegmentationData.CreateQueryResult
Result of create query.
|
static interface |
UserSegmentationData.ISegmentationFilter
Segmentation filter.
|
Modifier and Type | Method and Description |
---|---|
static UserSegmentationData |
create(ServiceInstanceConfig serviceInstance,
org.json.JSONObject jsonData)
Creates a new data, from the given service instance and JSON object.
|
UserSegmentationData.ISegmentationFilter |
getResult()
Returns the created query.
|
static ISearchQueryFilter |
getTimeIntervalFilter(org.json.JSONObject valueJSON,
String bigDataFieldId,
DocumentTypeField key,
DocumentTypeField value,
UserAttribute attr)
Method that creates the time interval filter.
|
org.json.JSONObject |
toJSON()
Returns the JSON object that represents these filters.
|
public static UserSegmentationData create(ServiceInstanceConfig serviceInstance, org.json.JSONObject jsonData) throws PortalException
null
if the created instance is a no-op filter.serviceInstance
- the service instance.jsonData
- the JSON data.null
if the created instance is a no-op filter.PortalException
public UserSegmentationData.ISegmentationFilter getResult()
public org.json.JSONObject toJSON()
public static ISearchQueryFilter getTimeIntervalFilter(org.json.JSONObject valueJSON, String bigDataFieldId, DocumentTypeField key, DocumentTypeField value, UserAttribute attr)
valueJSON
- the value.bigDataFieldId
- the big data field identifier.key
- the key field.value
- the value field.LumisXP 11.2.0.190404 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.