public interface IGenericViewTransformer extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
void | 
setCount(int count)
Sets the number of elements to return. 
 | 
void | 
setIncludeLabels(boolean includeLabels)
Allows to include or not the labels. 
 | 
void | 
setOffset(int offset)
Sets the first element to return. 
 | 
void | 
setSecurityApplied(boolean securityApplied)
Specifies if the security should be applied. 
 | 
void | 
setStart(int start)
Sets the start page position. 
 | 
void | 
viewToXML(IContext context,
         Element viewDefinition,
         OutputStream outputStream)
Allows to evaluate a view and transforms the result to an XML stream. 
 | 
void viewToXML(IContext context, Element viewDefinition, OutputStream outputStream) throws IOException
context - The execution context.viewDefinition - The view definition.outputStream - The OutputStream object.IOException - The Exception default exception.void setSecurityApplied(boolean securityApplied)
securityApplied - true if the security should be applied, false otherwise.void setIncludeLabels(boolean includeLabels)
includeLabels - Set to false to avoid labels inclusion.void setStart(int start)
start - The start page to set (1 is the first page).void setCount(int count)
count - void setOffset(int offset)
offset - The first element to set (0 is the first element).Copyright © 2019 Visiativ Software. All rights reserved.