1 16 package org.apache.cocoon.portal; 17 18 import java.util.Iterator ; 19 import java.util.List ; 20 import java.util.Map ; 21 22 import org.apache.avalon.framework.component.Component; 23 import org.apache.cocoon.portal.layout.Layout; 24 25 37 public interface PortalService extends Component { 38 39 40 String ROLE = PortalService.class.getName(); 41 42 45 String getPortalName(); 46 47 void setPortalName(String value); 48 49 54 Object getAttribute(String key); 55 56 61 void setAttribute(String key, Object value); 62 63 67 void removeAttribute(String key); 68 69 72 Iterator getAttributeNames(); 73 74 79 Object getTemporaryAttribute(String key); 80 81 86 void setTemporaryAttribute(String key, Object value); 87 88 92 void removeTemporaryAttribute(String key); 93 94 97 Iterator getTemporaryAttributeNames(); 98 99 102 PortalComponentManager getComponentManager(); 103 104 108 void setEntryLayout(String layoutKey, Layout object); 109 Layout getEntryLayout(String layoutKey); 110 111 114 void setDefaultLayoutKey(String layoutKey); 115 116 119 String getDefaultLayoutKey(); 120 121 124 List getSkinDescriptions(); 125 126 130 Map getObjectModel(); 131 132 136 void setRenderable(Boolean renderable); 137 138 142 Boolean isRenderable(); 143 } 144 | Popular Tags |