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, FilterSubscriptionsScheduleCheck

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<DeleteEntityAmendment> correct()
           
protected  List<DeleteEntityAmendment> doCheck(boolean correct)
           
protected abstract  void doRealCheck(boolean correct, org.ofbiz.core.entity.GenericValue subscription, List<DeleteEntityAmendment> messages)
           
 String getUnavailableMessage()
           
 boolean isAvailable()
           
 List<DeleteEntityAmendment> 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<DeleteEntityAmendment> preview()
                                    throws IntegrityException
Throws:
IntegrityException

correct

public List<DeleteEntityAmendment> correct()
                                    throws IntegrityException
Throws:
IntegrityException

isAvailable

public boolean isAvailable()

getUnavailableMessage

public String getUnavailableMessage()

doCheck

protected List<DeleteEntityAmendment> doCheck(boolean correct)
                                       throws IntegrityException
Throws:
IntegrityException

doRealCheck

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.