|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Fragment
interface represents a single fragment on a site,
such as a page, a row, or even a portlet fragment.
The interfaces defined in this package represent an abstract object model (OM) that is applicable for different implementations. The abstract OM defines only how the data is stored and accessed in the memory. Each implementation can store the data in different ways.
This abstraction layer helps to generalize the portlet container from special implementations like data storage and moreover it is not bound to a special Application Server.
Method Summary | |
java.lang.String |
getClassname()
Returns the classname of the class bound to this fragment. |
java.util.Collection |
getFragments()
Returns all fragments used in this node. |
java.lang.String |
getName()
Returns the administrative name of this fragment. |
Navigation |
getNavigation()
Returns the navigational information linked with this fragment. |
java.util.Collection |
getProperties()
Returns all properties describing this fragment. |
java.lang.String |
getType()
Returns the type of the class bound to this fragment. |
void |
setClassname(java.lang.String classname)
binds a classname to this fragment. |
void |
setName(java.lang.String name)
binds an administrative name to this fragment. |
void |
setNavigation(Navigation navigation)
binds navigational information to this fragment. |
void |
setType(java.lang.String type)
binds a type to this fragment. |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the administrative namepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the typepublic java.lang.String getClassname()
public void setClassname(java.lang.String classname)
classname
- the classnamepublic Navigation getNavigation()
public void setNavigation(Navigation navigation)
navigation
- the navigational informationpublic java.util.Collection getFragments()
public java.util.Collection getProperties()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |