net.sf.jportlet.service.page
Class PortletPageServiceImpl

java.lang.Object
  |
  +--net.sf.jportlet.service.PortletServiceAdapter
        |
        +--net.sf.jportlet.service.page.PortletPageServiceImpl
All Implemented Interfaces:
PortletPageService, PortletService

public class PortletPageServiceImpl
extends PortletServiceAdapter
implements PortletPageService

Implementation of PortletService

Author:
Herve Tchepannou

Field Summary
 
Fields inherited from class net.sf.jportlet.service.PortletServiceAdapter
_log, _serviceConfig, _serviceContext
 
Fields inherited from interface net.sf.jportlet.service.page.PortletPageService
NAME
 
Constructor Summary
PortletPageServiceImpl()
           
 
Method Summary
 java.lang.String getPage(Portlet.Mode mode)
          Returns the path a the page to render for a given mode when the portlet is maximized
 java.lang.String getServiceName()
          Returns the name of the service
 void init(net.sf.jportlet.service.PortletServiceConfig config)
          Initialize the service
 
Methods inherited from class net.sf.jportlet.service.PortletServiceAdapter
destroy, getInitParameter, getInitParameter, getServiceConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jportlet.service.PortletService
destroy, getServiceConfig
 

Constructor Detail

PortletPageServiceImpl

public PortletPageServiceImpl()
Method Detail

getPage

public java.lang.String getPage(Portlet.Mode mode)
Description copied from interface: PortletPageService
Returns the path a the page to render for a given mode when the portlet is maximized

Specified by:
getPage in interface PortletPageService
Parameters:
mode -
Returns:
String
See Also:
net.sf.jportlet.service.page.PortletService#getPage(net.sf.jportlet.portlet.Portlet.Mode)

init

public void init(net.sf.jportlet.service.PortletServiceConfig config)
          throws PortletServiceException
Description copied from interface: PortletService
Initialize the service

Specified by:
init in interface PortletService
Overrides:
init in class PortletServiceAdapter
Parameters:
config - configuration of the service
PortletServiceException
See Also:
PortletService.init(net.sf.jportlet.service.PortletServiceConfig)

getServiceName

public java.lang.String getServiceName()
Description copied from interface: PortletService
Returns the name of the service

Specified by:
getServiceName in interface PortletService
Returns:
String
See Also:
PortletService.getServiceName()


Copyright © 2002 Herve Tchepannou. All Rights Reserved.