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

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
              extended by com.atlassian.jira.appconsistency.integrity.check.PrimaryEntityRelationDelete
All Implemented Interfaces:
Check, EntityCheck

public class PrimaryEntityRelationDelete
extends AbstractEntityRelation


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
PrimaryEntityRelationDelete(OfBizDelegator ofBizDelegator, int id, String relationType, String relationName)
           
 
Method Summary
 List correct()
           
 String getDescription()
           
 boolean isAvailable()
           
protected  Amendment previewAmendment(org.ofbiz.core.entity.GenericValue entity)
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.AbstractEntityRelation
getRelationName, getRelationType, preview, 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
getId
 

Constructor Detail

PrimaryEntityRelationDelete

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

getDescription

public String getDescription()

previewAmendment

protected Amendment previewAmendment(org.ofbiz.core.entity.GenericValue entity)
Specified by:
previewAmendment in class AbstractEntityRelation

correct

public List correct()
             throws IntegrityException
Throws:
IntegrityException

isAvailable

public boolean isAvailable()


Copyright © 2002-2012 Atlassian. All Rights Reserved.