org.apache.jetspeed.om.profile
インタフェース PSMLDocument

すべてのスーパーインタフェース:
java.lang.Cloneable, java.io.Serializable
既知の実装クラスの一覧:
BasePSMLDocument

public interface PSMLDocument
extends java.io.Serializable, java.lang.Cloneable

This interface represents a loaded PSML document in memory, providing all facilities for finding and updating specific parts of the document.

バージョン:
$Id: PSMLDocument.java,v 1.8 2004/02/23 03:05:01 jford Exp $
作成者:
Rapha?l Luta

メソッドの概要
 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
 

メソッドの詳細

getName

public java.lang.String getName()
Return the name of this document


setName

public void setName(java.lang.String name)
Sets a new name for this document

パラメータ:
name - the new document name

getPortlets

public Portlets getPortlets()
Return the portlet set PSML description of this document

戻り値:
a PSML object model hierarchy, or null if none is defined for this document

setPortlets

public void setPortlets(Portlets portlets)
Sets a new PSML object model for this document

パラメータ:
portlets - the PSML object model

getEntry

public Entry getEntry(java.lang.String name)
Returns the first entry in the current PSML resource corresponding to the given portlet name

パラメータ:
name - the portlet name to seek
戻り値:
the found entry description or null

getEntryById

public Entry getEntryById(java.lang.String entryId)
Returns the first entry in the current PSML resource corresponding to the given entry id

パラメータ:
entryId - the portlet's entry id to seek
戻り値:
the found entry description or null

getPortlets

public Portlets getPortlets(java.lang.String name)
Returns the first portlets element in the current PSML resource corresponding to the given name

パラメータ:
name - the portlets name to seek
戻り値:
the found portlets description or null

getPortletsById

public Portlets getPortletsById(java.lang.String portletId)
Returns the first portlets element in the current PSML resource corresponding to the given name

パラメータ:
portletId - the portlet's entry id to seek
戻り値:
the found portlets description or null

getPortlets

public Portlets getPortlets(int position)
Returns the first portlets element in the current PSML resource found at the specified position. The position is computed using a left-most tree traversal algorithm of the existing portlets (thus not counting other entry objects)

パラメータ:
position - the sought position
戻り値:
the found portlets object or null if we did not find such an object

removeEntryById

public boolean removeEntryById(java.lang.String entryId)
Removes the first entry in the current PSML resource corresponding to the given entry id

パラメータ:
entryId - the portlet's entry id to remove
戻り値:
true if the entry was removed

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Create a clone of this object

例外:
java.lang.CloneNotSupportedException


Copyright © 2002-2006 SourceForge.jp - Jetspeed日本語版. All Rights Reserved.