|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.om.profile.psml.PsmlConfigElement
org.apache.jetspeed.om.profile.psml.PsmlIdentityElement
org.apache.jetspeed.om.profile.psml.PsmlPortlets
org.apache.jetspeed.om.profile.psml.PsmlReference
Base simple bean-like implementation of the Portlets interface suitable for Castor XML serialization. sure wish I could figure out how to use Proxies with Castor...
| Field Summary | |
protected java.lang.String |
path
|
protected PsmlPortlets |
ref
|
| Constructor Summary | |
PsmlReference()
|
|
| Method Summary | |
void |
addEntry(Entry entry)
|
void |
addParameter(Parameter vParameter)
|
void |
addPortlets(Portlets p)
|
void |
addReference(Reference ref)
|
java.lang.Object |
clone()
Create a clone of this object |
Control |
getControl()
|
Controller |
getController()
|
java.lang.String |
getDescription()
|
java.util.Vector |
getEntries()
|
Entry[] |
getEntriesArray()
|
java.util.Iterator |
getEntriesIterator()
|
Entry |
getEntry(int index)
|
int |
getEntryCount()
|
java.lang.String |
getImage()
|
MetaInfo |
getMetaInfo()
Required by Castor 0.8.11 XML serialization for retrieving the metainfo |
Parameter[] |
getParameter()
|
Parameter |
getParameter(int index)
|
Parameter |
getParameter(java.lang.String name)
|
int |
getParameterCount()
|
java.util.Iterator |
getParameterIterator()
|
java.util.Vector |
getParameters()
|
java.lang.String |
getParameterValue(java.lang.String name)
|
java.lang.String |
getPath()
|
java.util.Vector |
getPortlets()
Return a list of portlet. |
Portlets |
getPortlets(int index)
|
Portlets[] |
getPortletsArray()
|
int |
getPortletsCount()
|
java.util.Iterator |
getPortletsIterator()
|
Portlets |
getPortletsReference()
|
Reference |
getReference(int index)
|
Reference[] |
getReferenceArray()
|
int |
getReferenceCount()
|
java.util.Iterator |
getReferenceIterator()
|
Security |
getSecurity()
|
SecurityReference |
getSecurityRef()
Getter for property securityRef. |
java.lang.String |
getTitle()
|
void |
removeAllParameter()
|
Entry |
removeEntry(int index)
|
Parameter |
removeParameter(int index)
|
Portlets |
removePortlets(int index)
|
Reference |
removeReference(int index)
|
void |
setControl(Control control)
|
void |
setController(Controller controller)
|
void |
setDescription(java.lang.String description)
Sets the descsription of this parameter.value. |
void |
setEntries(java.util.Vector entries)
|
void |
setImage(java.lang.String image)
Sets the image name of this parameter. |
void |
setParameter(int index,
Parameter vParameter)
|
void |
setParameters(java.util.Vector parameters)
Sets the parameters for this element |
void |
setPath(java.lang.String path)
|
void |
setPortlets(java.util.Vector portlets)
|
void |
setSecurity(Security security)
|
void |
setSecurityRef(SecurityReference securityRef)
Setter for property securityRef. |
void |
setTitle(java.lang.String title)
Sets the descsription of this parameter.value. |
| Methods inherited from class org.apache.jetspeed.om.profile.psml.PsmlPortlets |
addPortlets, addReference, getParentPortlets, getReferences, setParentPortlets |
| Methods inherited from class org.apache.jetspeed.om.profile.psml.PsmlIdentityElement |
getId, getLayout, getSkin, setId, setLayout, setMetaInfo, setSkin |
| Methods inherited from class org.apache.jetspeed.om.profile.psml.PsmlConfigElement |
getName, setName |
| 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.Portlets |
getParentPortlets, setParentPortlets |
| Methods inherited from interface org.apache.jetspeed.om.profile.IdentityElement |
getId, getLayout, getSkin, setId, setLayout, setMetaInfo, setSkin |
| Methods inherited from interface org.apache.jetspeed.om.profile.ConfigElement |
getName, setName |
| Field Detail |
protected java.lang.String path
protected PsmlPortlets ref
| Constructor Detail |
public PsmlReference()
| Method Detail |
public Portlets getPortletsReference()
getPortletsReference in interface Referencepublic void setPath(java.lang.String path)
setPath in interface Referencepublic java.lang.String getPath()
getPath in interface Referencepublic Controller getController()
getController in interface PortletsgetController in class PsmlPortletspublic void setController(Controller controller)
setController in interface PortletssetController in class PsmlPortletspublic void setSecurity(Security security)
setSecurity in interface PortletssetSecurity in class PsmlPortletspublic Security getSecurity()
getSecurity in interface PortletsgetSecurity in class PsmlPortletspublic java.util.Vector getEntries()
getEntries in class PsmlPortletspublic void setEntries(java.util.Vector entries)
setEntries in class PsmlPortletspublic java.util.Vector getPortlets()
PsmlPortlets
getPortlets in class PsmlPortletspublic void setPortlets(java.util.Vector portlets)
setPortlets in class PsmlPortletspublic int getEntryCount()
getEntryCount in interface PortletsgetEntryCount in class PsmlPortletspublic int getPortletsCount()
getPortletsCount in interface PortletsgetPortletsCount in class PsmlPortletspublic Entry removeEntry(int index)
removeEntry in interface PortletsremoveEntry in class PsmlPortletspublic Portlets removePortlets(int index)
removePortlets in interface PortletsremovePortlets in class PsmlPortlets
public Entry getEntry(int index)
throws java.lang.IndexOutOfBoundsException
getEntry in interface PortletsgetEntry in class PsmlPortletsjava.lang.IndexOutOfBoundsException
public Portlets getPortlets(int index)
throws java.lang.IndexOutOfBoundsException
getPortlets in interface PortletsgetPortlets in class PsmlPortletsjava.lang.IndexOutOfBoundsExceptionpublic java.util.Iterator getEntriesIterator()
getEntriesIterator in interface PortletsgetEntriesIterator in class PsmlPortletspublic java.util.Iterator getPortletsIterator()
getPortletsIterator in interface PortletsgetPortletsIterator in class PsmlPortlets
public void addEntry(Entry entry)
throws java.lang.IndexOutOfBoundsException
addEntry in interface PortletsaddEntry in class PsmlPortletsjava.lang.IndexOutOfBoundsException
public void addPortlets(Portlets p)
throws java.lang.IndexOutOfBoundsException
addPortlets in interface PortletsaddPortlets in class PsmlPortletsjava.lang.IndexOutOfBoundsExceptionpublic Entry[] getEntriesArray()
getEntriesArray in interface PortletsgetEntriesArray in class PsmlPortletspublic Portlets[] getPortletsArray()
getPortletsArray in interface PortletsgetPortletsArray in class PsmlPortletspublic Control getControl()
getControl in interface IdentityElementgetControl in class PsmlIdentityElementIdentityElement.getControl()public void setControl(Control control)
setControl in interface IdentityElementsetControl in class PsmlIdentityElementIdentityElement.setControl(org.apache.jetspeed.om.profile.Control)public MetaInfo getMetaInfo()
getMetaInfo in interface IdentityElementgetMetaInfo in class PsmlIdentityElementIdentityElement.getMetaInfo()public java.lang.String getTitle()
getTitle in interface MetaInfogetTitle in class PsmlIdentityElementMetaInfo.getTitle()public void setTitle(java.lang.String title)
MetaInfo
setTitle in interface MetaInfosetTitle in class PsmlIdentityElementMetaInfo.setTitle(java.lang.String)public java.lang.String getDescription()
getDescription in interface MetaInfogetDescription in class PsmlIdentityElementMetaInfo.getDescription()public void setDescription(java.lang.String description)
MetaInfo
setDescription in interface MetaInfosetDescription in class PsmlIdentityElementMetaInfo.setDescription(java.lang.String)public java.lang.String getImage()
getImage in interface MetaInfogetImage in class PsmlIdentityElementMetaInfo.getImage()public void setImage(java.lang.String image)
MetaInfo
setImage in interface MetaInfosetImage in class PsmlIdentityElementMetaInfo.setImage(java.lang.String)public java.util.Vector getParameters()
getParameters in class PsmlConfigElementpublic void setParameters(java.util.Vector parameters)
setParameters in class PsmlConfigElementparameters - public java.lang.String getParameterValue(java.lang.String name)
getParameterValue in interface ConfigElementgetParameterValue in class PsmlConfigElementpublic Parameter getParameter(java.lang.String name)
getParameter in interface ConfigElementgetParameter in class PsmlConfigElementpublic java.util.Iterator getParameterIterator()
getParameterIterator in interface ConfigElementgetParameterIterator in class PsmlConfigElement
public Parameter getParameter(int index)
throws java.lang.IndexOutOfBoundsException
getParameter in interface ConfigElementgetParameter in class PsmlConfigElementjava.lang.IndexOutOfBoundsExceptionpublic int getParameterCount()
getParameterCount in interface ConfigElementgetParameterCount in class PsmlConfigElementpublic int getReferenceCount()
getReferenceCount in interface PortletsgetReferenceCount in class PsmlPortletspublic void removeAllParameter()
removeAllParameter in interface ConfigElementremoveAllParameter in class PsmlConfigElementpublic Parameter removeParameter(int index)
removeParameter in interface ConfigElementremoveParameter in class PsmlConfigElement
public void setParameter(int index,
Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
setParameter in interface ConfigElementsetParameter in class PsmlConfigElementjava.lang.IndexOutOfBoundsExceptionpublic Parameter[] getParameter()
getParameter in interface ConfigElementgetParameter in class PsmlConfigElement
public void addParameter(Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
addParameter in interface ConfigElementaddParameter in class PsmlConfigElementjava.lang.IndexOutOfBoundsException
public Reference getReference(int index)
throws java.lang.IndexOutOfBoundsException
getReference in interface PortletsgetReference in class PsmlPortletsjava.lang.IndexOutOfBoundsExceptionpublic Reference removeReference(int index)
removeReference in interface PortletsremoveReference in class PsmlPortletspublic java.util.Iterator getReferenceIterator()
getReferenceIterator in interface PortletsgetReferenceIterator in class PsmlPortlets
public void addReference(Reference ref)
throws java.lang.IndexOutOfBoundsException
addReference in interface PortletsaddReference in class PsmlPortletsjava.lang.IndexOutOfBoundsExceptionpublic Reference[] getReferenceArray()
getReferenceArray in interface PortletsgetReferenceArray in class PsmlPortletspublic SecurityReference getSecurityRef()
getSecurityRef in interface PortletsgetSecurityRef in class PsmlPortletspublic void setSecurityRef(SecurityReference securityRef)
setSecurityRef in interface PortletssetSecurityRef in class PsmlPortletssecurityRef - New value of property securityRef.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface MetaInfoclone in class PsmlPortletsjava.lang.CloneNotSupportedException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||