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, int id)
           
 
Method Summary
protected  OfBizListIterator getEntities(java.lang.String entityName)
           
 EntityIntegrityCheck getEntityIntegrityCheck()
           
protected  java.lang.String getEntityName()
           
 IntegrityCheck getIntegrityCheck()
           
 java.lang.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,
                          int 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 java.lang.String getEntityName()

getEntities

protected OfBizListIterator getEntities(java.lang.String entityName)
                                 throws IntegrityException
Throws:
IntegrityException

getUnavailableMessage

public java.lang.String getUnavailableMessage()
Specified by:
getUnavailableMessage in interface Check


Copyright © 2002-2010 Atlassian. All Rights Reserved.