Class PKSubscriptionResource
- java.lang.Object
-
- org.silverpeas.core.subscription.service.AbstractSubscriptionResource<WAPrimaryKey>
-
- org.silverpeas.core.subscription.service.PKSubscriptionResource
-
- All Implemented Interfaces:
SubscriptionResource
- Direct Known Subclasses:
CalendarSubscriptionResource
,PublicationAliasSubscriptionResource
,PublicationSubscriptionResource
public class PKSubscriptionResource extends AbstractSubscriptionResource<WAPrimaryKey>
A subscription resource related to a PKSubscription.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PKSubscriptionResource(WAPrimaryKey pk, SubscriptionResourceType subscriptionResourceType)
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PKSubscriptionResource
from(WAPrimaryKey pk, SubscriptionResourceType subscriptionResourceType)
A way to get an instance of a PK subscription resource.-
Methods inherited from class org.silverpeas.core.subscription.service.AbstractSubscriptionResource
equals, getId, getInstanceId, getPK, getType, hashCode
-
-
-
-
Constructor Detail
-
PKSubscriptionResource
protected PKSubscriptionResource(WAPrimaryKey pk, SubscriptionResourceType subscriptionResourceType)
Default constructor.- Parameters:
pk
-subscriptionResourceType
-
-
-
Method Detail
-
from
public static PKSubscriptionResource from(WAPrimaryKey pk, SubscriptionResourceType subscriptionResourceType)
A way to get an instance of a PK subscription resource.- Parameters:
pk
-subscriptionResourceType
-- Returns:
-
-