|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.service.subscription.SubscriptionUtils
Certain utility methods for obtaining a repository's subscription service.
Helper class for accessing a subscription service
Copyright (c) SAP AG
ISubscription,
ISubscriptionManager,
WcmException,
ResourceFactory,
IResource,
IResourceContext,
IRepositoryManager,
IManagerFactory,
IRepositoryService,
IRepositoryServiceFactory| Constructor Summary | |
SubscriptionUtils()
|
|
| Method Summary | |
static Collection |
getRepositoryManagers()
Gets all repository managers with a registered subscription service. |
static ISubscriptionManager |
getSubscriptionManager(IRepositoryManager repository)
Gets a ISubscriptionManager for a given repository. |
static ISubscriptionManager |
getSubscriptionManager(IResource resource)
Gets the ISubscriptionManager for a given resource. |
static Collection |
getSubscriptionManagers()
Gets all available subscription managers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SubscriptionUtils()
| Method Detail |
public static Collection getSubscriptionManagers()
null if an exception occurred when getting subscription managers
Collection with a list of all available
ISubscriptionManagerspublic static Collection getRepositoryManagers()
null if an exception occurred when getting repository managers
Collection with a list of all available
IRepositoryManagers with a registered subscription
servicepublic static ISubscriptionManager getSubscriptionManager(IRepositoryManager repository)
ISubscriptionManager for a given repository. null if no subscription manager is configured for
the specified repository manager or the given IRepositoryManager is null
repository - an IRepositoryManager to get the
ISubscriptionManager for
ISubscriptionManager for the repositorypublic static ISubscriptionManager getSubscriptionManager(IResource resource)
ISubscriptionManager for a given resource. null if no subscription manager is configured for
the repository manager of the resource or the given IResource is null
resource - an IResource to get the
ISubscriptionManager for
ISubscriptionManager for the resource
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||