Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2991162cc7
Fetching contributors…

Cannot retrieve contributors at this time

125 lines (75 sloc) 2.749 kb

library module: http://www.xquerrail-framework.com/domain

Domain Operations and functions for accessing domain configuration ~

Table of Contents

Functions

resolve-datatype#1

resolve-datatype($field
)

Returns the XDM/ML datatype of a XQuerrail datatype.

Params

  • field as - Domain Field such as domain:element|domain:container|domain:attribute ~

get-controllers#1

get-controllers(
   $application-name as xs:string
) as  element(domain:controller)*

Returns a list of controllers defined for a given domain

Params

  • application-name as xs:string - Name of the application to retrieve the controllers ~

Returns

  • element(domain:controller)*

get-controller#2

get-controller(
   $application-name as xs:string,
   $controller-name as xs:string
) as  element(domain:controller)?

Gets the definition of a controller from the domain configuration

Params

  • application-name as xs:string - Name of the application

  • controller-name as xs:string - Name of the controller ~

Returns

  • element(domain:controller)?

get-controller-model#2

get-controller-model(
    $application-name as xs:string, 
    $controller-name as xs:string
) as  element(domain:model)?

Returns the model defined by a given controller

Params

  • application-name as xs:string - Name of the application

  • controller-name as xs:string - Name of the controller

Returns

  • element(domain:model)?: Model assigned by controller ~

get-domain-model#2

get-domain-model(
    $application-name as xs:string,
    $domain-name as xs:string
) as  element()?

Returns a model from an application domain

Params

  • application-name as xs:string - Name of the application

  • domain-name as xs:string

Returns

  • element()?

get-domain-model#1

get-domain-model(
    $model-name as xs:string
) as  element()?

Returns a model from the application domain. Deprecated use full function to get appropriate model

Params

  • model-name as xs:string

Returns

  • element()?

Generated by xquerydoc

Jump to Line
Something went wrong with that request. Please try again.