|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.JiraContactHelperImpl
public class JiraContactHelperImpl
Constructor Summary | |
---|---|
JiraContactHelperImpl(ApplicationProperties applicationProperties,
com.atlassian.mail.server.MailServerManager mailServerManager,
JiraProperties jiraSystemProperties)
|
Method Summary | |
---|---|
String |
getAdministratorContactLink(String baseUrl)
Get link for the contact administrator page. |
String |
getAdministratorContactLinkHtml(String baseUrl,
I18nHelper i18nHelper)
Get the full link text for the contact administration message as a snippet. |
String |
getAdministratorContactMessage(I18nHelper i18nHelper)
Get the text for the contact administration message as a snippet. |
boolean |
isAdministratorContactFormEnabled()
Get the information whether Contact Administrator form can be used by users |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraContactHelperImpl(ApplicationProperties applicationProperties, com.atlassian.mail.server.MailServerManager mailServerManager, JiraProperties jiraSystemProperties)
Method Detail |
---|
public String getAdministratorContactLinkHtml(@Nullable String baseUrl, I18nHelper i18nHelper)
JiraContactHelper
JiraContactHelper.getAdministratorContactMessage(I18nHelper)
.
getAdministratorContactLinkHtml
in interface JiraContactHelper
baseUrl
- Base Url of the application. If null
, non-hyperlinked text will be returnedi18nHelper
- i18NHelper
public String getAdministratorContactMessage(I18nHelper i18nHelper)
JiraContactHelper
JiraContactHelper.getAdministratorContactLinkHtml(String baseUrl, I18nHelper i18nHelper)
in English "contact your Jira Administrators"
getAdministratorContactMessage
in interface JiraContactHelper
i18nHelper
- i18NHelper
public boolean isAdministratorContactFormEnabled()
JiraContactHelper
isAdministratorContactFormEnabled
in interface JiraContactHelper
public String getAdministratorContactLink(String baseUrl)
JiraContactHelper
Get link for the contact administrator page. This method will not respect Contact Form's settings - it will always return a link
For example: /jira/secure/ContactAdministrators!default.jspa
getAdministratorContactLink
in interface JiraContactHelper
baseUrl
- Base Url of the application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |