|
||||||||||
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.MediaBannerConfig
public class MediaBannerConfig
MediaBannerConfig
configuration model.
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 | |
---|---|
MediaBannerConfig()
Creates an empty MediaBannerConfig . |
|
MediaBannerConfig(ContentItem pContentItem)
Creates a copy of the specified ContentItem , and returns it as an instance of
MediaBannerConfig . |
|
MediaBannerConfig(String pType)
Creates an empty MediaBannerConfig with the specified type. |
Method Summary | |
---|---|
LinkBuilder |
getLink()
Returns the LinkBuilder object used to construct the link
which fires when the media is clicked (if desired). |
MediaObject |
getMedia()
Returns the media object to be displayed. |
void |
setLink(LinkBuilder link)
Sets the LinkBuilder object used to construct the link
which fires when the media is clicked. |
void |
setMedia(MediaObject media)
Sets the media object to be displayed. |
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 MediaBannerConfig()
MediaBannerConfig
.
public MediaBannerConfig(String pType)
MediaBannerConfig
with the specified type.
pType
- a value that will be used as the typeBasicContentItem.getType()
public MediaBannerConfig(ContentItem pContentItem)
ContentItem
, and returns it as an instance of
MediaBannerConfig
.
Method Detail |
---|
public LinkBuilder getLink()
LinkBuilder
object used to construct the link
which fires when the media is clicked (if desired). May be null.
public void setLink(LinkBuilder link)
LinkBuilder
object used to construct the link
which fires when the media is clicked. May be null.
public MediaObject getMedia()
CartridgeHandlerException
will
be thrown from MediaBannerHandler.preprocess(MediaBannerConfig)
.
public void setMedia(MediaObject media)
CartridgeHandlerException
will
be thrown from MediaBannerHandler.preprocess(MediaBannerConfig)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |