|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.om.profile.psml.PsmlConfigElement org.apache.jetspeed.om.profile.psml.PsmlIdentityElement org.apache.jetspeed.om.profile.psml.PsmlPortlets
Base simple bean-like implementation of the Portlets interface suitable for Castor XML serialization.
Constructor Summary | |
PsmlPortlets()
|
Method Summary | |
void |
addEntry(Entry entry)
|
void |
addPortlets(Portlets p)
|
void |
addPortlets(PsmlPortlets p)
|
void |
addReference(PsmlReference ref)
|
void |
addReference(Reference ref)
|
java.lang.Object |
clone()
Create a clone of this object |
Controller |
getController()
|
java.util.Vector |
getEntries()
|
Entry[] |
getEntriesArray()
|
java.util.Iterator |
getEntriesIterator()
|
Entry |
getEntry(int index)
|
int |
getEntryCount()
|
Portlets |
getParentPortlets()
Returns the parent. |
java.util.Vector |
getPortlets()
Return a list of portlet. |
Portlets |
getPortlets(int index)
|
Portlets[] |
getPortletsArray()
|
int |
getPortletsCount()
|
java.util.Iterator |
getPortletsIterator()
|
Reference |
getReference(int index)
|
Reference[] |
getReferenceArray()
|
int |
getReferenceCount()
|
java.util.Iterator |
getReferenceIterator()
|
java.util.Vector |
getReferences()
|
Security |
getSecurity()
|
SecurityReference |
getSecurityRef()
Getter for property securityRef. |
Entry |
removeEntry(int index)
|
Portlets |
removePortlets(int index)
|
Reference |
removeReference(int index)
|
void |
setController(Controller controller)
|
void |
setEntries(java.util.Vector entries)
|
void |
setParentPortlets(Portlets parent)
Sets the parent. |
void |
setPortlets(java.util.Vector portlets)
|
void |
setSecurity(Security security)
|
void |
setSecurityRef(SecurityReference securityRef)
Setter for property securityRef. |
Methods inherited from class org.apache.jetspeed.om.profile.psml.PsmlIdentityElement |
getControl, getDescription, getId, getImage, getLayout, getMetaInfo, getSkin, getTitle, setControl, setDescription, setId, setImage, setLayout, setMetaInfo, setSkin, setTitle |
Methods inherited from class org.apache.jetspeed.om.profile.psml.PsmlConfigElement |
addParameter, getName, getParameter, getParameter, getParameter, getParameterCount, getParameterIterator, getParameters, getParameterValue, removeAllParameter, removeParameter, setName, setParameter, setParameters |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.om.profile.IdentityElement |
getControl, getId, getLayout, getMetaInfo, getSkin, setControl, setId, setLayout, setMetaInfo, setSkin |
Methods inherited from interface org.apache.jetspeed.om.profile.MetaInfo |
getDescription, getImage, getTitle, setDescription, setImage, setTitle |
Methods inherited from interface org.apache.jetspeed.om.profile.ConfigElement |
addParameter, getName, getParameter, getParameter, getParameter, getParameterCount, getParameterIterator, getParameterValue, removeAllParameter, removeParameter, setName, setParameter |
Constructor Detail |
public PsmlPortlets()
Method Detail |
public Controller getController()
getController
in interface Portlets
getController
in class PsmlIdentityElement
public void setController(Controller controller)
setController
in interface Portlets
setController
in class PsmlIdentityElement
public void setSecurity(Security security)
setSecurity
in interface Portlets
public Security getSecurity()
getSecurity
in interface Portlets
public java.util.Vector getEntries()
public void setEntries(java.util.Vector entries)
public java.util.Vector getPortlets()
public void setPortlets(java.util.Vector portlets)
public java.util.Vector getReferences()
public void addPortlets(PsmlPortlets p)
public void addReference(PsmlReference ref)
public void addReference(Reference ref) throws java.lang.IndexOutOfBoundsException
addReference
in interface Portlets
java.lang.IndexOutOfBoundsException
public int getEntryCount()
getEntryCount
in interface Portlets
public int getReferenceCount()
getReferenceCount
in interface Portlets
public int getPortletsCount()
getPortletsCount
in interface Portlets
public Entry removeEntry(int index)
removeEntry
in interface Portlets
public Portlets removePortlets(int index)
removePortlets
in interface Portlets
public Reference removeReference(int index)
removeReference
in interface Portlets
public Entry getEntry(int index) throws java.lang.IndexOutOfBoundsException
getEntry
in interface Portlets
java.lang.IndexOutOfBoundsException
public Portlets getPortlets(int index) throws java.lang.IndexOutOfBoundsException
getPortlets
in interface Portlets
java.lang.IndexOutOfBoundsException
public Reference getReference(int index) throws java.lang.IndexOutOfBoundsException
getReference
in interface Portlets
java.lang.IndexOutOfBoundsException
public java.util.Iterator getEntriesIterator()
getEntriesIterator
in interface Portlets
public java.util.Iterator getPortletsIterator()
getPortletsIterator
in interface Portlets
public java.util.Iterator getReferenceIterator()
getReferenceIterator
in interface Portlets
public void addEntry(Entry entry) throws java.lang.IndexOutOfBoundsException
addEntry
in interface Portlets
java.lang.IndexOutOfBoundsException
public void addPortlets(Portlets p) throws java.lang.IndexOutOfBoundsException
addPortlets
in interface Portlets
java.lang.IndexOutOfBoundsException
public Entry[] getEntriesArray()
getEntriesArray
in interface Portlets
public Portlets[] getPortletsArray()
getPortletsArray
in interface Portlets
public Reference[] getReferenceArray()
getReferenceArray
in interface Portlets
public SecurityReference getSecurityRef()
getSecurityRef
in interface Portlets
public void setSecurityRef(SecurityReference securityRef)
setSecurityRef
in interface Portlets
securityRef
- New value of property securityRef.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface MetaInfo
clone
in class PsmlIdentityElement
java.lang.CloneNotSupportedException
public Portlets getParentPortlets()
getParentPortlets
in interface Portlets
public void setParentPortlets(Portlets parent)
setParentPortlets
in interface Portlets
parent
- The parent to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |