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

java.lang.Object
  extended by com.atlassian.jira.appconsistency.integrity.check.CheckImpl
      extended by com.atlassian.jira.appconsistency.integrity.check.EntityCheckImpl
All Implemented Interfaces:
Check, EntityCheck
Direct Known Subclasses:
AbstractEntityRelation, IssueLinkCheck

public abstract class EntityCheckImpl
extends CheckImpl
implements EntityCheck


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
protected EntityCheckImpl(OfBizDelegator ofBizDelegator, Long id)
           
 
Method Summary
protected  OfBizListIterator getEntities(String entityName)
           
 EntityIntegrityCheck getEntityIntegrityCheck()
           
protected  String getEntityName()
           
 IntegrityCheck getIntegrityCheck()
           
 String getUnavailableMessage()
           
 void setEntityIntegrityCheck(EntityIntegrityCheck entityIntegrityCheck)
           
 void setIntegrityCheck(IntegrityCheck integrityCheck)
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getI18NBean, getId
 
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
correct, getDescription, getId, isAvailable, preview
 

Constructor Detail

EntityCheckImpl

protected EntityCheckImpl(OfBizDelegator ofBizDelegator,
                          Long id)
Method Detail

getEntityIntegrityCheck

public EntityIntegrityCheck getEntityIntegrityCheck()
Specified by:
getEntityIntegrityCheck in interface EntityCheck

setEntityIntegrityCheck

public void setEntityIntegrityCheck(EntityIntegrityCheck entityIntegrityCheck)
Specified by:
setEntityIntegrityCheck in interface EntityCheck

getIntegrityCheck

public IntegrityCheck getIntegrityCheck()
Specified by:
getIntegrityCheck in interface Check
Overrides:
getIntegrityCheck in class CheckImpl

setIntegrityCheck

public void setIntegrityCheck(IntegrityCheck integrityCheck)
Specified by:
setIntegrityCheck in interface Check
Overrides:
setIntegrityCheck in class CheckImpl

getEntityName

protected String getEntityName()

getEntities

protected OfBizListIterator getEntities(String entityName)
                                 throws IntegrityException
Throws:
IntegrityException

getUnavailableMessage

public String getUnavailableMessage()
Specified by:
getUnavailableMessage in interface Check


Copyright © 2002-2009 Atlassian. All Rights Reserved.