trait ObjectRelationService extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ObjectRelationService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def addRelation(addRelation: AddObjectRelation): Future[Boolean]
- abstract def addRelationBatch(addRelations: Seq[AddObjectRelation]): Future[Seq[AddObjectRelationResult]]
- abstract def deleteRelation(deleteRelation: DeleteObjectRelation): Future[Either[RelationDeleteError, Boolean]]
- abstract def deleteRelations(id: EntityObjectIdentity, relatedFilterOpt: Option[Seq[EntityTypeId]]): Future[Seq[ObjectRelationWithEntity]]
Удаляет связи сущности
Удаляет связи сущности
- id
ID сущности, для которой нужно удалить связи
- relatedFilterOpt
(если указано) удаляет связи только с указанными сущностями
- abstract def getRelation(getRelation: GetObjectRelation): Future[Option[ObjectRelationWithEntity]]
- abstract def listAllRelations(id: EntityObjectIdentity): Future[Seq[ObjectRelationWithEntity]]
- abstract def listRelations(id: EntityObjectIdentity, toEntity: EntityTypeId, field: FieldName, reversed: Boolean, paging: Option[Paging]): Future[Either[GetRelationError, Page[ObjectRelationWithEntity]]]
- abstract def listRelationsBatch(requests: Seq[ListObjectRelations]): Future[Seq[ObjectRelationWithEntity]]
- abstract def listRelationsByEntity1(entity1Type: EntityTypeId, entity2Type: EntityTypeId, entity1Field: FieldName, object1Id: ObjectId): Future[Seq[ObjectRelation]]
Concrete 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def deleteAllRelations(id: EntityObjectIdentity): Future[Seq[ObjectRelationWithEntity]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated