1 17 18 package org.pentaho.core.solution; 19 20 import java.util.*; 21 22 import org.pentaho.core.repository.IContentItem; 23 24 31 public interface IOutputHandler { 32 33 public static final int OUTPUT_TYPE_PARAMETERS = 1; 34 35 public static final int OUTPUT_TYPE_CONTENT = 2; 36 37 public static final int OUTPUT_TYPE_DEFAULT = 3; 38 39 public static final String RESPONSE = "response"; 41 public static final String CONTENT = "content"; 43 public static final String FILE = "file"; 45 50 public Map getOutputDefs(); 51 52 public boolean contentDone(); 53 54 61 public IOutputDef getOutputDef(String name); 62 63 69 public IContentItem getFeedbackContentItem(); 70 71 77 88 public IContentItem getOutputContentItem(String objectName, String contentName); 89 90 104 public IContentItem getOutputContentItem(String objectName, String contentName, String title, String url); 105 106 116 public boolean allowFeedback(); 117 118 135 public void setContentItem(IContentItem content, String objectName, String contentName); 136 137 144 public void setOutputPreference(int outputType); 145 146 153 public int getOutputPreference(); 154 155 165 public void setOutput(String name, Object value); 166 167 } 168
| Popular Tags
|