c

dynamics.client

MetadataCache

class MetadataCache extends AnyRef

Simple metadata cache for CRM metadata.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetadataCache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MetadataCache(dynclient: DynamicsClient, LCID: Int = 1033)(implicit F: MonadError[IO, Throwable], ec: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAttributeToCache(a: AttributeMetadata): Unit
    Attributes
    protected
  5. def addAttributesToCache(ename: String, as: Seq[AttributeMetadata]): Unit
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def attributeMetadataId(entitySetName: String, attribute: String): IO[Option[String]]
  8. def attributeType(ename: String, aname: String): IO[Option[String]]

    Given an entity set name and an attribute name, return the attribute type.

    Given an entity set name and an attribute name, return the attribute type. The AttributeType is a simple string and is not AttributeTypeName which typically places a suffix "Type" at the end of the type name.

  9. def baseAttributes(entityName: String): IO[Seq[AttributeMetadata]]
  10. val cache: NodeCache
    Attributes
    protected
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def connectionRole(roleName: String): IO[Option[ConnectionRole]]
  13. def connectionRoleCategories(): IO[Seq[OptionValue]]
  14. def connectionRoles(): IO[Seq[ConnectionRole]]
  15. def connectionRolesForCategory(cname: String, ignoreCase: Boolean = false): IO[Seq[ConnectionRole]]
  16. val dynclient: DynamicsClient
    Attributes
    protected
  17. def entityByName(entityName: String): IO[Option[EntityDefinition]]
  18. def entityBySetName(entitySetName: String): IO[Option[EntityDefinition]]
  19. def entityDefinitions(): IO[Seq[EntityDefinition]]
  20. def entityName(entitySetName: String): IO[Option[String]]
  21. def entitySetName(entityName: String): IO[Option[String]]
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def globalOptionSet(name: String): IO[Seq[OptionValue]]
  27. def globalOptionSets(): IO[Seq[OptionSetMetadata]]
  28. def hasAttributes(entityName: String, anames: Seq[String]): IO[Boolean]

    Return true if all the attributes on entity exist.

  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def objectTypeCode(entityName: String): IO[Option[Int]]
  35. def optionSetMetadataToOptionValues(items: Array[OptionMetadata]): Seq[OptionValue]
    Attributes
    protected
  36. def optionValues(entitySet: String, attribute: String): IO[Seq[OptionValue]]

    Obtain option values give an entity and attribute combination.

    Obtain option values give an entity and attribute combination.

    To do

    Should we signal an error if either entiytSet or attribute is not found?

  37. def pk(entityName: String): IO[Option[String]]
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def entityDescription(entitySet: String): IO[Option[EntityDefinition]]

    Deprecated

    Use entitySetName

Inherited from AnyRef

Inherited from Any

Ungrouped