com.ibm.designer.domino.scripting.api
Interface IScriptData.PublishedObject

All Known Implementing Classes:
AbstractScriptData.DataSourceObject, AbstractScriptData.DesignerObject, AbstractScriptData.JavaScriptObject, DesignerPublishedObject, XmlPublishedObject
Enclosing interface:
IScriptData

public static interface IScriptData.PublishedObject

A PublishedObject is loosely coupled to data and can adapt to different contexts. Each XPage tag that can contribute data to the JSF model should contribute a PublishedObjectProvider via the com.ibm.designer.domino.scripting.publishedProvider extension point. The PublishedObject is added to a PublishedObject map by the PublishedObjectProvider. The data tooling (e.g. the data palette and data panels) then extracts relevant information from the PublishedObject in order to create a relevant data binding via the data tooling.

Since:
8.5.3
See Also:
PublishedObjectProvider

Method Summary
 java.lang.String getName()
           
 java.lang.Object getProperty(java.lang.String propertyName)
          Used to retrieve information about the data source.
 boolean isAdvanced()
          Indicates to the tooling that this is an advanced data source
 

Method Detail

getName

java.lang.String getName()
Returns:
returns a string that represents the name of the Data source that is represented by this PublishedObject. In most cases this name will correspond with the var attribute of the data source.

getProperty

java.lang.Object getProperty(java.lang.String propertyName)
Used to retrieve information about the data source. The PublishedObject implementation will typically implement this as a map lookup. See DesignerPublishedObject for a list of properties that are normally published about the data source. Clients should not implement this interface directly but should instead use the default Domino Designer implementation of the interface. DesignerPublishedObject

Parameters:
propertyName - a string that is used as a key to look up a map of objects.
Returns:
java.lang.Object
See Also:
DesignerPublishedObject

isAdvanced

boolean isAdvanced()
Indicates to the tooling that this is an advanced data source

Returns:
boolean