com.arsdigita.acs
Interface DataSource
- All Known Subinterfaces:
- MultiDataSource
- All Known Implementing Classes:
- AdSet, SingleSelection
- public interface DataSource
Interface for representing data objects that we will display in
templates. Provides a generic interface for getting properties
from the currently-active item, and seeing what properties are
available.
|
Field Summary |
static java.lang.String |
cvsId
|
|
Method Summary |
boolean |
contains(java.lang.String column)
Returns true if column is a valid column in
this datasource; returns false otherwise. |
java.lang.String |
get(java.lang.String key)
Generic get-property method; returns the value of the column named
by key for the currently active |
java.lang.String[] |
keys()
Returns a list of valid keys in this datasource, for use with get(). |
cvsId
public static final java.lang.String cvsId
contains
public boolean contains(java.lang.String column)
throws DataSourceException
- Returns true if
column is a valid column in
this datasource; returns false otherwise.
get
public java.lang.String get(java.lang.String key)
throws DataSourceException
- Generic get-property method; returns the value of the column named
by
key for the currently active
keys
public java.lang.String[] keys()
throws DataSourceException
- Returns a list of valid keys in this datasource, for use with get().