You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Norman Schöneich <sc...@ecooperate.de> on 2001/12/04 18:52:41 UTC

AW: Jetspeed and Oracle.

Hi,
what's about the profiler:

i want to use this method, but not implemented..... (return null)

public Profile getProfile(RunData data, ProfileLocator locator)
        throws ProfileException
{
  PSMLDocument doc =  fallback( locator, data );
  return null;
}



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Jetspeed and Oracle.

Posted by David Sean Taylor <da...@bluesunrise.com>.
That looks a lot like the query() method, but it will only return one
Profile, where the query() method returns a collection of profiles.

You could delegate to the query() method. The problem is you cannot
guarantee that a ProfileLocator() will specify one exact Profile.

Maybe a better way would be to have one parameter: the ProfileLocator, which
is constructed by a factory method, taking RunData as a parameter.

----- Original Message -----
From: "Norman Schöneich" <sc...@ecooperate.de>
To: "Jetspeed-Dev" <je...@jakarta.apache.org>
Sent: Tuesday, December 04, 2001 9:52 AM
Subject: AW: Jetspeed and Oracle.


> Hi,
> what's about the profiler:
>
> i want to use this method, but not implemented..... (return null)
>
> public Profile getProfile(RunData data, ProfileLocator locator)
>         throws ProfileException
> {
>   PSMLDocument doc =  fallback( locator, data );
>   return null;
> }
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>