class MiscQueries extends AnyRef
- Alphabetic
- By Inheritance
- MiscQueries
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MiscQueries(dynclient: DynamicsClient, m: MetadataCache, concurrency: Int = 4, verbosity: Int = 0)(implicit 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def entitiesFromConnections(fromEntityId: Id, toCodes: Traversable[Int] = Nil, toRoleIds: Traversable[Id] = Nil): IO[Seq[RelatedEntity]]
-
def
entitiesFromConnectionsUsingNames(fromEntityId: Id, toEntityNames: Traversable[String] = Nil, toRoleNames: Traversable[String] = Nil): IO[Seq[RelatedEntity]]
Fetch entities (from record2) that match the specified record2 entity logical names and roles.
Fetch entities (from record2) that match the specified record2 entity logical names and roles.
- returns
record2 derived fat tuples (entity name, entity object type code, role name, role id, entity id)
- To do
fromEntitySet is not technically needed for the query if we have an id
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fetchEmailAddressFromId(id: Id): IO[UPN]
Fetch email address from dynamics systemuser record.
- def fetchEmailableSystemuser(id: Id): IO[Option[SystemuserJS]]
-
def
fetchSystemuser(id: Id): IO[SystemuserJS]
Fetch a system user by id.
-
def
fetchTeamSystemuserIds(teamId: Id): IO[Seq[String]]
Given an entity id, find its owner.
Given an entity id, find its owner. If the owner is a team, retrieve those systemusers. If errors occur along the way, ignore them and return Nil as appropriate.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAppMapping(): IO[Object]
Get application uniquename -> id for creating URLs.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
systemusersFromConnections(entitySet: String, entityId: Id, record2roleids: Seq[String]): IO[Seq[SystemuserJS]]
Return systemmusers that have systemuser connections to the specified entity.
Return systemmusers that have systemuser connections to the specified entity. record1=entity, record2=sysemusers connected via he record2roleids list.
-
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( ... )