|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<String,Object> com.endeca.infront.assembler.BasicContentItem com.endeca.infront.cartridge.ContentSlotConfig
public class ContentSlotConfig
ContentSlotHandler
configuration model.
The ContentSlotConfig is a ContentItem that contains the name of the content collection from which to retrieve Experience Manager XML content, and the maximum number of rules to retrieve for that content collection.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
ContentSlotConfig()
Constructor that sets the type to "ContentSlot". |
|
ContentSlotConfig(ContentItem pContentItem)
Creates a ContentSlotConfig and copies the configuration present
in the input ContentItem . |
|
ContentSlotConfig(String pContentCollection,
int pRuleLimit)
Creates a ContentSlotConfig with type "ContentSlot" and specified
content collection and rule limit. |
|
ContentSlotConfig(String pType,
String pContentCollection,
int pRuleLimit)
Creates a ContentSlotConfig . |
Method Summary | |
---|---|
String |
getContentCollection()
Returns the content collection name. |
int |
getRuleLimit()
Returns the maximum number of rules that can fire for this slot. |
void |
setContentCollection(String contentCollection)
Sets the content collection name. |
void |
setRuleLimit(int ruleLimit)
Sets the maximum number of rules that can fire for this slot. |
Methods inherited from class com.endeca.infront.assembler.BasicContentItem |
---|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType |
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public ContentSlotConfig(String pContentCollection, int pRuleLimit)
ContentSlotConfig
with type "ContentSlot" and specified
content collection and rule limit.
pContentCollection
- the content collectionpRuleLimit
- the maximum number of rules that can fire for this slotpublic ContentSlotConfig(String pType, String pContentCollection, int pRuleLimit)
ContentSlotConfig
.
pType
- the type for this config objectpContentCollection
- the content collectionpRuleLimit
- the maximum number of rules that can fire for this slotpublic ContentSlotConfig(ContentItem pContentItem)
ContentSlotConfig
and copies the configuration present
in the input ContentItem
.
pContentItem
- the contents for this instancepublic ContentSlotConfig()
Method Detail |
---|
public String getContentCollection()
public void setContentCollection(String contentCollection)
public int getRuleLimit()
1
.
public void setRuleLimit(int ruleLimit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |