Package org.javlo.component.core
Interface ILink
-
- All Known Implementing Classes:
AbstractFileComponent
,ArrayFileComponent
,CSVArrayComponent
,DynamicComponent
,EmbedVideo
,ExternalLink
,FieldExternalLink
,FreeImage
,FreeImageWithVisibleLabel
,GenericFile
,GlobalImage
,GlobalImageSession
,Image
,ImageBackground
,ImageTitle
,InternalLink
,InvisibleImage
,OnlineVideo
,ReactionComponent
,SimpleVideo
,SmartLink
,Sound
,StaticMapComponent
,UnsubsribeLink
,VFSFile
,Video
public interface ILink
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Date
getLatestValidDate()
String
getURL(ContentContext ctx)
generate a URL or URI link with all elements to click on.boolean
isLinkValid(ContentContext ctx)
return true if the link on the component is enabledvoid
setLatestValidDate(Date date)
-
-
-
Method Detail
-
isLinkValid
boolean isLinkValid(ContentContext ctx) throws Exception
return true if the link on the component is enabled- Parameters:
ctx
-- Returns:
- Throws:
Exception
-
getURL
String getURL(ContentContext ctx) throws Exception
generate a URL or URI link with all elements to click on.- Parameters:
ctx
-- Returns:
- Throws:
Exception
-
setLatestValidDate
void setLatestValidDate(Date date)
-
getLatestValidDate
Date getLatestValidDate()
-
-