LinkRealizationService

org.mbari.oni.services.LinkRealizationService
class LinkRealizationService(entityManagerFactory: EntityManagerFactory)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def create(link: LinkCreate, userName: String): Either[Throwable, ExtendedLink]
def deleteById(id: Long, userName: String): Either[Throwable, Unit]
def findByConcept(conceptName: String): Either[Throwable, Seq[ExtendedLink]]
def findById(id: Long): Either[Throwable, ExtendedLink]
def findByPrototype(link: Link): Either[Throwable, Seq[ExtendedLink]]
def inTxnApproveDelete(history: HistoryEntity, user: UserAccountEntity, entityManger: EntityManager): Either[Throwable, Boolean]
def inTxnRejectAdd(history: HistoryEntity, user: UserAccountEntity, entityManger: EntityManager): Either[Throwable, Boolean]
def updateById(id: Long, linkUpdate: LinkUpdate, userName: String): Either[Throwable, ExtendedLink]