Class SplibSearchListJpaService<FST extends SplibSearchForm,FLT extends SplibListForm<?>,E extends jp.ecuacion.lib.jpa.entity.AbstractEntity>
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>
- All Implemented Interfaces:
SplibJpaServiceInterface<E>
@Transactional(rollbackFor=java.lang.Exception.class)
public abstract class SplibSearchListJpaService<FST extends SplibSearchForm,FLT extends SplibListForm<?>,E extends jp.ecuacion.lib.jpa.entity.AbstractEntity>
extends SplibSearchListService<FST,FLT>
implements SplibJpaServiceInterface<E>
-
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) jp.ecuacion.splib.core.container.DatetimeFormatParametersoffsetはlogin画面でのonload時に呼ばれるため、login画面を開いた状態で放置した場合は値がnullでエラーになる。protected abstract org.springframework.data.jpa.domain.Specification<E> protected LocalDaterecord内のlocalDate項目(String)をLocalDate形式で取得。voidsetEntityManager(jakarta.persistence.EntityManager em) Methods inherited from class jp.ecuacion.splib.web.service.SplibSearchListService
delete, getFilteredList, getSortedList, getSortedListMethods inherited from class jp.ecuacion.splib.web.service.SplibGeneral2FormsService
page, prepareForm, prepareFormMethods inherited from class jp.ecuacion.splib.web.service.SplibGeneralService
exclusiveLockActivatedByLockFile, fileLock, getLockFileVersion, throwWarning, throwWarningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jp.ecuacion.splib.web.jpa.service.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
record内のlocalDate項目(String)をLocalDate形式で取得。- Overrides:
localDatein classSplibGeneralService
-
setEntityManager
public void setEntityManager(jakarta.persistence.EntityManager em) -
getSpecs
-
getListFormCommon
-