com.atlassian.jira.appconsistency.integrity.check
Class FilterSubscriptionsSavedFilterCheck

java.lang.Object
  extended by com.atlassian.jira.appconsistency.integrity.check.CheckImpl
      extended by com.atlassian.jira.appconsistency.integrity.check.BaseFilterSubscriptionsCheck
          extended by com.atlassian.jira.appconsistency.integrity.check.FilterSubscriptionsSavedFilterCheck
All Implemented Interfaces:
Check

public class FilterSubscriptionsSavedFilterCheck
extends BaseFilterSubscriptionsCheck

Finds and fixes all filtersubcriptions that have no corresponding search filter.


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
FilterSubscriptionsSavedFilterCheck(OfBizDelegator ofBizDelegator, int id)
           
 
Method Summary
protected  void doRealCheck(boolean correct, org.ofbiz.core.entity.GenericValue subscription, List<DeleteEntityAmendment> messages)
           
 String getDescription()
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.BaseFilterSubscriptionsCheck
correct, doCheck, getUnavailableMessage, isAvailable, preview
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getI18NBean, getId, getIntegrityCheck, setIntegrityCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterSubscriptionsSavedFilterCheck

public FilterSubscriptionsSavedFilterCheck(OfBizDelegator ofBizDelegator,
                                           int id)
Method Detail

getDescription

public String getDescription()

doRealCheck

protected void doRealCheck(boolean correct,
                           org.ofbiz.core.entity.GenericValue subscription,
                           List<DeleteEntityAmendment> messages)
                    throws IntegrityException
Specified by:
doRealCheck in class BaseFilterSubscriptionsCheck
Throws:
IntegrityException


Copyright © 2002-2014 Atlassian. All Rights Reserved.