Package org.javlo.component.core
Interface IReverseLinkComponent
-
- All Known Implementing Classes:
ArrayFileComponent
,ExternalLink
,GenericFile
,InternalLink
,SimpleInternalLink
,SimpleVideo
,SmartExternalLink
,Sound
,UnsubsribeLink
,VFSFile
public interface IReverseLinkComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLinkText(ContentContext ctx)
this text must be replace with a link.String
getLinkURL(ContentContext ctx)
return the link code (in HTML) with the link text in.MenuElement
getPage()
get the page of the component.boolean
isOnlyFirstOccurrence()
only modify the first occurrence on the pageboolean
isOnlyPreviousComponent()
change only the component juste before link componentboolean
isOnlyThisPage()
only if reverse link change text only on the same page than the component.boolean
isReverseLink()
return true if the component must be use as reverselink.
-
-
-
Method Detail
-
getPage
MenuElement getPage()
get the page of the component. (same method define in IVisualContentComponent.- Returns:
-
getLinkText
String getLinkText(ContentContext ctx)
this text must be replace with a link.- Returns:
-
getLinkURL
String getLinkURL(ContentContext ctx)
return the link code (in HTML) with the link text in.- Returns:
-
isReverseLink
boolean isReverseLink()
return true if the component must be use as reverselink.- Returns:
-
isOnlyFirstOccurrence
boolean isOnlyFirstOccurrence()
only modify the first occurrence on the page
-
isOnlyThisPage
boolean isOnlyThisPage()
only if reverse link change text only on the same page than the component.- Returns:
-
isOnlyPreviousComponent
boolean isOnlyPreviousComponent()
change only the component juste before link component- Returns:
-
-