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
genericDelegator, id
 
Constructor Summary
PrimaryEntityRelationDelete(org.ofbiz.core.entity.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(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
getGenericDelegator, 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(org.ofbiz.core.entity.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(org.ofbiz.core.entity.GenericValue entity)
Specified by:
previewAmendment in class AbstractEntityRelation

correct

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

isAvailable

public boolean isAvailable()


Copyright © 2002-2006 Atlassian. All Rights Reserved.