com.endeca.infront.cartridge
Class MediaBanner
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
com.endeca.infront.assembler.BasicContentItem
com.endeca.infront.cartridge.MediaBanner
- All Implemented Interfaces:
- ContentItem, Serializable, Cloneable, Map<String,Object>
public class MediaBanner
- extends BasicContentItem
MediaBanner
output model.
MediaBanner model represents a media object and destination link
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
MediaBanner
public MediaBanner(ContentItem pContentItem)
- Creates the
MediaBanner
output model, using the
type and data present in the input ContentItem
.
getLink
public Action getLink()
- Returns the
Action
object used to construct the link
which fires when the media is clicked. May be null.
setLink
public void setLink(Action link)
- Sets the
Action
object used to construct the link
which fires when the media is clicked.
getMedia
public MediaObject getMedia()
- Returns the media object to be displayed.
setMedia
public void setMedia(MediaObject media)
- Sets the media object to be displayed.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.