Class Link
- java.lang.Object
-
- org.ametys.web.frontoffice.search.instance.model.Link
-
public class Link extends Object
A link in aSearchServiceInstance
-
-
Field Summary
Fields Modifier and Type Field Description private AmetysObjectResolver
_resolver
private String
_targetPageId
private String
_title
-
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
-
-
-
Field Detail
-
_targetPageId
private String _targetPageId
-
_resolver
private AmetysObjectResolver _resolver
-
-
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
-
-