public class RecordZone extends Zone<RecordZone>
Zone represents an area on the page that merchandisers have control over. They can set the content
of a zone from the command center as part of a rule instantiation. When a rule is triggered the zones are filled
in with the pertinent content.
Zones contain the following properties:
- `id`: an MD5 of the zone name
- `name`: the zone name
- `type`: `Records`: A list of zero or more records.
| Constructor and Description |
|---|
RecordZone() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getQuery()
The query that was fired for this zone. |
java.util.List<Record> |
getRecords()
A maximum of ten records will be returned for each record zone. |
Zone.Type |
getType()
Zones support the following content types:
Content, Record, Banner, Rich_Content
|
RecordZone |
setQuery(java.lang.String query) |
RecordZone |
setRecords(java.util.List<Record> records) |
public Zone.Type getType()
Zone
Zones support the following content types:
Content, Record, Banner, Rich_Content
getType in class Zone<RecordZone>public java.lang.String getQuery()
The query that was fired for this zone.
public RecordZone setQuery(java.lang.String query)
query - Set the querypublic java.util.List<Record> getRecords()
A maximum of ten records will be returned for each record zone.
public RecordZone setRecords(java.util.List<Record> records)
records - Set the recordsCopyright © 2013–2016 GroupBy Inc.. All rights reserved.