1 16 17 package org.apache.jetspeed.om.profile; 18 19 import java.util.Iterator ; 21 22 import org.apache.jetspeed.om.SecurityReference; 24 25 32 public interface Portlets extends IdentityElement 33 { 34 public Controller getController(); 35 36 public void setController(Controller controller); 37 38 public void setSecurity(Security security); 39 40 public Security getSecurity(); 41 42 public int getEntryCount(); 43 44 public int getPortletsCount(); 45 46 public int getReferenceCount(); 47 48 public Portlets getPortlets(int index) 49 throws java.lang.IndexOutOfBoundsException ; 50 51 public Entry getEntry(int index) 52 throws java.lang.IndexOutOfBoundsException ; 53 54 public Reference getReference(int index) 55 throws java.lang.IndexOutOfBoundsException ; 56 57 public Entry removeEntry(int index); 58 59 public Portlets removePortlets(int index); 60 61 public Reference removeReference(int index); 62 63 public Iterator getEntriesIterator(); 64 65 public Iterator getPortletsIterator(); 66 67 public Iterator getReferenceIterator(); 68 69 public void addEntry(Entry entry) 70 throws java.lang.IndexOutOfBoundsException ; 71 72 public void addPortlets(Portlets portlets) 73 throws java.lang.IndexOutOfBoundsException ; 74 75 public void addReference(Reference ref) 76 throws java.lang.IndexOutOfBoundsException ; 77 78 public Entry[] getEntriesArray(); 79 80 public Portlets[] getPortletsArray(); 81 82 public Reference[] getReferenceArray(); 83 84 87 public SecurityReference getSecurityRef(); 88 89 92 public void setSecurityRef(SecurityReference securityRef); 93 94 95 99 public Portlets getParentPortlets(); 100 101 105 public void setParentPortlets(Portlets parent); 106 } | Popular Tags |