Interface BaseCountTaskRestController<ID extends Comparable<ID> & Serializable,USER extends ir.msob.jima.core.commons.security.BaseUser,TR extends ir.msob.jima.process.commons.repository.BaseTaskRepository,S extends BaseTaskService<USER,TR>>

All Superinterfaces:
ir.msob.jima.core.commons.resource.BaseResource<ID,USER>, ir.msob.jima.core.api.restful.commons.rest.BaseRestResource<ID,USER>, ParentTaskRestController<ID,USER,TR,S>
All Known Subinterfaces:
BaseTaskRestController<ID,USER,TR,S>

public interface BaseCountTaskRestController<ID extends Comparable<ID> & Serializable,USER extends ir.msob.jima.core.commons.security.BaseUser,TR extends ir.msob.jima.process.commons.repository.BaseTaskRepository,S extends BaseTaskService<USER,TR>> extends ParentTaskRestController<ID,USER,TR,S>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.springframework.http.ResponseEntity<reactor.core.publisher.Mono<Long>>
    count(ir.msob.jima.process.commons.criteria.TaskCriteria criteria, Principal principal)
     
    default org.springframework.http.ResponseEntity<reactor.core.publisher.Mono<Long>>
    countResponse(reactor.core.publisher.Mono<Long> result, Optional<USER> user)
     

    Methods inherited from interface ir.msob.jima.core.commons.resource.BaseResource

    getIdClass, getUserClass, getUserService

    Methods inherited from interface ir.msob.jima.core.api.restful.commons.rest.BaseRestResource

    getToken, getUser, getUser, getUser, getUser

    Methods inherited from interface ir.msob.jima.process.api.restful.service.rest.task.ParentTaskRestController

    getService
  • Field Details

    • log

      static final org.slf4j.Logger log
  • Method Details

    • count

      @GetMapping("count") default org.springframework.http.ResponseEntity<reactor.core.publisher.Mono<Long>> count(ir.msob.jima.process.commons.criteria.TaskCriteria criteria, Principal principal)
    • countResponse

      default org.springframework.http.ResponseEntity<reactor.core.publisher.Mono<Long>> countResponse(reactor.core.publisher.Mono<Long> result, Optional<USER> user)