1 24 package org.riotfamily.components; 25 26 import java.io.IOException ; 27 import java.util.Collection ; 28 import java.util.List ; 29 import java.util.Map ; 30 31 import javax.servlet.http.HttpServletRequest ; 32 import javax.servlet.http.HttpServletResponse ; 33 34 35 36 37 public interface Component { 38 39 43 public boolean isDynamic(); 44 45 public void setPropertyProcessors(List propertyProcessors); 46 47 public void addPropertyProcessor(PropertyProcessor propertyProcessor); 48 49 public Map buildModel(ComponentVersion version); 50 51 public void updateProperties(ComponentVersion version, Map model); 52 53 public List getPropertyProcessors(); 54 55 58 public void render(ComponentVersion version, String positionClassName, 59 HttpServletRequest request, HttpServletResponse response) 60 throws IOException ; 61 62 66 public Collection getCacheTags(ComponentVersion version); 67 68 } 69 | Popular Tags |