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

java.lang.Object
  extended bycom.atlassian.jira.appconsistency.integrity.check.CheckImpl
      extended bycom.atlassian.jira.appconsistency.integrity.check.BaseFilterSubscriptionsCheck
          extended bycom.atlassian.jira.appconsistency.integrity.check.FilterSubscriptionsTriggerCheck
All Implemented Interfaces:
Check

public class FilterSubscriptionsTriggerCheck
extends BaseFilterSubscriptionsCheck

Checks and fixes the case where we have a FilterSubscription that has no corresponding Quartz trigger.


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

Field Detail

log

protected final org.apache.log4j.Category log
Constructor Detail

FilterSubscriptionsTriggerCheck

public FilterSubscriptionsTriggerCheck(OfBizDelegator ofBizDelegator,
                                       Long id)
Method Detail

getDescription

public String getDescription()

preview

public List preview()
             throws IntegrityException
Throws:
IntegrityException

correct

public List correct()
             throws IntegrityException
Throws:
IntegrityException

isAvailable

public boolean isAvailable()

getUnavailableMessage

public String getUnavailableMessage()

doRealCheck

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


Copyright © 2002-2006 Atlassian. All Rights Reserved.