Class SubscriptionFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.subscribe.business.SubscriptionFilter
-
public class SubscriptionFilter extends Object
This is the filter class for Subscription
-
-
Constructor Summary
Constructors Constructor Description SubscriptionFilter()Create a new SubscriptionFilterSubscriptionFilter(String strUserId, String strSubscriptionProvider, String strSubscriptionKey, String strIdSubscribedResource)Create a new SubscriptionFilter with every field initialized
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdSubscribedResource()Returns the IdSubscribedResourceStringgetSubscriptionKey()Returns the ActionKeyStringgetSubscriptionProvider()Returns the provider of the subscriptionStringgetUserId()Get the id of the subscribervoidsetIdSubscribedResource(String strIdSubscribedResource)Sets the IdSubscribedResourcevoidsetIdSubscriber(String strUserId)Set the lutece user name associated with this filtervoidsetSubscriptionKey(String strActionKey)Sets the ActionKeyvoidsetSubscriptionProvider(String strSubscriptionProvider)Sets the SubscriptionProvider
-
-
-
Constructor Detail
-
SubscriptionFilter
public SubscriptionFilter()
Create a new SubscriptionFilter
-
SubscriptionFilter
public SubscriptionFilter(String strUserId, String strSubscriptionProvider, String strSubscriptionKey, String strIdSubscribedResource)
Create a new SubscriptionFilter with every field initialized- Parameters:
strUserId- The lutece user namestrSubscriptionProvider- The subscription provider of subscriptions to getstrSubscriptionKey- The subscription key of subscriptions to getstrIdSubscribedResource- The id of the subscribed resource of subscriptions to get
-
-
Method Detail
-
getUserId
public String getUserId()
Get the id of the subscriber- Returns:
- The id of the subscriber
-
setIdSubscriber
public void setIdSubscriber(String strUserId)
Set the lutece user name associated with this filter- Parameters:
strUserId- The lutece user name
-
getSubscriptionProvider
public String getSubscriptionProvider()
Returns the provider of the subscription- Returns:
- The provider of the subscription
-
setSubscriptionProvider
public void setSubscriptionProvider(String strSubscriptionProvider)
Sets the SubscriptionProvider- Parameters:
strSubscriptionProvider- The SubscriptionProvider
-
getSubscriptionKey
public String getSubscriptionKey()
Returns the ActionKey- Returns:
- The ActionKey
-
setSubscriptionKey
public void setSubscriptionKey(String strActionKey)
Sets the ActionKey- Parameters:
strActionKey- The ActionKey
-
getIdSubscribedResource
public String getIdSubscribedResource()
Returns the IdSubscribedResource- Returns:
- The IdSubscribedResource
-
setIdSubscribedResource
public void setIdSubscribedResource(String strIdSubscribedResource)
Sets the IdSubscribedResource- Parameters:
strIdSubscribedResource- The IdSubscribedResource
-
-