java.lang.Object
com.iamsoft.util.ui.javafx.table.JpaLazyLoadingSupport<E>
-
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ReadOnlyObjectProperty<JpaLazyLoadingSupport.State>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionJpaLazyLoadingSupport
(jakarta.persistence.EntityManagerFactory pEntityMgrFactory, Class<E> pEntityClass) JpaLazyLoadingSupport
(jakarta.persistence.EntityManagerFactory pEntityMgrFactory, Class<E> pEntityClass, int pMaxEntitiesPerTransaction) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Use this method to abort current and pending DB write operations, if any.void
close()
void
configureAutoRefresh
(long pRefreshRateMillis, Runnable pRefreshItemCountOp, Runnable pRefreshViewOp) Consumer<jakarta.persistence.EntityManagerFactory>
Consumer<jakarta.persistence.EntityManagerFactory>
createRemoveTask
(String pWhereClause, javafx.util.Pair<String, Object>... pParamPairs) getState()
Gets the value of the property state.boolean
boolean
isIdle()
void
Sometimes it is easier to implement thread-safe stream supplier instead of directly providing thread-safe stream.void
Note that specified stream should be thread-safe.void
void
final javafx.beans.property.ReadOnlyObjectProperty<JpaLazyLoadingSupport.State>
-
Property Details
-
state
public final javafx.beans.property.ReadOnlyObjectProperty<JpaLazyLoadingSupport.State> stateProperty- See Also:
-
-
Constructor Details
-
JpaLazyLoadingSupport
-
JpaLazyLoadingSupport
-
-
Method Details
-
stateProperty
public final javafx.beans.property.ReadOnlyObjectProperty<JpaLazyLoadingSupport.State> stateProperty()- See Also:
-
getState
Gets the value of the property state.- Property description:
-
configureAutoRefresh
-
abort
Use this method to abort current and pending DB write operations, if any. -
isAborting
public boolean isAborting() -
isIdle
public boolean isIdle() -
persist
Note that specified stream should be thread-safe. -
persist
Sometimes it is easier to implement thread-safe stream supplier instead of directly providing thread-safe stream. -
removeAll
public void removeAll() -
createRemoveAllTask
-
remove
-
createRemoveTask
-
close
public void close()
-