class NoteService extends ModelServiceHelper[Note]
- Annotations
- @Singleton()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NoteService
- ModelServiceHelper
- Logging
- ModelService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
NoteService(db: JdbcDatabase, tracing: TracingService)(implicit ec: ExecutionContext)
- Annotations
- @Inject()
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
checkPerm[Ret](creds: Credentials, key: String)(f: ⇒ Ret): Ret
- Definition Classes
- ModelServiceHelper
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
countAll(creds: Credentials, filters: Seq[Filter] = Nil, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- Definition Classes
- NoteService → ModelServiceHelper → ModelService
- def countByAuthor(creds: Credentials, author: UUID, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- def countByCreated(creds: Credentials, created: LocalDateTime, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- def countById(creds: Credentials, id: UUID, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- def countByRelPk(creds: Credentials, relPk: String, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- def countByRelType(creds: Credentials, relType: String, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- def countByText(creds: Credentials, text: String, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- def create(creds: Credentials, fields: Seq[DataField], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Option[Note]]
- def csvFor(totalCount: Int, rows: Seq[Note])(implicit trace: TraceData): String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fieldVal(fields: Seq[DataField], k: String): String
- Attributes
- protected
- Definition Classes
- ModelServiceHelper
-
def
getAll(creds: Credentials, filters: Seq[Filter] = Nil, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- Definition Classes
- NoteService → ModelServiceHelper → ModelService
-
def
getAllWithCount(creds: Credentials, filters: Seq[Filter], orderBys: Seq[OrderBy], limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[(Int, Seq[Note])]
- Definition Classes
- ModelServiceHelper → ModelService
- def getByAuthor(creds: Credentials, author: UUID, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByAuthorSeq(creds: Credentials, authorSeq: Seq[UUID], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByCreated(creds: Credentials, created: LocalDateTime, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByCreatedSeq(creds: Credentials, createdSeq: Seq[LocalDateTime], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getById(creds: Credentials, id: UUID, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByIdSeq(creds: Credentials, idSeq: Seq[UUID], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByPrimaryKey(creds: Credentials, id: UUID, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Option[Note]]
- def getByPrimaryKeyRequired(creds: Credentials, id: UUID, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Note]
- def getByPrimaryKeySeq(creds: Credentials, idSeq: Seq[UUID], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByRelPk(creds: Credentials, relPk: String, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByRelPkSeq(creds: Credentials, relPkSeq: Seq[String], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByRelType(creds: Credentials, relType: String, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByRelTypeSeq(creds: Credentials, relTypeSeq: Seq[String], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByText(creds: Credentials, text: String, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
- def getByTextSeq(creds: Credentials, textSeq: Seq[String], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Seq[Note]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getFor(creds: Credentials, model: String, pk: Any*)(implicit trace: TraceData): Future[Seq[Note]]
- def getForSeq(creds: Credentials, models: Seq[(String, String)])(implicit trace: TraceData): Future[Seq[Note]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def insert(creds: Credentials, model: Note, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Option[Note]]
- def insertBatch(creds: Credentials, models: Seq[Note], conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
key: String
- Definition Classes
- ModelServiceHelper
-
lazy val
log: TraceLogger
- Attributes
- protected[this]
- Definition Classes
- Logging
-
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()
-
val
perm: (String, String)
- Definition Classes
- ModelServiceHelper
- def remove(creds: Credentials, id: UUID, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Note]
-
def
search(creds: Credentials, q: Option[String], filters: Seq[Filter] = Nil, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[List[Note]]
- Definition Classes
- NoteService → ModelServiceHelper → ModelService
-
def
searchCount(creds: Credentials, q: Option[String], filters: Seq[Filter] = Nil, conn: Option[Connection] = None)(implicit trace: TraceData): Future[Int]
- Definition Classes
- NoteService → ModelServiceHelper → ModelService
- def searchExact(creds: Credentials, q: String, orderBys: Seq[OrderBy] = Nil, limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[List[Note]]
-
def
searchWithCount(creds: Credentials, q: Option[String], filters: Seq[Filter], orderBys: Seq[OrderBy], limit: Option[Int] = None, offset: Option[Int] = None, conn: Option[Connection] = None)(implicit trace: TraceData): Future[(Int, Seq[Note])]
- Definition Classes
- ModelServiceHelper → ModelService
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
traceB[A](name: String)(f: (TraceData) ⇒ A)(implicit trace: TraceData): A
- Definition Classes
- ModelServiceHelper
-
def
traceF[A](name: String)(f: (TraceData) ⇒ Future[A])(implicit trace: TraceData): Future[A]
- Definition Classes
- ModelServiceHelper
-
val
tracing: TracingService
- Definition Classes
- NoteService → ModelServiceHelper
- def update(creds: Credentials, id: UUID, fields: Seq[DataField], conn: Option[Connection] = None)(implicit trace: TraceData): Future[(Note, String)]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.