Oracle9iAS Portal Developer Kit

Provider registry package constants

The following constants are specified in the wwpro_api_provider_registry API package and can be used by provider implementation methods.

Implementation style constants

DATABASE_IMPL

constant integer := 2;

WEB_IMPL

constant integer := 3;

PLSQL_IMPL

constant integer := 2;       --same as Database

HTTP_IMPL

constant integer := 3;       --same as Web

Login frequency constants

LOGIN_FREQUENCY_ALWAYS

constant char (1) ;= 'A';

LOGIN_FREQUENCY_ONCE

constant char (1) ;= 'O';

LOGIN_FREQUENCY_NEVER

constant char (1) ;= 'N';

LOGIN_FREQUENCY_PUBLIC

constant char (1) ;= 'P'; -- Web providers only

Proxy constants

REQ_PROXY_YES

constant number := 1;

REQ_PROXY_NO

constant number := 0;

Session data constants

REQ_SESS_DATA_YES

constant number := 1;

REQ_SESS_DATA_NO

constant number := 0;

Provider off-line constants

IS_PROV_OFF_YES

constant number := 1;

IS_PROV_OFF_NO

constant number := 0;

HTTP application type constants

HTTP_APP_TYPE_EXTERNAL

constant varchar2 (30) ;= 'EXTERNAL_SECURED';

HTTP_APP_TYPE_PORTAL

constant varchar2 (30) ;= 'PORTAL';

Cookie domain constants

SAME_COOKIE_DOMAIN_YES

constant number := 1;

SAME_COOKIE_DOMAIN_NO

constant number := 0 ;

Provider exception constants

RAISE_PROVIDER_EXCPT

constant number := 1;

SUPPRESS_PROVIDER_EXCPT

constant number := 0 ;

 

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio