|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a loaded PSML document in memory, providing all facilities for finding and updating specific parts of the document.
Method Summary | |
java.lang.Object |
clone()
Create a clone of this object |
Entry |
getEntry(java.lang.String name)
Returns the first entry in the current PSML resource corresponding to the given portlet name |
Entry |
getEntryById(java.lang.String entryId)
Returns the first entry in the current PSML resource corresponding to the given entry id |
java.lang.String |
getName()
Return the name of this document |
Portlets |
getPortlets()
Return the portlet set PSML description of this document |
Portlets |
getPortlets(int position)
Returns the first portlets element in the current PSML resource found at the specified position. |
Portlets |
getPortlets(java.lang.String name)
Returns the first portlets element in the current PSML resource corresponding to the given name |
Portlets |
getPortletsById(java.lang.String portletId)
Returns the first portlets element in the current PSML resource corresponding to the given name |
boolean |
removeEntryById(java.lang.String entryId)
Removes the first entry in the current PSML resource corresponding to the given entry id |
void |
setName(java.lang.String name)
Sets a new name for this document |
void |
setPortlets(Portlets portlets)
Sets a new PSML object model for this document |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new document namepublic Portlets getPortlets()
public void setPortlets(Portlets portlets)
portlets
- the PSML object modelpublic Entry getEntry(java.lang.String name)
name
- the portlet name to seek
public Entry getEntryById(java.lang.String entryId)
entryId
- the portlet's entry id to seek
public Portlets getPortlets(java.lang.String name)
name
- the portlets name to seek
public Portlets getPortletsById(java.lang.String portletId)
portletId
- the portlet's entry id to seek
public Portlets getPortlets(int position)
position
- the sought position
public boolean removeEntryById(java.lang.String entryId)
entryId
- the portlet's entry id to remove
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |