com.silverpeas.subscribe.service
Class ComponentSubscriptionResource

java.lang.Object
  extended by com.silverpeas.subscribe.service.AbstractSubscriptionResource<ForeignPK>
      extended by com.silverpeas.subscribe.service.ComponentSubscriptionResource
All Implemented Interfaces:
SubscriptionResource

public class ComponentSubscriptionResource
extends AbstractSubscriptionResource<ForeignPK>

User: Yohann Chastagnier Date: 20/02/13


Constructor Summary
protected ComponentSubscriptionResource(String instanceId)
          Default constructor.
 
Method Summary
static ComponentSubscriptionResource from(String instanceId)
          A way to get an instance of a component subscription resource.
 ForeignPK getPK()
          Gets the Silverpeas Primary Key of the aimed resource
 
Methods inherited from class com.silverpeas.subscribe.service.AbstractSubscriptionResource
equals, getId, getInstanceId, getType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentSubscriptionResource

protected ComponentSubscriptionResource(String instanceId)
Default constructor.

Parameters:
instanceId -
Method Detail

from

public static ComponentSubscriptionResource from(String instanceId)
A way to get an instance of a component subscription resource.

Parameters:
instanceId -
Returns:

getPK

public ForeignPK getPK()
Gets the Silverpeas Primary Key of the aimed resource

Specified by:
getPK in interface SubscriptionResource
Overrides:
getPK in class AbstractSubscriptionResource<ForeignPK>
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.