1 24 package org.riotfamily.riot.list.command.result; 25 26 import org.riotfamily.riot.list.command.CommandResult; 27 28 public class PopupResult implements CommandResult { 29 30 public static final String ACTION = "popup"; 31 32 private String url; 33 34 private String windowName; 35 36 private String popupBlockerMessage; 37 38 39 public PopupResult(String url) { 40 this.url = url; 41 } 42 43 public String getAction() { 44 return ACTION; 45 } 46 47 public PopupResult(String url, String windowName, 48 String popupBlockerMessage) { 49 50 this.url = url; 51 this.windowName = windowName; 52 this.popupBlockerMessage = popupBlockerMessage; 53 } 54 55 public String getPopupBlockerMessage() { 56 return this.popupBlockerMessage; 57 } 58 59 public void setPopupBlockerMessage(String popupBlockerMessage) { 60 this.popupBlockerMessage = popupBlockerMessage; 61 } 62 63 public String getUrl() { 64 return this.url; 65 } 66 67 public String getWindowName() { 68 return this.windowName; 69 } 70 71 public void setWindowName(String windowName) { 72 this.windowName = windowName; 73 } 74 75 } 76 | Popular Tags |