Package org.javlo.component.multimedia
Class MultimediaResource
- java.lang.Object
-
- org.javlo.component.multimedia.MultimediaResource
-
public class MultimediaResource extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultimediaResource.SortByDate
static class
MultimediaResource.SortByIndex
static class
MultimediaResource.SortByName
-
Constructor Summary
Constructors Constructor Description MultimediaResource()
-
Method Summary
-
-
-
Method Detail
-
addTranslation
public void addTranslation(MultimediaResource resource)
-
getAccessURL
public String getAccessURL()
-
getCssClass
public String getCssClass()
-
getDate
public Date getDate()
-
getDescription
public String getDescription()
-
getFullDate
public String getFullDate()
-
getIndex
public int getIndex()
-
getLanguage
public String getLanguage()
-
getLocation
public String getLocation()
-
getMediumDate
public String getMediumDate()
-
getPath
public String getPath()
-
getPreviewURL
public String getPreviewURL()
-
getRelation
public String getRelation()
-
getShortDate
public String getShortDate()
-
getTitle
public String getTitle()
-
getTranslation
public List<MultimediaResource> getTranslation()
-
getURL
public String getURL()
-
setAccessURL
public void setAccessURL(String accessURL)
-
setCssClass
public void setCssClass(String cssClass)
-
setDate
public void setDate(Date date)
-
setDescription
public void setDescription(String description)
-
setFullDate
public void setFullDate(String fullDate)
-
setIndex
public void setIndex(int index)
-
setLanguage
public void setLanguage(String language)
-
setLocation
public void setLocation(String location)
-
setMediumDate
public void setMediumDate(String mediumDate)
-
setPath
public void setPath(String path)
-
setPreviewURL
public void setPreviewURL(String previewURL)
-
setRelation
public void setRelation(String relation)
-
setShortDate
public void setShortDate(String shortDate)
-
setTitle
public void setTitle(String title)
-
setURL
public void setURL(String uRL)
-
renderDate
public void renderDate(ContentContext ctx)
-
getFullDescription
public String getFullDescription()
-
setFullDescription
public void setFullDescription(String fullDescription)
-
getType
public String getType()
return type : unknow, html, image, video- Returns:
-
getSubType
public String getSubType()
return type : unknow, html, youtube, vimeo, dailymotion, europarltv, mp4, jpg, gif, png, image-unkown- Returns:
-
getCode
public String getCode()
get code of the video (sp. v=code in youtube video).- Returns:
-
isImage
public boolean isImage()
-
isVideo
public boolean isVideo()
-
isHtml
public boolean isHtml()
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getGpsPosition
public String getGpsPosition()
-
setGpsPosition
public void setGpsPosition(String gpsPosition)
-
getCopyright
public String getCopyright()
-
setCopyright
public void setCopyright(String copyright)
-
getAbsoluteURL
public String getAbsoluteURL()
-
setAbsoluteURL
public void setAbsoluteURL(String absoluteURL)
-
getAbsolutePreviewURL
public String getAbsolutePreviewURL()
-
setAbsolutePreviewURL
public void setAbsolutePreviewURL(String absolutePreviewURL)
-
getAccessToken
public String getAccessToken()
-
setAccessToken
public void setAccessToken(String accessToken)
-
isFreeAccess
public boolean isFreeAccess()
-
setFreeAccess
public void setFreeAccess(boolean publik)
-
getStaticInfo
public StaticInfoBean getStaticInfo()
-
setStaticInfo
public void setStaticInfo(StaticInfoBean staticInfo)
-
getAllInfoHtml
public String getAllInfoHtml()
-
getAllInfoText
public String getAllInfoText()
-
getMonthDate
public String getMonthDate()
-
setMonthDate
public void setMonthDate(String monthDate)
-
getSize
public ImageSize getSize()
-
getParentTitle
public String getParentTitle()
-
setParentTitle
public void setParentTitle(String parentTitle)
-
-