Package overit.geocall.ui
Interface DBViewManager
- All Known Subinterfaces:
DAViewManager
- All Known Implementing Classes:
ActivityCalendarView,CalendarView,CardView,CardViewWfm,CrewShellCompositionServerTableView,CrewShellDraftCompositionServerTableView,CVMaterials,CVViewMeter,overit.geocallapp.wfm.schedulazione.cristallizzazione.monitorattivita.pianogiornaliero.supporto.DailyPlanCardView,EventServerTableView,PermitResourceViewMultimediali,ResourceForecastCalendarView,ResourceForecastComparatorCalendarView,ResourceView,overit.geocallapp.wfm.ui.container.ResourceViewMultimediali,SchedulableBundlesCardView,ServerTableView,ServerTableViewAccounting,ServerTableViewActiveGroupingConstraint,ServerTableViewActivityForecastHeader,ServerTableViewActivityForecastHeaderSelection,ServerTableViewAddress,ServerTableViewAgendaHistory,ServerTableViewAllocateTechnicians,ServerTableViewBundle,ServerTableViewBundleOperationOrdering,ServerTableViewBundlingRule,ServerTableViewCapacityPlanningActivityDetailResult,ServerTableViewCapacityPlanningActivityResultGantt,ServerTableViewCapacityPlanningResourceDetailResult,ServerTableViewCapacityPlanningScenario,ServerTableViewCopyForecastResourceDetail,ServerTableViewCrewShell,ServerTableViewCrewShellAddress,ServerTableViewCrewShellModel,ServerTableViewCriticalActivityRules,ServerTableViewDailyPlanOrderConfiguration,ServerTableViewDataCollectionSheet,ServerTableViewDataCollectionTemplate,ServerTableViewDataCollectionTemplateStructure,ServerTableViewDataCollectionTemplateStructureGantt,ServerTableViewDCSSchedulingUser,ServerTableViewExpectedMaterial,ServerTableViewForecastActivityDetailGantt,ServerTableViewForecastActivityPriority,ServerTableViewForecastGroupingConstraint,ServerTableViewForecastHeader,ServerTableViewForecastShiftModel,ServerTableViewForecastShiftModelDetail,ServerTableViewImmediateSchedulingActivities,ServerTableViewImmediateSchedulingActivitiesHistory,ServerTableViewImportForecast,ServerTableViewImportForecastResources,ServerTableViewImportOperationActivityFromWo,ServerTableViewImportWarehouseMaterial,ServerTableViewLogDetail,ServerTableViewLogMaster,ServerTableViewLogMaster,ServerTableViewMaterial,ServerTableViewMobileErrorLog,ServerTableViewMultistageGroup,ServerTableViewMultistageWOOperation,ServerTableViewNotifications,ServerTableViewObtainedPermitHistory,ServerTableViewOperationActivity,ServerTableViewOperationCenterAddress,ServerTableViewPermitSingleIntervention,ServerTableViewRequiredPermitHistory,ServerTableViewResourceAddress,ServerTableViewResourceForecastHeaderSelection,ServerTableViewRoughPlanning,ServerTableViewRoughPlanningActivities,ServerTableViewSchedulingProposal,ServerTableViewSchedulingUser,overit.geocallapp.wfm.schedulazione.odl.ricerca.ServerTableViewSearchWO,ServerTableViewSelectionForecastResource,ServerTableViewSelectionRoughPlanningResources,ServerTableViewSerializedMaterial,ServerTableViewStock,ServerTableViewStockDetail,ServerTableViewStockHistory,ServerTableViewTechnicalObject,ServerTableViewTechnicalObjectType,ServerTableViewTimesheet,ServerTableViewTooltipConfiguration,ServerTableViewTooltipConfigurationRules,ServerTableViewTransferRequest,ServerTableViewUser,ServerTableViewWarehouse,ServerTableViewWarehouseMaterial,ServerTableViewWarehouseOperation,ServerTableViewWithCount,ServerTableViewWorkloadDistributionRule,ServerTableViewWorkOrderNote,ServerTableViewWorkOrderOperationType,ServerTableViewWorkOrderType,SynchronizedPlanningMonitorTableView,TableView,TableViewDD,TableViewSchedulableActivities,TooltipConfigurationTreeModelTableView,overit.geocallapp.wfm.ui.container.TreeModelTableView,TVGanttTest
public interface DBViewManager
Interface that allows, to the components that implement it, to manage a DBView for loading data from database.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets theDBViewset on the component.getMode()Returns the current active mode of the component.booleangetRo()Gets the readonly state of the component.voidSets theDBView, i.e. the logical view of a portion of a database table usually obtained as a result of a query, to the component.voidsetFROM(int i) Sets the index of the first record to show.voidDefines the sorting mode of the data of the component.voidsetRo(boolean ro) Sets the readonly state of the component.voidsetTO(int i) Sets the index of the last record to show.
-
Method Details
-
setDBView
Sets theDBView, i.e. the logical view of a portion of a database table usually obtained as a result of a query, to the component.- Parameters:
dbv- The DBView to set on the component.
-
getDBView
DBView getDBView()Gets theDBViewset on the component.- Returns:
- The
DBViewset on the component.
-
setRo
void setRo(boolean ro) Sets the readonly state of the component.- Parameters:
ro- true if the component must be in readonly state, false otherwise
-
getRo
boolean getRo()Gets the readonly state of the component.- Returns:
- true if the component is in readonly state, false otherwise
-
setFROM
void setFROM(int i) Sets the index of the first record to show.- Parameters:
i- The index of the first record to show
-
setTO
void setTO(int i) Sets the index of the last record to show.- Parameters:
i- The index of the last record to show
-
getMode
String getMode()Returns the current active mode of the component.- Returns:
- The string that defines the current active mode of the component.
-
setMode
Defines the sorting mode of the data of the component.
It is possible to indicate the name of the field used to sort all the records in ascending or descending order and can be obtained even a sorting on multiple fields.- Parameters:
s- The sorting mode to set.
-
changedMetaData
boolean changedMetaData()
-