Logo

Docs

  • HOME

Class: Process

Process

new Process()

Create a new instance of Process
Properties:
Name Type Description
author User Contains the author's information.
title String the title of the process
published Date = new Date(); - the published date
cotributor User = new User(); - the contributor
updated Date the updated date
generator String the generator
process Object the process
summary Object the summary of the process (value and type)
Source:
  • Process/Process.js, line 37
See:
  • ProcessList
  • Resource

Methods

create()

Create a new Process.
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
options.process String <optional>
the process xml
Source:
  • Process/Process.js, line 110
See:
  • Resource#resourceSave

generate_xml(options)

generate xml to create/update
Parameters:
Name Type Description
options object options to be used during the call
Properties
Name Type Argument Description
update Boolean Is this an xml for update
baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
  • Process/Process.js, line 248
See:
  • Resource#resourceSave

generateUrl()

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

loadPreset()

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

update()

Save an existing Process.
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:
  • Process/Process.js, line 195
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