1 16 17 package org.apache.jetspeed.om.registry; 18 19 import java.util.Iterator ; 20 21 38 public interface PortletEntry extends PortletInfoEntry 39 { 40 41 public static final String TYPE_REF = "ref"; 42 public static final String TYPE_INSTANCE = "instance"; 43 public static final String TYPE_ABSTRACT = "abstract"; 44 45 public final static String DEFAULT_GROUP = "Jetspeed"; 46 public final static String DEFAULT_CATEGORY_REF = "General"; 47 public final static String DEFAULT_CATEGORY_ABSTRACT = "Abstract"; 48 49 50 public String getURL(); 51 52 56 public void setURL( String url ); 57 58 67 public boolean isCachedOnURL(); 68 69 78 public void setCachedOnURL(boolean cached); 79 80 85 public ContentURL getURLEntry(); 86 87 93 public CachedParameter getCachedParameter( String name ); 94 95 96 public String getParent(); 97 98 103 public void setParent( String parent ); 104 105 108 public boolean isAdmin(); 109 110 111 public boolean isApplication(); 112 113 119 public void setApplication( boolean application ); 120 121 122 public String getType(); 123 124 129 public void setType( String type ); 130 131 132 137 public Iterator listCategories(); 138 139 145 public boolean hasCategory(String name); 146 147 154 public boolean hasCategory(String name, String group); 155 156 161 public void addCategory(String name); 162 163 169 public void addCategory(String name, String group); 170 171 176 public void removeCategory(String name); 177 178 184 public void removeCategory(String name, String group); 185 186 } 187 188 | Popular Tags |