Package com.axemble.vdoc.sdk.impl
Class ProcessGenericViewTransformer
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.base.BaseViewTransformer
com.axemble.vdoc.sdk.impl.base.BaseResourceViewTransformer
com.axemble.vdoc.sdk.impl.ProcessGenericViewTransformer
- All Implemented Interfaces:
- IGenericViewTransformer,- Serializable
public class ProcessGenericViewTransformer
extends com.axemble.vdoc.sdk.impl.base.BaseResourceViewTransformer
implements IGenericViewTransformer
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.axemble.vdoc.sdk.impl.base.BaseViewTransformercom.axemble.vdoc.sdk.impl.base.BaseViewTransformer.ViewDesc
- 
Field SummaryFields inherited from class com.axemble.vdoc.sdk.impl.base.BaseResourceViewTransformerincludeLabelsFields inherited from class com.axemble.vdoc.sdk.impl.base.BaseViewTransformercolumns, context, count, prefix, start, viewIdFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected com.axemble.vdoc.sdk.impl.base.BaseViewTransformer.ViewDescprotected voidbuildXMLBody(Element parent) voidsetIncludeLabels(boolean includeLabels) Allows to include or not the labels.voidsetOffset(int offset) Sets the first element to return.voidsetSecurityApplied(boolean securityApplied) Specifies if the security should be applied.voidsetStart(int start) Sets the start page position.voidviewToXML(IContext context, Element viewDefinition, OutputStream outputStream) Allows to evaluate a view and transforms the result to an XML stream.Methods inherited from class com.axemble.vdoc.sdk.impl.base.BaseResourceViewTransformerbuildDocuments, buildResourceXMLBody, buildResourceXMLHeader, buildTasks, searchDocumentsMethods inherited from class com.axemble.vdoc.sdk.impl.base.BaseViewTransformerbuildXMLHeader, notNull, setCountMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModuleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IGenericViewTransformersetCount
- 
Constructor Details- 
ProcessGenericViewTransformer- Parameters:
- module-
 
 
- 
- 
Method Details- 
setSecurityAppliedpublic void setSecurityApplied(boolean securityApplied) Description copied from interface:IGenericViewTransformerSpecifies if the security should be applied.- Specified by:
- setSecurityAppliedin interface- IGenericViewTransformer
- Parameters:
- securityApplied- true if the security should be applied, false otherwise.
 
- 
viewToXMLpublic void viewToXML(IContext context, Element viewDefinition, OutputStream outputStream) throws IOException Description copied from interface:IGenericViewTransformerAllows to evaluate a view and transforms the result to an XML stream.- Specified by:
- viewToXMLin interface- IGenericViewTransformer
- Parameters:
- context- The execution context.
- viewDefinition- The view definition.
- outputStream- The- OutputStreamobject.
- Throws:
- IOException- Thedefault exception.- invalid reference- java.io.Exception
 
- 
buildViewNameprotected com.axemble.vdoc.sdk.impl.base.BaseViewTransformer.ViewDesc buildViewName()- Specified by:
- buildViewNamein class- com.axemble.vdoc.sdk.impl.base.BaseViewTransformer
 
- 
buildXMLBody- Specified by:
- buildXMLBodyin class- com.axemble.vdoc.sdk.impl.base.BaseViewTransformer
 
- 
setIncludeLabelspublic void setIncludeLabels(boolean includeLabels) Description copied from interface:IGenericViewTransformerAllows to include or not the labels. By default, the value is set to true.- Specified by:
- setIncludeLabelsin interface- IGenericViewTransformer
- Parameters:
- includeLabels- Set to false to avoid labels inclusion.
 
- 
setOffsetpublic void setOffset(int offset) Description copied from interface:IGenericViewTransformerSets the first element to return.- Specified by:
- setOffsetin interface- IGenericViewTransformer
- Parameters:
- offset- The first element to set (0 is the first element).
 
- 
setStartpublic void setStart(int start) Description copied from interface:IGenericViewTransformerSets the start page position.- Specified by:
- setStartin interface- IGenericViewTransformer
- Overrides:
- setStartin class- com.axemble.vdoc.sdk.impl.base.BaseViewTransformer
- Parameters:
- start- The start page to set (1 is the first page).
 
 
-