public class InetDevicePanel extends ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType> implements ru.bitel.common.client.GroupParent
Modifier and Type | Class and Description |
---|---|
protected class |
InetDevicePanel.InetDeviceTableModel |
ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel.DeviceTableModel
ru.bitel.common.client.AbstractBGUPanel.AsyncAction<B>, ru.bitel.common.client.AbstractBGUPanel.DefaultAction, ru.bitel.common.client.AbstractBGUPanel.MenuAction
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
ACTION_DEVICE_SELECT, ACTION_DEVICE_SELECTED, currentDay, defaultDeviceTypeIds, filter, iconFolder, iconLeaf, iconNode, iconRoot, mode, MODE_EDIT, MODE_FILTER, MODE_FILTER_SOURCE, MODE_SELECT, model, rootTitle, rootTitleSuffix, selectedDevice
CANCEL, CLOSE, DELETE, EDIT, EXPORT, ICON_DELETE, ICON_EDIT, ICON_NEW, ICON_REFRESH, IMPORT, MOVE_DOWN, MOVE_UP, NEW, OK, REFRESH, RESET
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
InetDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx) |
InetDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx,
int mode,
java.awt.event.ActionListener actionListener) |
Modifier and Type | Method and Description |
---|---|
void |
deviceDelete(int id) |
InetDevice |
deviceGet(int id) |
void |
deviceMove(int id,
java.util.Set<java.lang.Integer> cutSet) |
InetDevice |
deviceRoot(java.lang.String identifier,
java.lang.String host,
java.util.Set<java.lang.Integer> deviceTypeIds,
java.util.Set<java.lang.Integer> deviceGroupIds,
java.util.Date dateFrom,
java.util.Date dateTo,
java.util.Date intersectDateFrom,
java.util.Date intersectDateTo,
java.util.List<FilterEntityAttr> entityFilter) |
InetDevice |
deviceSourceRoot() |
int |
deviceUpdate(InetDevice device) |
static void |
executeCommand(ru.bitel.bgbilling.client.common.ClientContext context,
int invDeviceId,
int inetDeviceId,
java.lang.String operation,
int servId,
int connectionId) |
protected void |
executeCommand(InetDevice device,
java.lang.String operation) |
protected java.lang.Class<InetDevice> |
getDeviceClass() |
protected java.lang.Class<InetDeviceType> |
getDeviceTypeClass() |
InetDeviceService |
getInetDeviceService() |
int |
getInvDeviceId(InetDevice device) |
protected InetDevice |
getLoadingStateRoot() |
protected java.lang.String |
getTitle(InetDevice val,
java.util.Calendar calendar) |
DeviceService |
getWs() |
protected void |
initActions() |
protected void |
initEditor(ru.bitel.bgbilling.client.common.BGEditor editor) |
boolean |
isLibrary() |
protected void |
jbInit() |
InetDevice |
newDevice() |
InetDeviceType |
newDeviceType(int id,
java.lang.String title) |
protected ru.bitel.bgbilling.client.common.BGUPanel |
newMainForm(java.util.concurrent.atomic.AtomicReference<InetDevice> currentRef) |
protected ru.bitel.common.client.treetable.BGTreeTableModel<InetDevice> |
newModel() |
protected void |
ok() |
void |
setFilter(java.util.Set<java.lang.Integer> deviceTypeIds,
java.util.Set<java.lang.Integer> deviceGroupIds) |
protected javax.swing.JComponent |
treeWrap(ru.bitel.bgbilling.client.common.BGFilterPane splitPane) |
addNotify, getIcon, getSelectedDevice, getSelectedDeviceIds, getSelectedDevices, needInterfacePanel, performDeviceSelected, shownNotify
afterAsyncJbInit, beforeAsyncJbInit, build, buildAsync, getUserEmail, init, initAction, innerGetContext, openContract, openContract, processException, saveUserEmail, setParameter
actionPerformed, getContext, performAction, performAction, performAction, performActionClose, performActionOpen
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public InetDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx)
public InetDevicePanel(ru.bitel.bgbilling.client.common.ClientContext ctx, int mode, java.awt.event.ActionListener actionListener)
protected ru.bitel.common.client.treetable.BGTreeTableModel<InetDevice> newModel()
newModel
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
public boolean isLibrary()
isLibrary
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected java.lang.String getTitle(InetDevice val, java.util.Calendar calendar)
getTitle
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected void initEditor(ru.bitel.bgbilling.client.common.BGEditor editor)
initEditor
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected void executeCommand(InetDevice device, java.lang.String operation) throws ru.bitel.bgbilling.common.BGException
executeCommand
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public static void executeCommand(ru.bitel.bgbilling.client.common.ClientContext context, int invDeviceId, int inetDeviceId, java.lang.String operation, int servId, int connectionId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void initActions()
initActions
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected void jbInit()
jbInit
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected javax.swing.JComponent treeWrap(ru.bitel.bgbilling.client.common.BGFilterPane splitPane)
treeWrap
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected java.lang.Class<InetDevice> getDeviceClass()
getDeviceClass
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
public InetDevice newDevice()
newDevice
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
public InetDeviceType newDeviceType(int id, java.lang.String title)
newDeviceType
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
public DeviceService getWs()
getWs
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
public InetDeviceService getInetDeviceService()
public InetDevice deviceGet(int id) throws ru.bitel.bgbilling.common.BGException
deviceGet
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public void deviceDelete(int id) throws ru.bitel.bgbilling.common.BGException
deviceDelete
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public int deviceUpdate(InetDevice device) throws ru.bitel.bgbilling.common.BGException
deviceUpdate
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public void deviceMove(int id, java.util.Set<java.lang.Integer> cutSet) throws ru.bitel.bgbilling.common.BGException
deviceMove
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public InetDevice deviceSourceRoot() throws ru.bitel.bgbilling.common.BGException
deviceSourceRoot
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public InetDevice deviceRoot(java.lang.String identifier, java.lang.String host, java.util.Set<java.lang.Integer> deviceTypeIds, java.util.Set<java.lang.Integer> deviceGroupIds, java.util.Date dateFrom, java.util.Date dateTo, java.util.Date intersectDateFrom, java.util.Date intersectDateTo, java.util.List<FilterEntityAttr> entityFilter) throws ru.bitel.bgbilling.common.BGException
deviceRoot
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
ru.bitel.bgbilling.common.BGException
public int getInvDeviceId(InetDevice device)
getInvDeviceId
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected java.lang.Class<InetDeviceType> getDeviceTypeClass()
getDeviceTypeClass
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected ru.bitel.bgbilling.client.common.BGUPanel newMainForm(java.util.concurrent.atomic.AtomicReference<InetDevice> currentRef)
newMainForm
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
public void setFilter(java.util.Set<java.lang.Integer> deviceTypeIds, java.util.Set<java.lang.Integer> deviceGroupIds)
protected void ok()
ok
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>
protected InetDevice getLoadingStateRoot()
getLoadingStateRoot
in class ru.bitel.oss.systems.inventory.resource.client.device.DevicePanel<InetDevice,InetDeviceType>