class %DeepSee.Model.listing
extends %DeepSee.Model.node
Meta-data object that represents a listing for a DeepSee cube.
This specifies what is used as the default RETURN clause for DRILLTHROUGH
queries against this cube.
If no listings are defined for a cube, then no listing option is provided.
relationship cube
as %DeepSee.Model.cube(XMLPROJECTION="none") [ Inverse = listings,Cardinality = one ];
Cube that this listing belongs to.
property fieldList
as %String(MAXLEN=5000,XMLPROJECTION="attribute");
Optional. If specified, this is used as the RETURN clause for the DRILLTHROUGH
query used for this listing.
For listings based on a Data Connector, this attribute must be supplied.
property formatList
as %String(MAXLEN=5000,XMLPROJECTION="attribute");
Optional. This is a "^" delimited list of css formatting instructions for the listing.
Each piece of the list is applied to its corresponding column in the listing.
property listingType
as %String(MAXLEN=50,VALUELIST=",table,map",XMLPROJECTION="attribute") [ InitialExpression = "table" ];
Indicates how to display this listing.
"table" (the default) shows the listing as a table.
"map" shows the listing within a map view. For this case, your listing must contain a columns called "Latitude" and "Longitude".
property orderBy
as %String(MAXLEN=1000,XMLPROJECTION="attribute");
Optional. If specified, this is used as the %ORDER BY clause for the DRILLTHROUGH
query used for this listing.
This is only used if the cube's sourceClass is a persistent class.
property resource
as %String(MAXLEN=255,XMLPROJECTION="attribute");
Optional. The resource needed to view this listing:
If defined and the current user holds the USE privilege on this resource, then
the user may view this listing.
property sourceClass
as %DeepSee.Datatype.className(XMLPROJECTION="attribute");
Name of the %DeepSee.DataConnector class that provides the listing data.
If the cube uses a data connector as its sourceClass, then you must specify this value
if you wish to show listings for the cube.
If not specified, then the primary data connector for cube will be used for listings.
property sql
as %String(MAXLEN=20000,XMLPROJECTION="attribute");
Optional. If specified, this is the sql statement used for this listing.
This is only used if the cube's sourceClass is a persistent class.
method %Validate()
as %Status
Test if this listing's definition is valid.