com.atlassian.jira.issue.subscription
Class DefaultFilterSubscription

java.lang.Object
  extended by com.atlassian.jira.issue.subscription.DefaultFilterSubscription
All Implemented Interfaces:
FilterSubscription

public class DefaultFilterSubscription
extends Object
implements FilterSubscription

A Filter Subscription bean

Since:
v6.2

Constructor Summary
DefaultFilterSubscription(long id, long filterId, String userKey, String groupName, Date lastRunTime, boolean emailOnEmpty)
           
 
Method Summary
 long getFilterId()
          Get the Id of the filter subscribed to.
 String getGroupName()
          Get the name of the group subscribed.
 long getId()
          Get the Id of the subscription.
 Date getLastRunTime()
          Get the time the subscription was last sent.
 String getUserKey()
          Get the User Key of the subscription owner.
 boolean isEmailOnEmpty()
          Is this subscription sent, even if no issues are selected by the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFilterSubscription

public DefaultFilterSubscription(long id,
                                 long filterId,
                                 String userKey,
                                 String groupName,
                                 Date lastRunTime,
                                 boolean emailOnEmpty)
Method Detail

getId

public long getId()
Description copied from interface: FilterSubscription
Get the Id of the subscription.

Specified by:
getId in interface FilterSubscription
Returns:
the Id of the subscription.

getFilterId

public long getFilterId()
Description copied from interface: FilterSubscription
Get the Id of the filter subscribed to.

Specified by:
getFilterId in interface FilterSubscription
Returns:
the Id of the filter subscribed to.

getUserKey

public String getUserKey()
Description copied from interface: FilterSubscription
Get the User Key of the subscription owner.

Specified by:
getUserKey in interface FilterSubscription
Returns:
the User Key of the subscription owner.

getGroupName

@Nullable
public String getGroupName()
Description copied from interface: FilterSubscription
Get the name of the group subscribed.

Specified by:
getGroupName in interface FilterSubscription
Returns:
the User Key of the group subscribed.

getLastRunTime

@Nullable
public Date getLastRunTime()
Description copied from interface: FilterSubscription
Get the time the subscription was last sent.

Specified by:
getLastRunTime in interface FilterSubscription
Returns:
the time the subscription was last sent.

isEmailOnEmpty

public boolean isEmailOnEmpty()
Description copied from interface: FilterSubscription
Is this subscription sent, even if no issues are selected by the filter.

Specified by:
isEmailOnEmpty in interface FilterSubscription
Returns:
true if this subscription sent, even if no issues are selected by the filter.


Copyright © 2002-2014 Atlassian. All Rights Reserved.