|
|||||||||||
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 Reference
public void setPath(java.lang.String path)
setPath
in interface Reference
public java.lang.String getPath()
getPath
in interface Reference
public Controller getController()
getController
in interface Portlets
getController
in class PsmlPortlets
public void setController(Controller controller)
setController
in interface Portlets
setController
in class PsmlPortlets
public void setSecurity(Security security)
setSecurity
in interface Portlets
setSecurity
in class PsmlPortlets
public Security getSecurity()
getSecurity
in interface Portlets
getSecurity
in class PsmlPortlets
public java.util.Vector getEntries()
getEntries
in class PsmlPortlets
public void setEntries(java.util.Vector entries)
setEntries
in class PsmlPortlets
public java.util.Vector getPortlets()
PsmlPortlets
getPortlets
in class PsmlPortlets
public void setPortlets(java.util.Vector portlets)
setPortlets
in class PsmlPortlets
public int getEntryCount()
getEntryCount
in interface Portlets
getEntryCount
in class PsmlPortlets
public int getPortletsCount()
getPortletsCount
in interface Portlets
getPortletsCount
in class PsmlPortlets
public Entry removeEntry(int index)
removeEntry
in interface Portlets
removeEntry
in class PsmlPortlets
public Portlets removePortlets(int index)
removePortlets
in interface Portlets
removePortlets
in class PsmlPortlets
public Entry getEntry(int index) throws java.lang.IndexOutOfBoundsException
getEntry
in interface Portlets
getEntry
in class PsmlPortlets
java.lang.IndexOutOfBoundsException
public Portlets getPortlets(int index) throws java.lang.IndexOutOfBoundsException
getPortlets
in interface Portlets
getPortlets
in class PsmlPortlets
java.lang.IndexOutOfBoundsException
public java.util.Iterator getEntriesIterator()
getEntriesIterator
in interface Portlets
getEntriesIterator
in class PsmlPortlets
public java.util.Iterator getPortletsIterator()
getPortletsIterator
in interface Portlets
getPortletsIterator
in class PsmlPortlets
public void addEntry(Entry entry) throws java.lang.IndexOutOfBoundsException
addEntry
in interface Portlets
addEntry
in class PsmlPortlets
java.lang.IndexOutOfBoundsException
public void addPortlets(Portlets p) throws java.lang.IndexOutOfBoundsException
addPortlets
in interface Portlets
addPortlets
in class PsmlPortlets
java.lang.IndexOutOfBoundsException
public Entry[] getEntriesArray()
getEntriesArray
in interface Portlets
getEntriesArray
in class PsmlPortlets
public Portlets[] getPortletsArray()
getPortletsArray
in interface Portlets
getPortletsArray
in class PsmlPortlets
public Control getControl()
getControl
in interface IdentityElement
getControl
in class PsmlIdentityElement
IdentityElement.getControl()
public void setControl(Control control)
setControl
in interface IdentityElement
setControl
in class PsmlIdentityElement
IdentityElement.setControl(org.apache.jetspeed.om.profile.Control)
public MetaInfo getMetaInfo()
getMetaInfo
in interface IdentityElement
getMetaInfo
in class PsmlIdentityElement
IdentityElement.getMetaInfo()
public java.lang.String getTitle()
getTitle
in interface MetaInfo
getTitle
in class PsmlIdentityElement
MetaInfo.getTitle()
public void setTitle(java.lang.String title)
MetaInfo
setTitle
in interface MetaInfo
setTitle
in class PsmlIdentityElement
MetaInfo.setTitle(java.lang.String)
public java.lang.String getDescription()
getDescription
in interface MetaInfo
getDescription
in class PsmlIdentityElement
MetaInfo.getDescription()
public void setDescription(java.lang.String description)
MetaInfo
setDescription
in interface MetaInfo
setDescription
in class PsmlIdentityElement
MetaInfo.setDescription(java.lang.String)
public java.lang.String getImage()
getImage
in interface MetaInfo
getImage
in class PsmlIdentityElement
MetaInfo.getImage()
public void setImage(java.lang.String image)
MetaInfo
setImage
in interface MetaInfo
setImage
in class PsmlIdentityElement
MetaInfo.setImage(java.lang.String)
public java.util.Vector getParameters()
getParameters
in class PsmlConfigElement
public void setParameters(java.util.Vector parameters)
setParameters
in class PsmlConfigElement
parameters
- public java.lang.String getParameterValue(java.lang.String name)
getParameterValue
in interface ConfigElement
getParameterValue
in class PsmlConfigElement
public Parameter getParameter(java.lang.String name)
getParameter
in interface ConfigElement
getParameter
in class PsmlConfigElement
public java.util.Iterator getParameterIterator()
getParameterIterator
in interface ConfigElement
getParameterIterator
in class PsmlConfigElement
public Parameter getParameter(int index) throws java.lang.IndexOutOfBoundsException
getParameter
in interface ConfigElement
getParameter
in class PsmlConfigElement
java.lang.IndexOutOfBoundsException
public int getParameterCount()
getParameterCount
in interface ConfigElement
getParameterCount
in class PsmlConfigElement
public int getReferenceCount()
getReferenceCount
in interface Portlets
getReferenceCount
in class PsmlPortlets
public void removeAllParameter()
removeAllParameter
in interface ConfigElement
removeAllParameter
in class PsmlConfigElement
public Parameter removeParameter(int index)
removeParameter
in interface ConfigElement
removeParameter
in class PsmlConfigElement
public void setParameter(int index, Parameter vParameter) throws java.lang.IndexOutOfBoundsException
setParameter
in interface ConfigElement
setParameter
in class PsmlConfigElement
java.lang.IndexOutOfBoundsException
public Parameter[] getParameter()
getParameter
in interface ConfigElement
getParameter
in class PsmlConfigElement
public void addParameter(Parameter vParameter) throws java.lang.IndexOutOfBoundsException
addParameter
in interface ConfigElement
addParameter
in class PsmlConfigElement
java.lang.IndexOutOfBoundsException
public Reference getReference(int index) throws java.lang.IndexOutOfBoundsException
getReference
in interface Portlets
getReference
in class PsmlPortlets
java.lang.IndexOutOfBoundsException
public Reference removeReference(int index)
removeReference
in interface Portlets
removeReference
in class PsmlPortlets
public java.util.Iterator getReferenceIterator()
getReferenceIterator
in interface Portlets
getReferenceIterator
in class PsmlPortlets
public void addReference(Reference ref) throws java.lang.IndexOutOfBoundsException
addReference
in interface Portlets
addReference
in class PsmlPortlets
java.lang.IndexOutOfBoundsException
public Reference[] getReferenceArray()
getReferenceArray
in interface Portlets
getReferenceArray
in class PsmlPortlets
public SecurityReference getSecurityRef()
getSecurityRef
in interface Portlets
getSecurityRef
in class PsmlPortlets
public void setSecurityRef(SecurityReference securityRef)
setSecurityRef
in interface Portlets
setSecurityRef
in class PsmlPortlets
securityRef
- New value of property securityRef.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface MetaInfo
clone
in class PsmlPortlets
java.lang.CloneNotSupportedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |