org.apache.pluto.portalImpl.aggregation
Class AbstractFragmentSingle
java.lang.Object
org.apache.pluto.portalImpl.aggregation.AbstractFragment
org.apache.pluto.portalImpl.aggregation.AbstractFragmentSingle
- All Implemented Interfaces:
- Fragment
- Direct Known Subclasses:
- AbstractNavigationFragment, PortletFragment
public abstract class AbstractFragmentSingle
- extends AbstractFragment
Method Summary |
void |
addChild(Fragment child)
Adds an child to the fragment |
abstract void |
createURL(PortalURL url)
Creates an URL pointing to this fragment |
java.util.Collection |
getChildFragments()
Returns a collection of all child fragments |
abstract boolean |
isPartOfURL(PortalURL url)
Returns true if the fragment is part of the URL |
void |
postService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
preService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFragmentSingle
public AbstractFragmentSingle(java.lang.String id,
javax.servlet.ServletConfig config,
Fragment parent,
Fragment fragDesc,
Navigation navigation)
throws java.lang.Exception
- Throws:
java.lang.Exception
preService
public void preService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
preService
in class AbstractFragment
- Throws:
javax.servlet.ServletException
java.io.IOException
postService
public void postService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
postService
in class AbstractFragment
- Throws:
javax.servlet.ServletException
java.io.IOException
getChildFragments
public java.util.Collection getChildFragments()
- Description copied from interface:
Fragment
- Returns a collection of all child fragments
- Specified by:
getChildFragments
in interface Fragment
- Specified by:
getChildFragments
in class AbstractFragment
- Returns:
- a collection containing objects implementing the interface fragment
addChild
public void addChild(Fragment child)
- Description copied from interface:
Fragment
- Adds an child to the fragment
- Specified by:
addChild
in interface Fragment
- Specified by:
addChild
in class AbstractFragment
- Parameters:
child
- the child fragment
createURL
public abstract void createURL(PortalURL url)
- Description copied from interface:
Fragment
- Creates an URL pointing to this fragment
- Specified by:
createURL
in interface Fragment
- Specified by:
createURL
in class AbstractFragment
- Parameters:
url
- the PortalURL object used
isPartOfURL
public abstract boolean isPartOfURL(PortalURL url)
- Description copied from interface:
Fragment
- Returns true if the fragment is part of the URL
- Specified by:
isPartOfURL
in interface Fragment
- Specified by:
isPartOfURL
in class AbstractFragment
- Parameters:
url
- the PortalURL object used
- Returns:
- true if the fragment is part of the URL
Copyright © 2003-2010 . All Rights Reserved.