|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.subscribe.service.AbstractResourceSubscriptionService
public abstract class AbstractResourceSubscriptionService
| Constructor Summary | |
|---|---|
AbstractResourceSubscriptionService()
|
|
| Method Summary | |
|---|---|
protected abstract String |
getHandledComponentName()
Gets the name of the component that the implementation handles. |
protected NodeBm |
getNodeBm()
|
SubscriptionSubscriberList |
getSubscribersOfComponent(String componentInstanceId)
Gets all subscribers registered on a component. |
SubscriptionSubscriberList |
getSubscribersOfComponentAndTypedResource(String componentInstanceId,
SubscriptionResourceType resourceType,
String resourceId)
Gets all subscribers concerned by a specified resource represented by the given resource type and identifier. |
SubscriptionSubscriberList |
getSubscribersOfSubscriptionResource(SubscriptionResource subscriptionResource)
Gets all subscribers concerned by a specified subscription resource. |
protected void |
register()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResourceSubscriptionService()
| Method Detail |
|---|
@PostConstruct protected final void register()
protected abstract String getHandledComponentName()
public SubscriptionSubscriberList getSubscribersOfComponent(String componentInstanceId)
ResourceSubscriptionService
getSubscribersOfComponent in interface ResourceSubscriptionServicecomponentInstanceId - the identifier of the component instance from which subscription
are requested.
SubscriptionSubscriberList that
represents a collection of SubscriptionSubscriber decorated with useful tool methods.public SubscriptionSubscriberList getSubscribersOfSubscriptionResource(SubscriptionResource subscriptionResource)
ResourceSubscriptionService
getSubscribersOfSubscriptionResource in interface ResourceSubscriptionServicesubscriptionResource - the instance of subscription resource.
SubscriptionSubscriberList that
represents a collection of SubscriptionSubscriber decorated with useful tool methods.
public SubscriptionSubscriberList getSubscribersOfComponentAndTypedResource(String componentInstanceId,
SubscriptionResourceType resourceType,
String resourceId)
ResourceSubscriptionService
getSubscribersOfComponentAndTypedResource in interface ResourceSubscriptionServicecomponentInstanceId - the identifier of the component instance from which subscription
are requested.resourceType - the type of the aimed resource.resourceId - the identifier of the aime resource.
SubscriptionSubscriberList that
represents a collection of SubscriptionSubscriber decorated with useful tool methods.protected NodeBm getNodeBm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||