1 5 6 13 package org.exoplatform.services.portletcontainer.pci; 14 15 import javax.portlet.PortletMode; 16 import javax.portlet.WindowState; 17 import java.util.Map ; 18 import java.util.HashMap ; 19 20 public class ActionOutput extends Output { 21 22 private Map renderParameters = new HashMap (); 23 private PortletMode nextMode; 24 private WindowState nextState; 25 private byte[] portletState; 26 27 public Map getRenderParameters() { 28 return renderParameters; 29 } 30 31 public void setRenderParameters(Map renderParameters) { 32 this.renderParameters = renderParameters; 33 } 34 35 public void setRenderParameter(String key, String value) { 36 renderParameters.put(key, new String [] {value}); 37 } 38 39 public void setRenderParameters(String key, String [] values) { 40 renderParameters.put(key, values); 41 } 42 43 public PortletMode getNextMode() { 44 return nextMode; 45 } 46 47 public void setNextMode(PortletMode nextMode) { 48 this.nextMode = nextMode; 49 } 50 51 public WindowState getNextState() { 52 return nextState; 53 } 54 55 public void setNextState(WindowState nextState) { 56 this.nextState = nextState; 57 } 58 59 public byte[] getPortletState() { 60 return portletState; 61 } 62 63 public void setPortletState(byte[] portletState) { 64 this.portletState = portletState; 65 } 66 67 } 68 | Popular Tags |