dundas.view.DataAction Class

 

Inheritance Hierarchy

 
Class
   dundas.view.Action
      dundas.view.DataAction
         dundas.view.DrillDownAction
         dundas.view.ExpandCollapseAction
         dundas.view.FilterAction
         dundas.view.NavigateAction
         dundas.view.PopupAction
 

Constructors

 
  Name Description
init Initializes the DataAction. Called during construction.
 
 

Properties

 
  Name Description
actionTarget Gets or sets how the target opens when navigated to.
actionType Gets the type of the action. This value is used by the server to identify the brush type. This value cannot be set in JavaScript. Instead, the derived class type should be used. Inherited from dundas.view.Action.
boundVisual Gets or sets the bound visual for this action. This is used by the adapter to identify what item this data action should fire for. For example, 'Series1'. This might not be set (if the metric set binding alone is enough to identify).
friendlyName Gets or sets the friendly name of this action which is what is shown to the end user. Inherited from dundas.view.Action.
id Gets or sets the ID of this action. Inherited from dundas.view.Action.
metricSetBindingId Gets or sets ID of the metric set binding that this action is associated with.
name Gets or sets the name of this action for script, which may change, but must be unique within the other actions on the adapter property. Inherited from dundas.view.Action.
navigateType Gets or sets type of the navigation.
parameterMappings Gets or sets the parameter mappings.
placeholderAsUrl Gets or sets a value indicating that the placeholder should be treated as a full URL instead of just a query string portion of the URL. This means that encoding will not be applied, which allows values like "http:somesite.com/" to be used as a value, or "http:[placeholder]" where placeholder is a valid URL.
targetObjectId Gets or sets the ID of the object which this action acts on (if applicable).
targetObjectType Gets or sets the type of the target object (if applicable).
targetUrl Gets or sets the URL that this action will navigate to (if applicable).
useFilterValueCaption Gets or sets a value indicating that the resolve to URL should use the caption instead of the unique name for the filter value. This only applies to URL navigation.
useTargetInitialViewOptions Gets or sets a value indicating whether the target view's initial view options should be used. By default, full-screen is always used when a navigation or other action occurs which targets a view.
 
 

Methods

 
  Name Description
checkNameGeneration Since generating names is expensive, it should be done only on-demand. Inherited from dundas.view.Action.

Static
createAndAddGeneratedFilterViewParameter Static method for creating auto-generated view parameter for a filter, and adding it to the given view.

Static
createAndAddGeneratedGrainViewParameter Static method for creating auto-generated view parameter for a grain, and adding it to the given view.
execute Executes the action. Implementers of this method should call this._super() first to get the deferred object to return. Inherited from dundas.view.Action.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getCurrentTargetPage Gets the current target page based on the current targetObjectType.
getTargetView Gets the target view, and returns the appropriate entity.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.