Class AbstractActionWithEntityUseCase<ID,R extends com.rcore.domain.commons.port.ReadRepository<ID,E,?>,E extends com.rcore.domain.commons.entity.BaseEntity<ID>>

java.lang.Object
com.rcore.domain.commons.usecase.UseCase<com.rcore.domain.commons.usecase.model.IdInputValues<ID>,com.rcore.domain.commons.usecase.model.SingleOutput<Boolean>>
ru.foodtechlab.abe.domain.usecase.AbstractActionWithEntityUseCase<ID,R,E>
Direct Known Subclasses:
AbstractActionWithWithDeletedEntityUseCase

@Deprecated public abstract class AbstractActionWithEntityUseCase<ID,R extends com.rcore.domain.commons.port.ReadRepository<ID,E,?>,E extends com.rcore.domain.commons.entity.BaseEntity<ID>> extends com.rcore.domain.commons.usecase.UseCase<com.rcore.domain.commons.usecase.model.IdInputValues<ID>,com.rcore.domain.commons.usecase.model.SingleOutput<Boolean>>
Deprecated.
Удалить после релиза ркора 1.0.25
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.rcore.domain.commons.usecase.UseCase

    com.rcore.domain.commons.usecase.UseCase.InputValues, com.rcore.domain.commons.usecase.UseCase.OutputValues
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final R
    Deprecated.
     

    Fields inherited from class com.rcore.domain.commons.usecase.UseCase

    validator
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    after(E e)
    Deprecated.
    Действие вызываемое после основого.
    final com.rcore.domain.commons.usecase.model.SingleOutput<Boolean>
    execute(com.rcore.domain.commons.usecase.model.IdInputValues<ID> input)
    Deprecated.
     
    protected abstract boolean
    execute(E entity)
    Deprecated.
     
    protected Optional<E>
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • repository

      protected final R extends com.rcore.domain.commons.port.ReadRepository<ID,E,?> repository
      Deprecated.
  • Constructor Details

    • AbstractActionWithEntityUseCase

      public AbstractActionWithEntityUseCase()
      Deprecated.
  • Method Details

    • execute

      public final com.rcore.domain.commons.usecase.model.SingleOutput<Boolean> execute(com.rcore.domain.commons.usecase.model.IdInputValues<ID> input)
      Deprecated.
      Specified by:
      execute in class com.rcore.domain.commons.usecase.UseCase<com.rcore.domain.commons.usecase.model.IdInputValues<ID>,com.rcore.domain.commons.usecase.model.SingleOutput<Boolean>>
    • getEntity

      protected Optional<E> getEntity(ID id)
      Deprecated.
    • execute

      protected abstract boolean execute(E entity)
      Deprecated.
    • after

      protected void after(E e)
      Deprecated.
      Действие вызываемое после основого. Здесь можно выкинуть евент