Package lumis.service.html
Class HtmlDataProvider
- java.lang.Object
-
- lumis.service.html.HtmlDataProvider
-
- All Implemented Interfaces:
IDataProvider
public class HtmlDataProvider extends java.lang.Object implements IDataProvider
Data provider for the Html service.- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HTML_SAVED_ON_SERVICE_INSTANCE_LEVEL_PROPERTY
static java.lang.String
INSTANCE_PROPERTY_HTML
-
Fields inherited from interface lumis.doui.source.IDataProvider
INTERFACE_INSTANCE_PROPERTY_FIELDS, INTERFACE_INSTANCE_PROPERTY_FILTERS, INTERFACE_INSTANCE_PROPERTY_MAX_ROWS, INTERFACE_INSTANCE_PROPERTY_ORDER_BY, MAX_NUM_ORDER_BY_FIELDS
-
-
Constructor Summary
Constructors Constructor Description HtmlDataProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getHtmlData(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig interfaceInstanceConfig, ITransaction transaction)
Returns the html data for a Html interface instance.void
loadData(SessionConfig sessionConfig, Source source, ITransaction transaction)
-
-
-
Field Detail
-
INSTANCE_PROPERTY_HTML
public static final java.lang.String INSTANCE_PROPERTY_HTML
- See Also:
- Constant Field Values
-
HTML_SAVED_ON_SERVICE_INSTANCE_LEVEL_PROPERTY
public static final java.lang.String HTML_SAVED_ON_SERVICE_INSTANCE_LEVEL_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadData
public void loadData(SessionConfig sessionConfig, Source source, ITransaction transaction) throws PortalException
- Specified by:
loadData
in interfaceIDataProvider
- Throws:
PortalException
-
getHtmlData
public static java.lang.String getHtmlData(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig interfaceInstanceConfig, ITransaction transaction) throws PortalException
Returns the html data for a Html interface instance.- Parameters:
sessionConfig
- user session information.interfaceInstanceConfig
- the html interface instance.transaction
- the transaction for persistence access.- Returns:
- the html data. May be an empty string, but is never null.
- Throws:
PortalException
- Since:
- 4.0.5
-
-