Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api
Interface DashboardListenerManager

    public interface DashboardListenerManager

Manager to manage Dashboard Listener

Since:
  version 12

Method Summary
`boolean` | `addDashboardListener(DashboardListenerInfo info)` Add dashboard listener information
`boolean` | `deleteDashboardListeners(java.util.List<java.lang.String> classNames)` Deletes multiple dashboard listeners by classNames.
`DashboardListenerInfo` | `getDashboardListenerByName(java.lang.String className)` Get Dashboard listener information by target.
`DashboardListenerInfo` | `getDashboardListenerByTarget(java.lang.String target)` Get Dashboard listener information by target.
`java.util.List<java.lang.String>` | `getDashboardListenerImplClassNames(java.lang.String filePath)` Gets implementation classes names which implement `com.jinfonet.web.modules.DashboardListener` interface, in the specified jar file.
`java.util.Vector<DashboardListenerInfo>` | `getDashboardListeners()` Get all dashboard listeners information
`boolean` | `setMultiEnabled(java.util.List<java.lang.String> classNames, boolean isEnabled)` Set whether dashboard listeners are enabled
`boolean` | `updateDashboardListener(DashboardListenerInfo info)` Update dashboard listener information

Method Detail

### addDashboardListener

    boolean addDashboardListener(DashboardListenerInfo info)

  Add dashboard listener information

  Parameters:
    `info` - dashboard listener information
  Returns:
    whether is success

### updateDashboardListener

    boolean updateDashboardListener(DashboardListenerInfo info)

  Update dashboard listener information

  Parameters:
    `info` - dashboard listener information
  Returns:
    whether is success

### getDashboardListenerByTarget

    DashboardListenerInfo getDashboardListenerByTarget(java.lang.String target)

  Get Dashboard listener information by target.

  Parameters:
    `target` -
  Returns:
    Dashboard listener information

### getDashboardListenerByName

    DashboardListenerInfo getDashboardListenerByName(java.lang.String className)

  Get Dashboard listener information by target.

  Parameters:
    `className` -
  Returns:
    Dashboard listener information

### getDashboardListeners

    java.util.Vector<DashboardListenerInfo> getDashboardListeners()

  Get all dashboard listeners information

  Returns:
    list of dashboard listeners information

### setMultiEnabled

    boolean setMultiEnabled(java.util.List<java.lang.String> classNames,
                            boolean isEnabled)

  Set whether dashboard listeners are enabled

  Parameters:
    `classNames` -
    `isEnabled` -
  Returns:
    whether is success

### deleteDashboardListeners

    boolean deleteDashboardListeners(java.util.List<java.lang.String> classNames)

  Deletes multiple dashboard listeners by classNames.

  Parameters:
    `classNames` -
  Returns:
    whether is success

### getDashboardListenerImplClassNames

    java.util.List<java.lang.String> getDashboardListenerImplClassNames(java.lang.String filePath)

  Gets implementation classes names which implement `com.jinfonet.web.modules.DashboardListener` interface, in the specified jar file.

  Parameters:
    `filePath` - the jarFile
  Returns:
    each element represents a class name(full name).

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD