1 19 20 package com.sslexplorer.webforwards; 21 22 23 import java.util.List ; 24 25 import com.sslexplorer.extensions.types.PluginDatabase; 26 import com.sslexplorer.replacementproxy.Replacement; 27 import com.sslexplorer.security.User; 28 29 36 public interface WebForwardDatabase extends PluginDatabase { 37 38 45 public List <WebForward> getWebForwards(int realmID) throws Exception ; 46 47 55 public WebForward getReverseProxyWebForward(User user, String pathInContext) throws Exception ; 56 57 64 public WebForward getWebForward(int id) throws Exception ; 65 66 73 public boolean reverseProxyPathExists(String path) throws Exception ; 74 75 83 public boolean reverseProxyPathExists(String path, int webforward_id) throws Exception ; 84 85 92 public WebForward createWebForward(WebForward webForward) throws Exception ; 93 94 99 public void updateWebForward(WebForward webForward) throws Exception ; 100 101 108 public WebForward deleteWebForward(int resourceId) throws Exception ; 109 110 116 public List <WebForward> getWebForwards() throws Exception ; 117 118 126 public WebForward getWebForward(String name, int realmID) throws Exception ; 127 128 136 public List <Replacement> getReplacementsForContent(String username, int replaceType, String mimeType, String site) throws Exception ; 137 138 public List getReplacements() throws Exception ; 139 140 public void updateReplacement(Replacement replacement) throws Exception ; 141 142 public void deleteReplacement(int sequence) throws Exception ; 143 144 public Replacement getReplacement(int sequence) throws Exception ; 145 146 public Replacement createReplacement(Replacement replacement) throws Exception ; 147 148 149 } | Popular Tags |