API Docs for:
Show:

Base Class

parent class of model, factory, repository and service

gives them this.facade property

Item Index

Properties

Methods

deprecated

(
  • methodName
  • message
)
Error protected

Show indication message of deprecated method

Parameters:

  • methodName String
  • message String

Returns:

Error:

error

(
  • reason
  • [message]
)
Error

create instance of DomainError

Parameters:

  • reason String

    reason of the error

  • [message] String optional

Returns:

Error:

getFacade

() Facade deprecated

Defined in /home/ubuntu/base-domain/src/lib/base.coffee:81

Deprecated: just use this.facade

Get facade

Returns:

getModule

() BaseModule

Get module which this class belongs to

Returns:

getName

() String public static

get className

Returns:

String:

getParent

() Function

get parent class

Returns:

Function:

setRoot

() protected

Properties

className

String private static

Hyphenized name. The name should equal to the file name (without path and extension). If not set, facade will set the file name automatically. This property were not necessary if uglify-js would not mangle class name...