Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.webcenter.notification
Class Subscription

java.lang.Object
  extended by oracle.webcenter.notification.Subscription


public class Subscription
extends java.lang.Object

Contains information about a user's subscription. Subcriptions for a user are created via method exposed by SubscriptionManager. Instances of this class are returned by the methods exposed in SubscriptionManager.

See Also:
SubscriptionManager

Constructor Summary
Subscription(java.lang.String scopeGuid, java.lang.String serviceId, java.lang.String objectType, java.lang.String objectId, java.lang.String objectName, java.lang.String userId, java.util.Date creationDate, java.lang.String scopeName)
          Constructor to create an instance of this class.

 

Method Summary
 java.util.Date getCreationDate()
          Returns the creation date of this subscription object.
 java.lang.String getObjectId()
          Returns the object ID of this subscription object.
 java.lang.String getObjectName()
          Returns the object name of this subscription object.
 java.lang.String getObjectType()
          Returns the object type of this subscription object.
 java.lang.String getScopeGuid()
          Returns the scope of this subscription object.
 java.lang.String getScopeName()
          Returns the scope of this subscription object.
 java.lang.String getServiceId()
          Returns the sevice ID of this subscription object.
 java.lang.String getServiceName()
          Returns the sevice name of this subscription object.
 java.lang.String getUserId()
          Returns the user for this subscription object.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Subscription

public Subscription(java.lang.String scopeGuid,
                    java.lang.String serviceId,
                    java.lang.String objectType,
                    java.lang.String objectId,
                    java.lang.String objectName,
                    java.lang.String userId,
                    java.util.Date creationDate,
                    java.lang.String scopeName)
Constructor to create an instance of this class. Used internally to create and return appropriate instance

Method Detail

getScopeGuid

public java.lang.String getScopeGuid()
Returns the scope of this subscription object.
Returns:
- the GUID of the scope of this object.

getScopeName

public java.lang.String getScopeName()
Returns the scope of this subscription object.
Returns:
- the GUID of the scope of this object.

getServiceId

public java.lang.String getServiceId()
Returns the sevice ID of this subscription object.
Returns:
- the service ID of the scope of this object.

getServiceName

public java.lang.String getServiceName()
                                throws NotificationServiceException
Returns the sevice name of this subscription object.
Returns:
- the service name of the scope of this object.
Throws:
NotificationServiceException

getObjectType

public java.lang.String getObjectType()
                               throws NotificationServiceException
Returns the object type of this subscription object.
Returns:
- the object type of this object, if this object represents object level subscription, null otherwise.
Throws:
NotificationServiceException

getObjectId

public java.lang.String getObjectId()
Returns the object ID of this subscription object.
Returns:
- the object ID of this object, if this object represents object level subscription, null otherwise.

getObjectName

public java.lang.String getObjectName()
Returns the object name of this subscription object.
Returns:
- the object name of this object, if this object represents object level subscription, null otherwise.

getUserId

public java.lang.String getUserId()
Returns the user for this subscription object.
Returns:
- the user Id for this subscription object.

getCreationDate

public java.util.Date getCreationDate()
Returns the creation date of this subscription object.
Returns:
- the creation date of this object.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.