Package org.javlo.component.core
Interface IStaticResource
-
- All Known Subinterfaces:
IVideo
- All Known Implementing Classes:
EmbedVideo,FreeImage,FreeImageWithVisibleLabel,GlobalImage,GlobalImageSession,Image,ImageBackground,ImageTitle,InvisibleImage,OnlineVideo,Video
public interface IStaticResourcerepresent a static resource with meta data.- Author:
- Patrick Vandermaesen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCssClass(ContentContext ctx)DategetDate(ContentContext ctx)StringgetDescription(ContentContext ctx)FilegetFile(ContentContext ctx)StringgetLanguage(ContentContext ctx)StringgetLocation(ContentContext ctx)StringgetPreviewURL(ContentContext ctx, String fitler)List<String>getTags(ContentContext ctx)StringgetTitle(ContentContext ctx)StringgetURL(ContentContext ctx)booleanisLocal(ContentContext ctx)return true if resource is local to the page, false if resource is global to the site.booleanisShared(ContentContext ctx)
-
-
-
Method Detail
-
getURL
String getURL(ContentContext ctx)
-
getCssClass
String getCssClass(ContentContext ctx)
-
getDate
Date getDate(ContentContext ctx)
-
getDescription
String getDescription(ContentContext ctx)
-
getLocation
String getLocation(ContentContext ctx)
-
getTitle
String getTitle(ContentContext ctx)
-
getPreviewURL
String getPreviewURL(ContentContext ctx, String fitler)
-
getLanguage
String getLanguage(ContentContext ctx)
-
getTags
List<String> getTags(ContentContext ctx)
-
getFile
File getFile(ContentContext ctx)
-
isShared
boolean isShared(ContentContext ctx)
-
isLocal
boolean isLocal(ContentContext ctx)
return true if resource is local to the page, false if resource is global to the site. exemple : imported image is local to the page.- Parameters:
ctx-- Returns:
-
-