com.primix.vlib
Class VirtualLibraryEngine.ExternalService
java.lang.Object
|
+--com.primix.tapestry.engine.AbstractService
|
+--com.primix.vlib.VirtualLibraryEngine.ExternalService
- All Implemented Interfaces:
- IEngineService
- Enclosing class:
- VirtualLibraryEngine
- public class VirtualLibraryEngine.ExternalService
- extends AbstractService
The external service is used to make the ViewBook
and
PersonPage
pages bookmarkable. The URL will include the
page (which must implement the IExternalPage
interface),
and the primary key of the IBook
or IPerson
EJB.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualLibraryEngine.ExternalService
public VirtualLibraryEngine.ExternalService()
buildGesture
public Gesture buildGesture(IRequestCycle cycle,
IComponent component,
java.lang.String[] parameters)
- Description copied from interface:
IEngineService
- Builds a URL for a service. This is performed during the
rendering phase of one request cycle and bulds URLs that will
invoke activity in a subsequent request cycle.
- Following copied from interface:
com.primix.tapestry.IEngineService
- Parameters:
cycle
- Defines the request cycle being processed.component
- The component requesting the URL.parameters
- Additional parameters specific to the
component requesting the Gesture.
service
public boolean service(IRequestCycle cycle,
ResponseOutputStream output)
throws RequestCycleException,
ServletException,
java.io.IOException
- Description copied from interface:
IEngineService
- Perform the service, interpreting the URL (from the
HttpServletRequest
) responding appropriately, and
rendering a result page.
The return value indicates whether processing of the request could, in any way,
change the state of the engine
. Generally, this is true.
- Following copied from interface:
com.primix.tapestry.IEngineService
- See Also:
IEngine.service(RequestContext)
getName
public java.lang.String getName()
- Description copied from interface:
IEngineService
- Returns the name of the service.