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 IStaticResource
represent a static resource with meta data.- Author:
- Patrick Vandermaesen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCssClass(ContentContext ctx)
Date
getDate(ContentContext ctx)
String
getDescription(ContentContext ctx)
File
getFile(ContentContext ctx)
String
getLanguage(ContentContext ctx)
String
getLocation(ContentContext ctx)
String
getPreviewURL(ContentContext ctx, String fitler)
List<String>
getTags(ContentContext ctx)
String
getTitle(ContentContext ctx)
String
getURL(ContentContext ctx)
boolean
isLocal(ContentContext ctx)
return true if resource is local to the page, false if resource is global to the site.boolean
isShared(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:
-
-