cfboom.adminapi.models

Class AdminService

lucee.Component
    extended by cfboom.lang.Object
      extended by cfboom.adminapi.models.AdminService
All Implemented Interfaces:
Administrator

The main service

Class Attributes:
  • singleton : true
  •  
  • output : false
  •  
  • displayname : Class AdminService
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any coldbox


    • access = public
    • returntype = any
    • inject = coldbox
    true false
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    any wirebox


    • access = public
    • returntype = any
    • inject = wirebox
    true false
    Constructor Summary
    init()
    Method Summary
    struct getDatasource(string name)
    struct getDatasources()
    private void initAdministrator()
         Factory method to get the appropriate Administrator.
    void onDIComplete()
    boolean verifyDatasource(string name)
     
    Methods inherited from class cfboom.lang.Object
    $equals, getComponentName, getIdentityHashCode, getIdentityString, getMeta, hashCode, toString
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    coldbox

    property any coldbox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox
    serializable - true

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    wirebox

    property any wirebox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - wirebox
    serializable - true

    Method Detail

    getDatasource

    public struct getDatasource(string name)

    Specified by:
    getDatasource in interface Administrator
    Parameters:
    name

    getDatasources

    public struct getDatasources()

    Specified by:
    getDatasources in interface Administrator

    initAdministrator

    private void initAdministrator()

    Factory method to get the appropriate Administrator.


    onDIComplete

    public void onDIComplete()


    verifyDatasource

    public boolean verifyDatasource(string name)

    Specified by:
    verifyDatasource in interface Administrator
    Parameters:
    name