Class SplibSearchListJpaService<FST extends SplibSearchForm, FLT extends SplibListForm<?>, E extends jp.ecuacion.lib.jpa.entity.EclibEntity>
java.lang.Object
jp.ecuacion.splib.web.service.SplibGeneralService
jp.ecuacion.splib.web.service.SplibGeneral2FormsService<FST,FLT>
jp.ecuacion.splib.web.service.SplibSearchListService<FST,FLT>
jp.ecuacion.splib.web.jpa.service.SplibSearchListJpaService<FST,FLT,E>
- Type Parameters:
FST- SplibEditFormFLT- SplibEditFormE- AbstractEntity
- All Implemented Interfaces:
SplibJpaServiceInterface<E>
@Transactional(rollbackFor=Exception.class)
public abstract class SplibSearchListJpaService<FST extends SplibSearchForm, FLT extends SplibListForm<?>, E extends jp.ecuacion.lib.jpa.entity.EclibEntity>
extends SplibSearchListService<FST,FLT>
implements SplibJpaServiceInterface<E>
Provides abstract search list service.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<E> getListFormCommon(FST searchForm, org.springframework.data.jpa.repository.JpaSpecificationExecutor<E> repository) Gets Page.jp.ecuacion.splib.core.container.DatetimeFormatParametersoffsetはlogin画面でのonload時に呼ばれるため、login画面を開いた状態で放置した場合は値がnullでエラーになる.protected abstract org.springframework.data.jpa.domain.Specification<E> Gets Specs.protected LocalDaterecord内のlocalDate項目(String)をLocalDate形式で取得.Methods inherited from class SplibSearchListService
delete, getFilteredList, getSortedList, getSortedListMethods inherited from class SplibGeneral2FormsService
page, prepareForm, prepareFormMethods inherited from class SplibGeneralService
throwWarningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SplibJpaServiceInterface
findAndOptimisticLockingCheck, getRepositoryForOptimisticLocking, getVersionsForOptimisticLocking
-
Field Details
-
em
protected jakarta.persistence.EntityManager em
-
-
Constructor Details
-
SplibSearchListJpaService
public SplibSearchListJpaService()
-
-
Method Details
-
getParams
public jp.ecuacion.splib.core.container.DatetimeFormatParameters getParams()offsetはlogin画面でのonload時に呼ばれるため、login画面を開いた状態で放置した場合は値がnullでエラーになる.- Overrides:
getParamsin classSplibGeneralService
-
localDate
-
getSpecs
-
getListFormCommon
-