contentbox.models.system

Class Setting

lucee.Component
    extended by contentbox.models.BaseEntityMethods
      extended by contentbox.models.BaseEntity
        extended by contentbox.models.system.Setting

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a system setting. A system setting can be core or non-core. The difference is that core settings cannot be deleted from the geek settings UI to prevent caos. Admins would have to remove core settings via the DB only as a precautionary measure.

Class Attributes:
  • entityname : cbSetting
  •  
  • cacheuse : read-write
  •  
  • table : cb_setting
  •  
  • synchronized : false
  •  
  • cachename : cbSetting
  •  
  • accessors : false
  •  
  • persistent : true
  •  
    Property Summary
    type property default serializable required
    date createdDate


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = timestamp
    • update = false
    • index = idx_createDate
    true false
    any isCore


    • access = public
    • dbdefault = 0
    • returntype = any
    • notnull = true
    • ormtype = boolean
    • index = idx_core
    false true false
    any isDeleted


    • access = public
    • dbdefault = 0
    • returntype = any
    • notnull = true
    • ormtype = boolean
    • index = idx_deleted
    • sqltype = bit
    false true false
    date modifiedDate


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = timestamp
    • index = idx_modifiedDate
    true false
    any name


    • access = public
    • returntype = any
    • notnull = true
    • length = 100
    true false
    any settingID


    • access = public
    • fieldtype = id
    • returntype = any
    • params = { allocationSize = 1, sequence = 'settingID_seq' }
    • generator = native
    • setter = no
    true false
    any value


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = text
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    string getIsCore()
    any getMemento([any excludes=''])
         Get memento representation.
    string getName()
    string getSettingID()
    string getValue()
    any setIsCore(any isCore)
    any setName(any name)
    any setValue(any value)
     
    Methods inherited from class contentbox.models.BaseEntity
    getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, isLoaded, preInsert, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    createdDate

    property date createdDate

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - timestamp
    update - false
    index - idx_createDate
    serializable - true

    isCore

    property any isCore = [false]

    Attributes:
    access - public
    required - false
    dbdefault - 0
    returntype - any
    notnull - true
    ormtype - boolean
    index - idx_core
    serializable - true

    isDeleted

    property any isDeleted = [false]

    Attributes:
    access - public
    required - false
    dbdefault - 0
    returntype - any
    notnull - true
    ormtype - boolean
    index - idx_deleted
    serializable - true
    sqltype - bit

    modifiedDate

    property date modifiedDate

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - timestamp
    index - idx_modifiedDate
    serializable - true

    name

    property any name

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    length - 100
    serializable - true

    settingID

    property any settingID

    Attributes:
    access - public
    required - false
    fieldtype - id
    returntype - any
    params - { allocationSize = 1, sequence = 'settingID_seq' }
    generator - native
    serializable - true
    setter - no

    value

    property any value

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - text
    serializable - true

    Method Detail

    getIsCore

    public string getIsCore()


    getMemento

    public any getMemento([any excludes=''])

    Get memento representation

    Parameters:
    excludes - Property excludes

    getName

    public string getName()


    getSettingID

    public string getSettingID()


    getValue

    public string getValue()


    setIsCore

    public any setIsCore(any isCore)

    Parameters:
    isCore

    setName

    public any setName(any name)

    Parameters:
    name

    setValue

    public any setValue(any value)

    Parameters:
    value