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, java.lang.String relationType, java.lang.String relationName, java.lang.String relationField, java.util.Map fields)
           
 
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
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,
                                   java.lang.String relationType,
                                   java.lang.String relationName,
                                   java.lang.String relationField,
                                   java.util.Map fields)
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-2010 Atlassian. All Rights Reserved.