dundas.data.TokenService Class

 

Inheritance Hierarchy

 
Class
   dundas.Component
      dundas.Service
         dundas.data.TokenService
 

Constructors

 
  Name Description
init Initializes the TokenService. Called during construction. Inherited from dundas.Component.
 
 

Properties

 
  Name Description
eventsManager Inherited from dundas.Service.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.Component.
site Gets or sets the site that this component is a part of. Inherited from dundas.Component.
uniqueId Gets or sets the unique ID of this component within the site. Inherited from dundas.Component.
 
 

Methods

 
  Name Description
bind Subscribe a handler for an event. Inherited from dundas.Service.
checkIfTokenExists Checks to see if the token exists. it relies on the done or fail status to verify existence.
createAttributeTokens Create the attribute token associated with the Custom Attribute
createDelegate Helper for creating delegate functions. Inherited from dundas.Component.
createTimeout Creates a timeout. Inherited from dundas.Component.
createToken Creates the token
deleteTokenById Delete the token based on the ID passed through
dispatch Dispatches a call by creating a delegate and running it right away on a timer. Inherited from dundas.Component.
dispose Inherited from dundas.Component.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getAssociatedTokenDataType Get the attribute token data type for the custom attribute
getParameterTokens Gets the parameter tokens for the specified information.
getReferencedEntities Gets the file system entities that reference a token.
getService Gets the requested service. Inherited from dundas.Component.
getTokenById Gets the token by ID.
getTokenLocalizations Gets the associated localizations for the specified token ID.
getVisibleTokens Gets the list of visible tokens for the caller, filtered by project ID.
onLoaded Called when the service is loaded. Inherited from dundas.Service.
promoteToGlobal Promotes an existing project or account token to a global token.
queryNumberOfTokens Gets the number of tokens corresponding to query criteria.
queryTokens Queries tokens in Dundas BI.
resolveToken Resolves the given token to the string representation.
setTokenLocalizations Sets the associated localizations for the specified token ID.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.Service.
subscribeOnce Subscribe a one time handler for an event. Inherited from dundas.Service.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Triggers an event. Inherited from dundas.Service.
unbind Unsubscribe an event. Inherited from dundas.Service.
updateAssociatedTokenDataType Set the data type for the Custom Attributes Associated Token
updateToken Updates the token