com.atlassian.jira.appconsistency.integrity
Class PrimaryEntityRelationDelete

java.lang.Object
  extended bycom.atlassian.jira.appconsistency.integrity.EntityCheckImpl
      extended bycom.atlassian.jira.appconsistency.integrity.AbstractEntityRelation
          extended bycom.atlassian.jira.appconsistency.integrity.PrimaryEntityRelationDelete
All Implemented Interfaces:
Check, EntityCheck

public class PrimaryEntityRelationDelete
extends AbstractEntityRelation


Constructor Summary
PrimaryEntityRelationDelete(GenericDelegator genericDelegator, java.lang.Long id, java.lang.String relationType, java.lang.String relationName)
           
 
Method Summary
 java.util.List correct()
           
 java.lang.String getDescription()
           
 boolean isAvailable()
           
protected  Amendment previewAmendment(GenericValue entity)
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.AbstractEntityRelation
getRelationName, getRelationType, preview, toString
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.EntityCheckImpl
getEntities, getEntityIntegrityCheck, getEntityName, getGenericDelegator, getId, getIntegrityCheck, getUnavailableMessage, setEntityIntegrityCheck, setIntegrityCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimaryEntityRelationDelete

public PrimaryEntityRelationDelete(GenericDelegator genericDelegator,
                                   java.lang.Long id,
                                   java.lang.String relationType,
                                   java.lang.String relationName)
Method Detail

getDescription

public java.lang.String getDescription()

previewAmendment

protected Amendment previewAmendment(GenericValue entity)
Specified by:
previewAmendment in class AbstractEntityRelation

correct

public java.util.List correct()
                       throws IntegrityException
Throws:
IntegrityException

isAvailable

public boolean isAvailable()