HistoryEndpoints

org.mbari.oni.endpoints.HistoryEndpoints
class HistoryEndpoints(entityManagerFactory: EntityManagerFactory, fastPhylogenyService: FastPhylogenyService)(using jwtService: JwtService, executionContext: ExecutionContext) extends Endpoints

Attributes

Graph
Supertypes
trait Endpoints
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def all: List[Endpoint[_, _, _, _, _]]

Attributes

Definition Classes
override def allImpl: List[ServerEndpoint[Any, Future]]

Attributes

Definition Classes

Inherited methods

def handleErrors[T](f: => Either[Throwable, T]): Either[ErrorMsg, T]

Attributes

Inherited from:
Endpoints
def handleErrorsAsync[T](f: => Either[Throwable, T])(using ec: ExecutionContext): Future[Either[ErrorMsg, T]]

Attributes

Inherited from:
Endpoints
def handleOption[T](f: => Option[T]): Either[ErrorMsg, T]

Attributes

Inherited from:
Endpoints
def handleOptionAsync[T](f: => Option[T])(using executionContext: ExecutionContext): Future[Either[ErrorMsg, T]]

Attributes

Inherited from:
Endpoints
def verify(jwtOpt: Option[String])(using jwtService: JwtService): Identity[Either[Unauthorized, Unit]]

Attributes

Inherited from:
Endpoints
def verifyAsync(jwtOpt: Option[String])(using jwtService: JwtService, executionContext: ExecutionContext): Future[Either[Unauthorized, Unit]]

Attributes

Inherited from:
Endpoints
def verifyLogin(jwtOpt: Option[String])(using jwtService: JwtService): Identity[Either[Unauthorized, UserAccount]]

Attributes

Inherited from:
Endpoints
def verifyLoginAsync(jwtOpt: Option[String])(using jwtService: JwtService, executionContext: ExecutionContext): Future[Either[Unauthorized, UserAccount]]

Attributes

Inherited from:
Endpoints

Concrete fields

val approveEndpoint: Endpoint[Option[String], Long, ErrorMsg, ExtendedHistory, Any]
val approveEndpointImpl: ServerEndpoint[Any, Future]
val approvedEndpoints: Endpoint[Unit, Paging, ErrorMsg, Page[Seq[ExtendedHistory]], Any]
val approvedEndpointsImpl: ServerEndpoint[Any, Future]
val deleteEndpoint: Endpoint[Option[String], Long, ErrorMsg, Unit, Any]
val deleteEndpointImpl: ServerEndpoint[Any, Future]
val findByConceptNameEndpoint: Endpoint[Unit, String, ErrorMsg, Seq[ExtendedHistory], Any]#ThisType[Any]#ThisType[Any]#ThisType[Any]
val findByConceptNameEndpointImpl: ServerEndpoint[Any, Future]
val findByIdEndpoint: Endpoint[Unit, Long, ErrorMsg, ExtendedHistory, Any]#ThisType[Any]#ThisType[Any]#ThisType[Any]
val findByIdEndpointImpl: ServerEndpoint[Any, Future]
val pendingEndpoint: Endpoint[Unit, Paging, ErrorMsg, Page[Seq[ExtendedHistory]], Any]
val pendingEndpointImpl: ServerEndpoint[Any, Future]
val rejectEndpoint: Endpoint[Option[String], Long, ErrorMsg, ExtendedHistory, Any]
val rejectEndpointImpl: ServerEndpoint[Any, Future]

Inherited fields

val baseEndpoint: Endpoint[Unit, Unit, Unit, Unit, Any]

Attributes

Inherited from:
Endpoints
val log: Logger

Attributes

Inherited from:
Endpoints
val openEndpoint: Endpoint[Unit, Unit, ErrorMsg, Unit, Any]

Attributes

Inherited from:
Endpoints
val paging: EndpointInput[Paging]

Attributes

Inherited from:
Endpoints
val secureEndpoint: Endpoint[Option[String], Unit, ErrorMsg, Unit, Any]

Attributes

Inherited from:
Endpoints

Implicits

Inherited implicits

implicit def sConcept: Schema[Concept]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptCreate: Schema[ConceptCreate]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptDelete: Schema[ConceptDelete]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptMetadata: Schema[ConceptMetadata]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptName: Schema[RawConceptName]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptNameCreate: Schema[ConceptNameCreate]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptNameUpdate: Schema[ConceptNameUpdate]

Attributes

Inherited from:
Endpoints
implicit lazy val sConceptUpdate: Schema[ConceptUpdate]

Attributes

Inherited from:
Endpoints
implicit lazy val sDoi: Schema[ReferenceQuery]

Attributes

Inherited from:
Endpoints
implicit lazy val sExtendedHistory: Schema[ExtendedHistory]

Attributes

Inherited from:
Endpoints
implicit lazy val sInstant: Schema[Instant]

Attributes

Inherited from:
Endpoints
implicit lazy val sLinkCreate: Schema[LinkCreate]

Attributes

Inherited from:
Endpoints
implicit lazy val sLinkUpdate: Schema[LinkUpdate]

Attributes

Inherited from:
Endpoints
implicit lazy val sMedia: Schema[Media]

Attributes

Inherited from:
Endpoints
implicit lazy val sMediaCreate: Schema[MediaCreate]

Attributes

Inherited from:
Endpoints
implicit lazy val sMediaUpdate: Schema[MediaUpdate]

Attributes

Inherited from:
Endpoints
implicit lazy val sPageSeqExtendedHistory: Schema[Page[Seq[ExtendedHistory]]]

Attributes

Inherited from:
Endpoints
implicit lazy val sPageSeqString: Schema[Page[Seq[String]]]

Attributes

Inherited from:
Endpoints
implicit lazy val sPaging: Schema[Paging]

Attributes

Inherited from:
Endpoints
implicit lazy val sPrefNode: Schema[PrefNode]

Attributes

Inherited from:
Endpoints
implicit lazy val sPrefNodeUpdate: Schema[PrefNodeUpdate]

Attributes

Inherited from:
Endpoints
implicit def sRawConcept: Schema[RawConcept]

Attributes

Inherited from:
Endpoints
implicit lazy val sReference: Schema[Reference]

Attributes

Inherited from:
Endpoints
implicit lazy val sReferenceUpdate: Schema[ReferenceUpdate]

Attributes

Inherited from:
Endpoints
implicit def sSerdeConcept: Schema[SerdeConcept]

Attributes

Inherited from:
Endpoints
implicit lazy val sURI: Schema[URI]

Attributes

Inherited from:
Endpoints
implicit lazy val sURL: Schema[URL]

Attributes

Inherited from:
Endpoints
implicit lazy val sUserAccount: Schema[UserAccount]

Attributes

Inherited from:
Endpoints
implicit lazy val sUserAccountCreate: Schema[UserAccountCreate]

Attributes

Inherited from:
Endpoints
implicit lazy val sUserAccountUpdate: Schema[UserAccountUpdate]

Attributes

Inherited from:
Endpoints