1 9 package org.jboss.portal.portlet.metadata; 10 11 import java.util.LinkedHashMap ; 12 import java.util.LinkedList ; 13 import java.util.List ; 14 import java.util.Map ; 15 16 import javax.servlet.ServletContext ; 17 18 import org.jboss.portal.server.metadata.ApplicationMetaData; 19 20 24 public class PortletApplicationMetaData extends ApplicationMetaData 25 { 26 27 private String version; 28 private Map portletModes; 29 private Map windowStates; 30 private Map userAttributes; 31 private List securityConstraints; 32 33 public PortletApplicationMetaData(String name, 34 ServletContext servletContext, 35 String contextPath, 36 ClassLoader classLoader) 37 { 38 super(name, servletContext, contextPath, classLoader); 39 this.portletModes = new LinkedHashMap (); 40 this.windowStates = new LinkedHashMap (); 41 this.userAttributes = new LinkedHashMap (); 42 this.securityConstraints = new LinkedList (); 43 } 44 45 public String getVersion() 46 { 47 return version; 48 } 49 50 public void setVersion(String version) 51 { 52 this.version = version; 53 } 54 55 public Map getPortletModes() 56 { 57 return portletModes; 58 } 59 60 public Map getWindowStates() 61 { 62 return windowStates; 63 } 64 65 public Map getUserAttributes() 66 { 67 return userAttributes; 68 } 69 70 public List getSecurityConstraints() 71 { 72 return securityConstraints; 73 } 74 } 75 | Popular Tags |