Class PublicationSubscriptionBean
- java.lang.Object
-
- org.silverpeas.core.web.subscription.bean.AbstractSubscriptionBean
-
- org.silverpeas.core.web.publication.subscription.bean.PublicationSubscriptionBean
-
- All Implemented Interfaces:
Subscription
public class PublicationSubscriptionBean extends AbstractSubscriptionBean
- Author:
- silveryocha
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PublicationSubscriptionBean(Subscription subscription, PublicationPath path, SilverpeasComponentInstance component, String language)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLink()
Gets the link to access the resource.String
getPath()
Gets the path.protected boolean
isGroupCanAccess(String groupId, SubscriptionResource resource)
protected boolean
isUserCanAccess(String userId, SubscriptionResource resource)
-
Methods inherited from class org.silverpeas.core.web.subscription.bean.AbstractSubscriptionBean
getComponent, getCreationDate, getCreatorId, getGroup, getLanguage, getResource, getSpace, getSubscriber, getSubscriberName, getSubscriptionMethod, getUser, isReadOnly, isValid
-
-
-
-
Constructor Detail
-
PublicationSubscriptionBean
protected PublicationSubscriptionBean(Subscription subscription, PublicationPath path, SilverpeasComponentInstance component, String language)
-
-
Method Detail
-
getPath
public String getPath()
Description copied from class:AbstractSubscriptionBean
Gets the path.- Overrides:
getPath
in classAbstractSubscriptionBean
- Returns:
-
getLink
public String getLink()
Description copied from class:AbstractSubscriptionBean
Gets the link to access the resource.- Overrides:
getLink
in classAbstractSubscriptionBean
- Returns:
-
isUserCanAccess
protected boolean isUserCanAccess(String userId, SubscriptionResource resource)
- Overrides:
isUserCanAccess
in classAbstractSubscriptionBean
-
isGroupCanAccess
protected boolean isGroupCanAccess(String groupId, SubscriptionResource resource)
- Overrides:
isGroupCanAccess
in classAbstractSubscriptionBean
-
-