public class ManageSubscriptions extends AbstractFilterAction implements FilterOperationsAction
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
fieldValuesHolder, issueSearcherManager, permissionManager
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
Constructor and Description |
---|
ManageSubscriptions(IssueSearcherManager issueSearcherManager,
FilterSubscriptionService filterSubscriptionService,
com.atlassian.mail.server.MailServerManager mailServerManager,
SearchService searchService,
UserManager userManager,
FeatureManager featureManager,
GlobalPermissionManager globalPermissionManager) |
Modifier and Type | Method and Description |
---|---|
String |
doDefault() |
String |
doView() |
String |
getCronTooltip(FilterSubscription sub)
Get the tooltip for the for a subscription.
|
String |
getLastSent(FilterSubscription sub)
Get the las sent date for a subscription
|
String |
getNextSend(FilterSubscription sub)
Get the next sent date for a subscription
|
String |
getPrettySchedule(FilterSubscription sub)
Get a pretty version of the cron trigger.
|
String |
getSubscriber(FilterSubscription subscription) |
int |
getSubscriptionCount() |
Collection |
getSubscriptions() |
boolean |
isGroupValid(FilterSubscription sub) |
boolean |
isMailConfigured() |
boolean |
loggedInUserHasEditRights(FilterSubscription subscription)
Subscriptions are editable by their creator and admins.
|
getFilter, getFilterId, getFilterName, setFilterId
createFilterOperationsBean, getActionParams, getFilterOperationsBean, getSearchContext, getSearchers, isFilterValid, isShown, validateSearchFilterIsSavedFilter
addIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFilterOperationsBean, isFilterValid
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public ManageSubscriptions(IssueSearcherManager issueSearcherManager, FilterSubscriptionService filterSubscriptionService, com.atlassian.mail.server.MailServerManager mailServerManager, SearchService searchService, UserManager userManager, FeatureManager featureManager, GlobalPermissionManager globalPermissionManager)
public String doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
public int getSubscriptionCount()
public Collection getSubscriptions()
public boolean isMailConfigured()
public String doView()
public String getSubscriber(FilterSubscription subscription)
public boolean loggedInUserHasEditRights(FilterSubscription subscription)
public String getCronTooltip(FilterSubscription sub)
sub
- The subscrion to get the tooltip forpublic String getPrettySchedule(FilterSubscription sub)
sub
- The subscription to get the value for.public String getLastSent(FilterSubscription sub)
sub
- The subscription to get last send forpublic String getNextSend(FilterSubscription sub)
sub
- The subscription to get next send forpublic boolean isGroupValid(FilterSubscription sub)
Copyright © 2002-2021 Atlassian. All Rights Reserved.