@Deprecated public class Templating extends Object
Constructor and Description |
---|
Templating(Result result)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCurrentResultURL()
Deprecated.
|
int |
getFirstHitNo()
Deprecated.
Returns The first hit presented in the result as an index into the global
list of all hits generated by the user query.
|
int |
getLastHitNo()
Deprecated.
Returns the number of the last result of the current hit page.
|
long |
getNextFirstHitNo()
Deprecated.
Returns the first hit of the next result page, 0 if there aren't any more
hits available
|
long |
getNextLastHitNo()
Deprecated.
Returns the first hit of the next result page, 0 if there aren't any more
hits available
|
String |
getNextResultURL()
Deprecated.
An URL that may be used to obtain the next result page.
|
int |
getPrevFirstHitNo()
Deprecated.
The first hit presented on the previous result page as an index into the
global list of all hits generated by the user query
|
String |
getPreviousResultURL()
Deprecated.
An URL that may be used to obtain the previous result page.
|
int |
getPrevLastHitNo()
Deprecated.
The last hit presented on the previous result page as an index into the
global list of all hits generated by the user query
|
com.yahoo.processing.rendering.Renderer<Result> |
getRenderer()
Deprecated.
since 5.1.21, use
Presentation.getRenderer() |
UserTemplate |
getTemplates()
Deprecated.
Returns the templates which will render the result.
|
void |
setRenderer(com.yahoo.processing.rendering.Renderer<Result> renderer)
Deprecated.
since 5.1.21, use
Presentation.setRenderer(com.yahoo.component.ComponentSpecification) |
void |
setTemplates(UserTemplate templates)
Deprecated.
Sets the template set which should render this result set
|
boolean |
usesDefaultTemplate()
Deprecated.
For internal use only.
|
public Templating(Result result)
public int getFirstHitNo()
public long getNextFirstHitNo()
public long getNextLastHitNo()
public int getLastHitNo()
public int getPrevFirstHitNo()
public int getPrevLastHitNo()
public String getNextResultURL()
public String getPreviousResultURL()
public String getCurrentResultURL()
public UserTemplate getTemplates()
public void setTemplates(UserTemplate templates)
templates
- the templates which should render this result, or null to
use the default xml rendering@Deprecated public com.yahoo.processing.rendering.Renderer<Result> getRenderer()
Presentation.getRenderer()
@Deprecated public void setRenderer(com.yahoo.processing.rendering.Renderer<Result> renderer)
Presentation.setRenderer(com.yahoo.component.ComponentSpecification)
public boolean usesDefaultTemplate()
Copyright © 2018. All rights reserved.