Class SearchRequestRelationCheck
java.lang.Object
com.atlassian.jira.appconsistency.integrity.check.CheckImpl<CheckAmendment>
com.atlassian.jira.appconsistency.integrity.check.SearchRequestRelationCheck
- All Implemented Interfaces:
Check<CheckAmendment>
Check that all search requests are associated with valid projects. i.e. That the project ids specified by the search request exist
in the database. If not, delete such search request. NOTE: It only verifies the search requests that have a project id and not null.
-
Field Summary
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
applicationProperties, FORMAT_LONG_WITHOUT_COMMA, id, ofBizDelegator, queryDslAccessor -
Constructor Summary
ConstructorsConstructorDescriptionSearchRequestRelationCheck(OfBizDelegator ofBizDelegator, QueryDslAccessor queryDslAccessor, ApplicationProperties applicationProperties, int id, SearchRequestManager searchRequestManager) -
Method Summary
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getI18NBean, getId, getIntegrityCheck, getLoggedInUser, getMaxResultsLimit, setIntegrityCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
getUnavailableMessage, isAvailable
-
Constructor Details
-
SearchRequestRelationCheck
public SearchRequestRelationCheck(OfBizDelegator ofBizDelegator, QueryDslAccessor queryDslAccessor, ApplicationProperties applicationProperties, int id, SearchRequestManager searchRequestManager)
-
-
Method Details
-
getDescription
-
preview
- Throws:
IntegrityException
-
correct
- Throws:
IntegrityException
-
hasLongRunningFix
public boolean hasLongRunningFix()
-