Class Link
- java.lang.Object
-
- org.ametys.web.frontoffice.search.instance.model.Link
-
public class Link extends Object
A link in aSearchServiceInstance
-
-
Constructor Summary
Constructors Constructor Description Link(String targetPage, String title, AmetysObjectResolver resolver)
Creates a Link ofSearchServiceInstance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Page>
getTarget()
Gets the target page of the linkString
getTitle()
Gets the title of the link
-
-
-
Constructor Detail
-
Link
public Link(String targetPage, String title, AmetysObjectResolver resolver)
Creates a Link ofSearchServiceInstance
- Parameters:
targetPage
- the target page of the link. Can be nulltitle
- the title of the linkresolver
- The ametys object resolver
-
-