lumis.service.html
Class HtmlDataProvider

Package class diagram package HtmlDataProvider
java.lang.Object
  extended by lumis.service.html.HtmlDataProvider
All Implemented Interfaces:
IDataProvider

public class HtmlDataProvider
extends Object
implements IDataProvider

Data provider for the Html service.

Since:
4.0.0

Field Summary
static String HTML_SAVED_ON_SERVICE_INSTANCE_LEVEL_PROPERTY
           
static 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
HtmlDataProvider()
           
 
Method Summary
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE_PROPERTY_HTML

public static final String INSTANCE_PROPERTY_HTML
See Also:
Constant Field Values

HTML_SAVED_ON_SERVICE_INSTANCE_LEVEL_PROPERTY

public static final String HTML_SAVED_ON_SERVICE_INSTANCE_LEVEL_PROPERTY
See Also:
Constant Field Values
Constructor Detail

HtmlDataProvider

public HtmlDataProvider()
Method Detail

loadData

public void loadData(SessionConfig sessionConfig,
                     Source source,
                     ITransaction transaction)
              throws PortalException
Specified by:
loadData in interface IDataProvider
Throws:
PortalException

getHtmlData

public static 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


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.