Logo

Docs

  • HOME

Class: CustomerList

CustomerList

new CustomerList()

A List of the login user's customers
Properties:
Name Type Description
customers Array Array of customers.
Source:
  • Customer/CustomerList.js, line 34
See:
  • Resource
Example
Load customers
	var custList = new CustomerList();
	custList.load({
		onSuccess:function(){
			alert('List Loaded \n'+custList.customers.length+' customers on list');
		}
	});

Methods

addCustomerFilter(string)

Adds the customer filter
Parameters:
Name Type Argument Description
string <optional>
customerId - id of the customer to filter
Source:
  • Customer/CustomerList.js, line 102

addDomainFilter(string)

Adds the domain filter
Parameters:
Name Type Argument Description
string <optional>
domain - domain value to filter
Source:
  • Customer/CustomerList.js, line 119

addLoginFilter(string)

Adds the login filter
Parameters:
Name Type Argument Description
string <optional>
name - name value to filter
Source:
  • Customer/CustomerList.js, line 153

addNameFilter(string)

Adds the name filter
Parameters:
Name Type Argument Description
string <optional>
name - name value to filter
Source:
  • Customer/CustomerList.js, line 136

generateUrl()

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

loadPreset()

Overrides Resource's loadPreset method.
Source:
  • Customer/CustomerList.js, line 47
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/CustomerList.js, line 63
See:
  • Resource#loadSet

removeCustomerFilter()

Removes the customer filter
Source:
  • Customer/CustomerList.js, line 112

removeDomainFilter()

Removes the domain filter
Source:
  • Customer/CustomerList.js, line 129

removeLoginFilter()

Removes the login filter
Source:
  • Customer/CustomerList.js, line 159

removeNameFilter()

Removes the name filter
Source:
  • Customer/CustomerList.js, line 146

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