Logo

Docs

  • HOME

Class: CustomerDomainList

CustomerDomainList

new CustomerDomainList()

A List of a customer domains
Properties:
Name Type Description
domains Array Array of domains.
Source:
  • Customer/CustomerDomainList.js, line 28
See:
  • Customer
  • Resource

Methods

generate_xml(options)

Generates a save/update xml to be posted to the server
Parameters:
Name Type Description
options object options to be used during the call
Properties
Name Type Argument Description
domain Domain the domain object with the values to create a new domain
baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
  • Customer/CustomerDomainList.js, line 126

generateUrl()

Overrides Resource's generateUrl method to return the request url
Source:
  • Customer/CustomerDomainList.js, line 47
See:
  • Resource#generateUrl

generateUrl()

Overrides Resource's generateUrl method to return the Post url
Source:
  • Customer/CustomerDomainList.js, line 82
See:
  • Resource#generateUrl

loadPreset()

Overrides Resource's loadPreset method.
Source:
  • Customer/CustomerDomainList.js, line 41
See:
  • Resource#loadPreset

loadSet(rObject)

Overrides Resource's loadSet method to set local variables after request.
Parameters:
Name Type Description
rObject json JSON representation of the loaded data.
Source:
  • Customer/CustomerDomainList.js, line 57
See:
  • Resource#loadSet

save(options)

Creates a new Delegation.
Parameters:
Name Type Description
options object options to be used during the call
Properties
Name Type Argument Description
onSuccess Resource~onSuccess a callback function called in case of a success
onFailure Resource~onFailure <optional>
a callback function called in case of a failure
baseUrl String <optional>
base URL. If not set the current base URL will be used
domain Domain the domain object with the values to create a new domain
Properties
Name Type Argument Description
title String the title of the
allowSDC String <optional>
allows SWC true/false defaults to false
defaultVal String <optional>
is default true/false defaults to false
SDCLogin String <optional>
SDC login user
SDCPassword String <optional>
SDC password
Source:
  • Customer/CustomerDomainList.js, line 115
Example
Create a Domain
		function createDelegation(delegationList){//delegation list object
			var new_domain = new Domain;
			new_domain.title = 'test_domain';
			new_domain.allowSDC = 'true';
			new_domain.defaultVal = 'false';
			new_domain.SDCLogin = 'foo';
			new_domain.SDCPassword = 'bar'
			delegationList.save({
				onSuccess:function(){
					alert("CREATED!");
				},
				domain:new_domain
			})
		}

savePreset()

Overrides Resource's savePreset method.
Source:
  • Customer/CustomerDomainList.js, line 76
See:
  • Resource#savePreset

Index

Classes

  • AccessLog
  • AllLaneUserList
  • AppInstanceReport
  • Context
  • Customer
  • CustomerDomainList
  • CustomerList
  • CustomerSubscriptionList
  • CustomerTrafficList
  • CustomList
  • CustomListList
  • Domain
  • Host
  • HostList
  • HostMode
  • I18n
  • I18nDico
  • Lane
  • LaneList
  • LanePoolList
  • LogLog
  • Metadata
  • Oauth
  • OauthList
  • Pool
  • PoolList
  • Preferences
  • Process
  • ProcessList
  • Project
  • ProjectAppliQuery
  • ProjectChildList
  • ProjectLaneList
  • ProjectList
  • ProjectProcess
  • ProjectProcessList
  • ProjectProcessQuery
  • ProjectVersion
  • ProjectVersionList
  • Report
  • RequestLog
  • Resource
  • SavedQuery
  • Subscription
  • Token
  • Traffic
  • Usage
  • User
  • UserAccessList
  • UserDelegation
  • UserDelegationList
  • UserLaneList
  • UserList
  • UserRepresentationList
  • UserSupportAuth
  • UserSupportAuthList
  • WebInterface
  • WebInterfaceList

Global

  • context

© Akorbi Digital RMP. All Rights Reserved - Legal terms - Contact