|
is_portlet_runnable function |
|
Contained in package wwpro_api_provider. Call this function to perform a security check for a portlet, i.e. whether or not it can be run. It may be called in two different situations:
Notes:
function is_portlet_runnable (
) return boolean; |
|
|
Any user can use this function. |
|
Version: Oracle Portal 3.0.6.6.5 or later | |
|
Parameters: |
|
|
p_portlet_ |
A record containing properties of a portlet instance. Datatype: in portlet_instance record |
|
Returns: This function returns TRUE if the portlet can be run or viewed. Otherwise, it returns FALSE. Exceptions:
Examples: Calling code: can_run := wwpro_api_provider.is_portlet_runnable (
); Call to the provider: can_run := example_provider.is_portlet_runnable (
); |
|
|
Note |
|
A portlet instance is the display of a portlet on a single page. The same portlet may be displayed multiple times on the same page. Each time a portlet is added to a page, Oracle Portal generates a unique portlet instance ID that is the instance's reference path. |
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |