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

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

public abstract class BaseFilterSubscriptionsCheck
extends CheckImpl

Base class for filter subscriptions checks.


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
protected BaseFilterSubscriptionsCheck(OfBizDelegator ofBizDelegator, int id)
           
 
Method Summary
 List correct()
           
protected  List doCheck(boolean correct)
           
protected abstract  void doRealCheck(boolean correct, org.ofbiz.core.entity.GenericValue subscription, List messages)
           
 String getUnavailableMessage()
           
 boolean isAvailable()
           
 List 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
 
Methods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
getDescription
 

Constructor Detail

BaseFilterSubscriptionsCheck

protected BaseFilterSubscriptionsCheck(OfBizDelegator ofBizDelegator,
                                       int id)
Method Detail

preview

public List preview()
             throws IntegrityException
Throws:
IntegrityException

correct

public List correct()
             throws IntegrityException
Throws:
IntegrityException

isAvailable

public boolean isAvailable()

getUnavailableMessage

public String getUnavailableMessage()

doCheck

protected List doCheck(boolean correct)
                throws IntegrityException
Throws:
IntegrityException

doRealCheck

protected abstract void doRealCheck(boolean correct,
                                    org.ofbiz.core.entity.GenericValue subscription,
                                    List messages)
                             throws IntegrityException
Throws:
IntegrityException


Copyright © 2002-2012 Atlassian. All Rights Reserved.