public class Link extends Object
SearchServiceInstance
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
private String |
_targetPageId |
private String |
_title |
Constructor and Description |
---|
Link(String targetPage,
String title,
AmetysObjectResolver resolver)
Creates a Link of
SearchServiceInstance |
Modifier and Type | Method and Description |
---|---|
Optional<Page> |
getTarget()
Gets the target page of the link
|
String |
getTitle()
Gets the title of the link
|
private String _targetPageId
private AmetysObjectResolver _resolver
public Link(String targetPage, String title, AmetysObjectResolver resolver)
SearchServiceInstance
targetPage
- the target page of the link. Can be nulltitle
- the title of the linkresolver
- The ametys object resolver