net.liftmodules.ng.Angular

JsObjFactory

class JsObjFactory extends Factory

Produces a javascript object with ajax functions as keys. e.g.

function(dependencies) {
get: function() { doAjaxStuff(); }
post: function(string) { doAjaxStuff(); }
}
Linear Supertypes
Factory, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsObjFactory
  2. Factory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsObjFactory()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object DefaultApiSuccessMapper extends PromiseMapper

    Maps an api result to a Promise object that will be used to fulfill the javascript promise object.

  7. def anyVal(functionName: String, value: AnyVal): JsObjFactory

    Registers a no-arg javascript function in this service's javascript object that returns an AnyVal value.

    Registers a no-arg javascript function in this service's javascript object that returns an AnyVal value. Use this to provide primitive values which are known at page load time and do not change.

    functionName

    name of the function to be made available on the service/factory

    value

    value to be returned on invocation of this function in the client.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def json(functionName: String, value: AnyRef): JsObjFactory

    Registers a no-arg javascript function in this service's javascript object that returns a json object.

    Registers a no-arg javascript function in this service's javascript object that returns a json object. Use this to provide objects which are known at page load time and do not change.

    functionName

    name of the function to be made available on the service/factory

    value

    value to be returned on invocation of this function in the client.

  17. def jsonCall(functionName: String, func: ⇒ Box[AnyRef]): JsObjFactory

    Registers a no-arg javascript function in this service's javascript object that returns a $q promise.

    Registers a no-arg javascript function in this service's javascript object that returns a $q promise.

    functionName

    name of the function to be made available on the service/factory

    func

    produces the result of the ajax call. Failure, Full(DefaultResponse(false)), and some other logical failures will be mapped to promise.reject(). See promiseMapper.

  18. def jsonCall[Model <: NgModel](functionName: String, func: (Model) ⇒ Box[Any])(implicit arg0: Manifest[Model]): JsObjFactory

    Registers a javascript function in this service's javascript object that takes an NgModel object and returns a $q promise.

    Registers a javascript function in this service's javascript object that takes an NgModel object and returns a $q promise.

    functionName

    name of the function to be made available on the service/factory

    func

    produces the result of the ajax call. Failure, Full(DefaultResponse(false)), and some other logical failures will be mapped to promise.reject(). See promiseMapper.

  19. def jsonCall(functionName: String, func: (String) ⇒ Box[AnyRef]): JsObjFactory

    Registers a javascript function in this service's javascript object that takes a String and returns a $q promise.

    Registers a javascript function in this service's javascript object that takes a String and returns a $q promise.

    functionName

    name of the function to be made available on the service/factory

    func

    produces the result of the ajax call. Failure, Full(DefaultResponse(false)), and some other logical failures will be mapped to promise.reject(). See promiseMapper.

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def string(functionName: String, value: String): JsObjFactory

    Registers a no-arg javascript function in this service's javascript object that returns a String value.

    Registers a no-arg javascript function in this service's javascript object that returns a String value. Use this to provide string values which are known at page load time and do not change.

    functionName

    name of the function to be made available on the service/factory

    value

    value to be returned on invocation of this function in the client.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Factory

Inherited from AnyRef

Inherited from Any

Ungrouped