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

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

public abstract class AbstractEntityRelation
extends EntityCheckImpl


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
AbstractEntityRelation(OfBizDelegator ofBizDelegator, int id, String relationType, String relationName)
           
 
Method Summary
protected  String getRelationName()
           
protected  String getRelationType()
           
 List preview()
           
protected abstract  Amendment previewAmendment(org.ofbiz.core.entity.GenericValue entity)
           
 String toString()
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.EntityCheckImpl
getEntities, getEntityIntegrityCheck, getEntityName, getIntegrityCheck, getUnavailableMessage, setEntityIntegrityCheck, setIntegrityCheck
 
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, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
correct, getDescription, getId, isAvailable
 

Constructor Detail

AbstractEntityRelation

public AbstractEntityRelation(OfBizDelegator ofBizDelegator,
                              int id,
                              String relationType,
                              String relationName)
Method Detail

getRelationType

protected String getRelationType()

getRelationName

protected String getRelationName()

preview

public List preview()
             throws IntegrityException
Throws:
IntegrityException

previewAmendment

protected abstract Amendment previewAmendment(org.ofbiz.core.entity.GenericValue entity)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.