API Docs for: 0.8.0
Show:

SettingsServiceFactory Class

SettingServiceFactory - Creates a service that will provide access to settings

Constructor

SettingsServiceFactory

()

Item Index

Properties

Methods

getBaseObjectService

(
  • options
)

Parameters:

  • options Object
    • site String
    • onlyThisSite Boolean

getService

(
  • useMemory
  • useCache
  • site
  • onlyThisSite
)
SimpleLayeredService static

Creates a new instance of the settings service

Parameters:

  • useMemory Boolean
  • useCache Boolean
  • site String

    siteId

  • onlyThisSite Boolean

    whether this service should only return setting specified by site

getServiceBySite

(
  • site
  • onlyThisSite
)
static

Creates a new instance of settings service with specified site, using the memory and cache settings of pb config

Parameters:

  • site String
  • onlyThisSite Boolean=

Properties

count

Integer private static

Tracks the number of instances created

TYPE

String private static

The collection that contains settings