com.github.izmailoff.marshalling

MongoMarshallingSupport

trait MongoMarshallingSupport extends LiftJsonSupport with MongoRecordMarshalling with MongoRecordUnmarshalling with BoxMarshalling with ObjectIdSupport with AkkaLoggingHelper

A single trait that brings all marshalling together. ...

Linear Supertypes
AkkaLoggingHelper, ObjectIdSupport, BoxMarshalling, MongoRecordUnmarshalling, MongoRecordMarshalling, LiftJsonSupport, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoMarshallingSupport
  2. AkkaLoggingHelper
  3. ObjectIdSupport
  4. BoxMarshalling
  5. MongoRecordUnmarshalling
  6. MongoRecordMarshalling
  7. LiftJsonSupport
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val globalSystem: ActorSystem

    Definition Classes
    AkkaLoggingHelper

Concrete 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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (MongoMarshallingSupport, B)

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to ArrowAssoc[MongoMarshallingSupport] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. implicit val BsonRecordCollectionMarshaller: Marshaller[Traversable[BsonRecord[_]]]

    Definition Classes
    MongoRecordMarshalling
  9. implicit val BsonRecordMarshaller: Marshaller[BsonRecord[_]]

    Definition Classes
    MongoRecordMarshalling
  10. val FAILED: String

    Definition Classes
    BoxMarshalling
  11. val ObjectIdSegment: PathMatcher1[ObjectId]

    A PathMatcher that matches and extracts an ObjectId instance.

    A PathMatcher that matches and extracts an ObjectId instance.

    Definition Classes
    ObjectIdSupport
  12. val SUCCESSFUL: String

    Definition Classes
    BoxMarshalling
  13. implicit val String2ObjectIdDeserializer: Deserializer[String, ObjectId]

    Definition Classes
    ObjectIdSupport
  14. implicit val ValidationResultMarshaller: Marshaller[Box[_]]

    This is similar to spray.httpx.marshalling.MetaMarshallers.optionMarshaller except that we can communicate generic errors and specific error messages back.

    This is similar to spray.httpx.marshalling.MetaMarshallers.optionMarshaller except that we can communicate generic errors and specific error messages back.

    The convention we use is the following:

    Full - result of operation was successful and it should be communicated back to the client. ParamFailure - an error happened and it should be communicated back to the client together with the param value. Exception will not be communicated back because it may contain sensitive information and it's not so useful to the client. Failure - an error happened and it should be communicated back to the client. Empty - an error happened but there is no specific message to pass back to the client. Prefer other types of failure over this one.

    Additionally, based on types of values passed in Box subclasses we can convert some results to others. For instance if Unit is returned the message should become empty.

    Definition Classes
    BoxMarshalling
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def ensuring(cond: (MongoMarshallingSupport) ⇒ Boolean, msg: ⇒ Any): MongoMarshallingSupport

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to Ensuring[MongoMarshallingSupport] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (MongoMarshallingSupport) ⇒ Boolean): MongoMarshallingSupport

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to Ensuring[MongoMarshallingSupport] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: ⇒ Any): MongoMarshallingSupport

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to Ensuring[MongoMarshallingSupport] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): MongoMarshallingSupport

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to Ensuring[MongoMarshallingSupport] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  23. val failedResponse: JObject

    Definition Classes
    BoxMarshalling
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  29. implicit def liftJsonFormats: DefaultFormats

    Definition Classes
    MongoMarshallingSupport → LiftJsonSupport
  30. implicit def liftJsonMarshaller[T <: AnyRef]: Marshaller[T]

    Definition Classes
    LiftJsonSupport
  31. implicit def liftJsonUnmarshaller[T](implicit arg0: Manifest[T]): Unmarshaller[T]

    Definition Classes
    LiftJsonSupport
  32. lazy val log: LoggingAdapter

    Definition Classes
    AkkaLoggingHelper
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  36. def requestToRecordUnmarshaller[T <: Record[T]](metaRec: T with MetaRecord[T]): FromRequestUnmarshaller[T]

    Definition Classes
    MongoRecordUnmarshalling
  37. def response(result: String): JObject

    Definition Classes
    BoxMarshalling
  38. def responseMessage(message: String): JObject

    Definition Classes
    BoxMarshalling
  39. def responseValue(value: Any): JObject

    Definition Classes
    BoxMarshalling
  40. def responseValue(value: JValue): JObject

    Definition Classes
    BoxMarshalling
  41. val successResponse: JObject

    Definition Classes
    BoxMarshalling
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (MongoMarshallingSupport, B)

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to ArrowAssoc[MongoMarshallingSupport] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoMarshallingSupport: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoMarshallingSupport: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: MongoMarshallingSupport

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to ArrowAssoc[MongoMarshallingSupport] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoMarshallingSupport: ArrowAssoc[MongoMarshallingSupport]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: MongoMarshallingSupport

    Implicit information
    This member is added by an implicit conversion from MongoMarshallingSupport to Ensuring[MongoMarshallingSupport] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoMarshallingSupport: Ensuring[MongoMarshallingSupport]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AkkaLoggingHelper

Inherited from ObjectIdSupport

Inherited from BoxMarshalling

Inherited from MongoRecordUnmarshalling

Inherited from MongoRecordMarshalling

Inherited from LiftJsonSupport

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MongoMarshallingSupport to StringAdd

Inherited by implicit conversion any2stringfmt from MongoMarshallingSupport to StringFormat

Inherited by implicit conversion any2ArrowAssoc from MongoMarshallingSupport to ArrowAssoc[MongoMarshallingSupport]

Inherited by implicit conversion any2Ensuring from MongoMarshallingSupport to Ensuring[MongoMarshallingSupport]

Ungrouped