1 19 20 package com.sslexplorer.applications; 21 22 import java.util.List ; 23 import java.util.Map ; 24 25 import com.sslexplorer.extensions.types.PluginDatabase; 26 27 34 public interface ApplicationShortcutDatabase extends PluginDatabase { 35 36 46 public int createApplicationShortcut(String application, String name, String description, Map settings, int realmID) 47 throws Exception ; 48 49 56 public List <ApplicationShortcut> getShortcuts() throws Exception ; 57 58 65 public List <ApplicationShortcut> getShortcuts(int realmID) throws Exception ; 66 67 74 public ApplicationShortcut getShortcut(int shortcutId) throws Exception ; 75 76 83 public ApplicationShortcut getShortcut(String name, int realmID) throws Exception ; 84 85 92 public ApplicationShortcut deleteShortcut(int shortcutId) throws Exception ; 93 94 103 public void updateApplicationShortcut(int id, String name, String description, Map settings) 104 throws Exception ; 105 106 112 public void removeApplicationShortcuts(String applicationId) throws Exception ; 113 } | Popular Tags |