Class JobModelListView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.AfterNavigationObserver, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.BeforeLeaveObserver, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.internal.AfterNavigationHandler, com.vaadin.flow.router.internal.BeforeEnterHandler, com.vaadin.flow.router.internal.BeforeLeaveHandler, FragmentOwner, LookupView<JobModel>, MultiSelectLookupView, Serializable

@Route(value="quartz/jobmodels", layout=DefaultMainViewParent.class) @ViewController("quartz_JobModel.list") @ViewDescriptor("job-model-list-view.xml") @DialogMode(width="60em") public class JobModelListView extends StandardListView<JobModel>
See Also:
  • Field Details

  • Constructor Details

    • JobModelListView

      public JobModelListView()
  • Method Details

    • onInit

      @Subscribe protected void onInit(View.InitEvent event)
    • initTable

      protected void initTable()
    • jobStatePartNameGenerator

      @Install(to="jobModelsTable.jobState", subject="partNameGenerator") protected String jobStatePartNameGenerator(JobModel entity)
    • initUrlParameters

      protected void initUrlParameters()
    • onBeforeShow

      @Subscribe protected void onBeforeShow(View.BeforeShowEvent event)
    • loadJobsData

      protected List<JobModel> loadJobsData()
    • createJobModelComparator

      protected Comparator<JobModel> createJobModelComparator(List<com.vaadin.flow.component.grid.GridSortOrder<JobModel>> sorting)
    • createSortOrderComparator

      protected Comparator<?> createSortOrderComparator(MetaClass jobModelMetaClass, String propertyKey, com.vaadin.flow.data.provider.SortDirection direction)
    • jobModelsTableExecuteNowEnabledRule

      @Install(to="jobModelsTable.executeNow", subject="enabledRule") protected boolean jobModelsTableExecuteNowEnabledRule()
    • jobModelsTableActivateEnabledRule

      @Install(to="jobModelsTable.activate", subject="enabledRule") protected boolean jobModelsTableActivateEnabledRule()
    • jobModelsTableDeactivateEnabledRule

      @Install(to="jobModelsTable.deactivate", subject="enabledRule") protected boolean jobModelsTableDeactivateEnabledRule()
    • jobModelsTableRemoveEnabledRule

      @Install(to="jobModelsTable.remove", subject="enabledRule") protected boolean jobModelsTableRemoveEnabledRule()
    • updateDataWithSelection

      protected void updateDataWithSelection(JobModel selectedJobModel)
    • onJobModelsTableExecuteNow

      @Subscribe("jobModelsTable.executeNow") protected void onJobModelsTableExecuteNow(ActionPerformedEvent event)
    • onJobModelsTableActivate

      @Subscribe("jobModelsTable.activate") protected void onJobModelsTableActivate(ActionPerformedEvent event)
    • onJobModelsTableDeactivate

      @Subscribe("jobModelsTable.deactivate") protected void onJobModelsTableDeactivate(ActionPerformedEvent event)
    • onJobModelsTableRemove

      @Subscribe("jobModelsTable.remove") protected void onJobModelsTableRemove(ActionPerformedEvent event)
    • onJobModelsTableRefresh

      @Subscribe("jobModelsTable.refresh") protected void onJobModelsTableRefresh(ActionPerformedEvent event)
    • jobModelsTableCreateAfterCommitHandler

      @Install(to="jobModelsTable.create", subject="afterSaveHandler") protected void jobModelsTableCreateAfterCommitHandler(JobModel jobModel)
    • jobModelsTableEditAfterCommitHandler

      @Install(to="jobModelsTable.edit", subject="afterSaveHandler") protected void jobModelsTableEditAfterCommitHandler(JobModel jobModel)
    • isJobActive

      protected boolean isJobActive(JobModel jobModel)
      Checks if job is actually active - waiting for next execution time or running at this moment
    • isJobRunning

      protected boolean isJobRunning(JobModel jobModel)
      Check if job is actually running via checking running job cache
    • isJobWaitingForExecution

      protected boolean isJobWaitingForExecution(JobModel jobModel)
      Checks if job is actually waiting for next execution
    • isJobInvalid

      protected boolean isJobInvalid(JobModel jobModel)
    • hasActiveState

      protected boolean hasActiveState(JobModel jobModel)
      Checks job model for active (normal\waiting) state without taking into account running job cache
    • onFilterFieldValueChange

      protected void onFilterFieldValueChange(com.vaadin.flow.component.ComponentEvent<?> event)