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

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.PrimaryEntityRelationCreate
All Implemented Interfaces:
Check, EntityCheck

public class PrimaryEntityRelationCreate
extends AbstractEntityRelation


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
PrimaryEntityRelationCreate(OfBizDelegator ofBizDelegator, int id, String relationType, String relationName, String relationField, Map fields)
           
 
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

PrimaryEntityRelationCreate

public PrimaryEntityRelationCreate(OfBizDelegator ofBizDelegator,
                                   int id,
                                   String relationType,
                                   String relationName,
                                   String relationField,
                                   Map fields)
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-2013 Atlassian. All Rights Reserved.