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

java.lang.Object
  extended bycom.atlassian.jira.appconsistency.integrity.check.CheckImpl
      extended bycom.atlassian.jira.appconsistency.integrity.check.PortletCheck
All Implemented Interfaces:
Check
Direct Known Subclasses:
ProjectPortletCheck, SearchRequestPortletCheck

public abstract class PortletCheck
extends CheckImpl

Created by IntelliJ IDEA. User: owenfellows Date: 20-Jun-2004 Time: 16:21:02 To change this template use File | Settings | File Templates.


Field Summary
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
genericDelegator, id
 
Constructor Summary
PortletCheck(org.ofbiz.core.entity.GenericDelegator genericDelegator, java.lang.Long id, PortalManager portalManager, com.opensymphony.user.UserManager userManager)
           
 
Method Summary
 java.util.List correct()
           
protected  java.util.List getAmendments(java.lang.String portletConfEntityName, java.lang.String propertyKey, java.lang.String messageSuffix)
           
 java.lang.String getDescription()
           
 IntegrityCheck getIntegrityCheck()
           
protected  PortalManager getPortalManager()
           
protected abstract  java.lang.String getPropertyEntity()
           
protected abstract  java.lang.String getPropertyEntryEntityName()
           
protected abstract  java.lang.String getPropertyKey()
           
 java.lang.String getUnavailableMessage()
           
protected  com.opensymphony.user.UserManager getUserManager()
           
 boolean isAvailable()
           
 java.util.List preview()
           
 void setIntegrityCheck(IntegrityCheck integrityCheck)
           
protected  boolean shouldPortletBeDeleted(org.ofbiz.core.entity.GenericDelegator genericDelegator, java.lang.String entityIdStr)
           
 
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, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
Constructor Detail

PortletCheck

public PortletCheck(org.ofbiz.core.entity.GenericDelegator genericDelegator,
                    java.lang.Long id,
                    PortalManager portalManager,
                    com.opensymphony.user.UserManager userManager)
Method Detail

getDescription

public java.lang.String getDescription()

preview

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

correct

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

getIntegrityCheck

public IntegrityCheck getIntegrityCheck()
Specified by:
getIntegrityCheck in interface Check
Overrides:
getIntegrityCheck in class CheckImpl

setIntegrityCheck

public void setIntegrityCheck(IntegrityCheck integrityCheck)
Specified by:
setIntegrityCheck in interface Check
Overrides:
setIntegrityCheck in class CheckImpl

isAvailable

public boolean isAvailable()

getUnavailableMessage

public java.lang.String getUnavailableMessage()

getPropertyEntryEntityName

protected abstract java.lang.String getPropertyEntryEntityName()

getPropertyKey

protected abstract java.lang.String getPropertyKey()

getPropertyEntity

protected abstract java.lang.String getPropertyEntity()

getPortalManager

protected PortalManager getPortalManager()

getUserManager

protected com.opensymphony.user.UserManager getUserManager()

getAmendments

protected java.util.List getAmendments(java.lang.String portletConfEntityName,
                                       java.lang.String propertyKey,
                                       java.lang.String messageSuffix)
                                throws IntegrityException
Throws:
IntegrityException

shouldPortletBeDeleted

protected boolean shouldPortletBeDeleted(org.ofbiz.core.entity.GenericDelegator genericDelegator,
                                         java.lang.String entityIdStr)
                                  throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2005 Atlassian. All Rights Reserved.