class MetadataCache extends AnyRef
Simple metadata cache for CRM metadata.
- Alphabetic
- By Inheritance
- MetadataCache
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MetadataCache(dynclient: DynamicsClient, LCID: Int = 1033)(implicit F: MonadError[IO, Throwable], ec: ExecutionContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAttributeToCache(a: AttributeMetadata): Unit
- Attributes
- protected
-
def
addAttributesToCache(ename: String, as: Seq[AttributeMetadata]): Unit
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attributeMetadataId(entitySetName: String, attribute: String): IO[Option[String]]
-
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.
- def baseAttributes(entityName: String): IO[Seq[AttributeMetadata]]
-
val
cache: NodeCache
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def connectionRole(roleName: String): IO[Option[ConnectionRole]]
- def connectionRoleCategories(): IO[Seq[OptionValue]]
- def connectionRoles(): IO[Seq[ConnectionRole]]
- def connectionRolesForCategory(cname: String, ignoreCase: Boolean = false): IO[Seq[ConnectionRole]]
-
val
dynclient: DynamicsClient
- Attributes
- protected
- def entityByName(entityName: String): IO[Option[EntityDefinition]]
- def entityBySetName(entitySetName: String): IO[Option[EntityDefinition]]
- def entityDefinitions(): IO[Seq[EntityDefinition]]
- def entityName(entitySetName: String): IO[Option[String]]
- def entitySetName(entityName: String): IO[Option[String]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def globalOptionSet(name: String): IO[Seq[OptionValue]]
- def globalOptionSets(): IO[Seq[OptionSetMetadata]]
-
def
hasAttributes(entityName: String, anames: Seq[String]): IO[Boolean]
Return true if all the attributes on entity exist.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def objectTypeCode(entityName: String): IO[Option[Int]]
-
def
optionSetMetadataToOptionValues(items: Array[OptionMetadata]): Seq[OptionValue]
- Attributes
- protected
-
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?
- def pk(entityName: String): IO[Option[String]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
entityDescription(entitySet: String): IO[Option[EntityDefinition]]
- Deprecated
Use entitySetName