Logo

Docs

  • HOME

Class: CustomList

CustomList

new CustomList()

Create a new instance of CustomList
Properties:
Name Type Description
title String title of the CustomList
author User Contains the author's information.
updated Date The updated date and time
project Object CustomList's project
content String Contains the content data
contentContentType String Contains content type
Source:
  • CustomList/CustomList.js, line 34
See:
  • ProjectList
  • Resource

Methods

create()

Create a new CustomList.
Parameters:
Name Type Argument Description
options.onSuccess Resource~onSuccess a callback function called in case of a success
options.onFailure Resource~onFailure <optional>
a callback function called in case of a failure
options.baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
  • CustomList/CustomList.js, line 105
See:
  • Resource#resourceSave
Example
create a CustomList
	var cl = new CustomList();
	cl.project.selfUrl = "config/620821136/project/36866";
	cl.title = "mySPRcustomList"
	cl.content ="eyJsaXN0IjpbeyJ2YWx1ZSI6IlZhbHVlIiwibGFiZWwiOiJMYWJlbCJ9XX0=";
	cl.create({
		onSuccess : function(){
		   alert("custom List Created with id = "+cl.id);
		}
	});

generate_xml()

generate xml to create/update
Parameters:
Name Type Argument Description
options.baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
  • CustomList/CustomList.js, line 201
See:
  • Resource#resourceSave

generateUrl()

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

loadPreset()

Overrides Resource's loadPreset method.
Source:
  • CustomList/CustomList.js, line 54
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:
  • CustomList/CustomList.js, line 70
See:
  • Resource#loadSet

update()

Save a new Custom List.
Parameters:
Name Type Argument Description
options.onSuccess Resource~onSuccess a callback function called in case of a success
options.onFailure Resource~onFailure <optional>
a callback function called in case of a failure
options.baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
  • CustomList/CustomList.js, line 153
See:
  • Resource#resourceSave

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