Oracle Fusion Middleware
Java API Reference for Oracle PDK Java
11g Release 1 (11.1.1)
E10691-01

oracle.portal.provider.v2
Class ProviderRegistrationInfo

java.lang.Object
  extended by oracle.portal.provider.v2.ProviderRegistrationInfo

public class ProviderRegistrationInfo
extends java.lang.Object

Represents registration information sent from the portal to the provider.


Constructor Summary
ProviderRegistrationInfo()
          Default constructor
ProviderRegistrationInfo(ProviderSubscription subscription, java.lang.String key)
          Create a new subscriber instance using a ProviderSubscription and key.
ProviderRegistrationInfo(java.lang.String subscriptionId, java.lang.String key)
          Create a new subscriber instance using the passed ID and key.
 
Method Summary
 java.lang.String getEncryptionKey()
          Gets the encryption key
 ProviderSubscription getSubscription()
          Gets the subscription information associated with this registration information
 java.lang.String getSubscriptionKey()
          Convenience method to get the subscription Id
 void setEncryptionKey(java.lang.String key)
          Sets the encryption key.
 void setSubscription(ProviderSubscription subscription)
          Sets the subscriber Id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderRegistrationInfo

public ProviderRegistrationInfo()
Default constructor


ProviderRegistrationInfo

public ProviderRegistrationInfo(java.lang.String subscriptionId,
                                java.lang.String key)
Create a new subscriber instance using the passed ID and key.

Parameters:
subscriptionId - identifier representing this portal or subscription.

Subscriptions are specified at the provider instance level

key - encryption key the portal should use to encrypt all subsequent requests to this provider instance

ProviderRegistrationInfo

public ProviderRegistrationInfo(ProviderSubscription subscription,
                                java.lang.String key)
Create a new subscriber instance using a ProviderSubscription and key.

Parameters:
subscription - identifier representing a specific subscription. Subscriptions are specified at the provider instance level
key - encryption key the portal should use to encrypt all subsequent requests to this provider instance
Method Detail

getSubscription

public ProviderSubscription getSubscription()
Gets the subscription information associated with this registration information

Returns:
the subscription information

getSubscriptionKey

public java.lang.String getSubscriptionKey()
Convenience method to get the subscription Id

Returns:
equivalent to getSubscription().getId();

setSubscription

public void setSubscription(ProviderSubscription subscription)
Sets the subscriber Id. Used if object created via null constructor.

Parameters:
subscription - the subscriberId

getEncryptionKey

public java.lang.String getEncryptionKey()
Gets the encryption key

Returns:
the key

setEncryptionKey

public void setEncryptionKey(java.lang.String key)
Sets the encryption key. Used if object created via null constructor.

Parameters:
key - the key

Oracle Fusion Middleware
Java API Reference for Oracle PDK Java
11g Release 1 (11.1.1)
E10691-01

Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.