public class BulkEdit extends AbstractBulkOperationDetailsAction
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
static String |
MULTISELECT_DUPLICATE_NEW_VERSION |
static String |
MULTISELECT_NO_VALUES_MSG |
static String |
RADIO_ERROR_MSG |
static String |
TEMPLATE_PATH_NAME |
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
Constructor and Description |
---|
BulkEdit(SearchService searchService,
BulkOperationManager bulkOperationManager,
FieldManager fieldManager,
IssueFactory issueFactory,
PermissionManager permissionManager,
FieldLayoutManager fieldLayoutManager,
BulkEditBeanSessionHelper bulkEditBeanSessionHelper,
TaskManager taskManager,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
protected FieldScreenRenderLayoutItem |
buildFieldScreenRenderLayoutItem(OrderableField field,
org.ofbiz.core.entity.GenericValue issue) |
String |
doDefault() |
String |
doDetails() |
String |
doDetailsValidation() |
String |
doPerform() |
String |
getActionDescription(OrderableField field)
Returns action description for Bulk Edit confirmation screen.
|
String[] |
getActions() |
BulkEditMultiSelectFieldBean |
getBulkEditMultiSelectFieldBean() |
String |
getChangeModeFieldName(OrderableField field)
Returns field name to be used in template for change mode selection for MultiSelect System Field.
|
io.atlassian.fugue.Option<BulkEditMultiSelectFieldOption> |
getChangeModeForField(OrderableField field)
Returns change mode option chosen for MultiSelect System Fields.
|
Map<String,String> |
getChangeModeOptions()
Returns list of change mode options which are available for Multi Select System Fields.
|
Collection |
getCustomFields() |
Map |
getEditActions()
Returns a list of bulk actions
If search request was performed on "All Projects" (ie.
|
String |
getFieldHtml(String fieldId) |
String |
getFieldViewHtml(OrderableField orderableField) |
Collection |
getHiddenActions()
Returns a list of bulk actions which are hidden/unavailable
|
protected Issue |
getIssueObject(org.ofbiz.core.entity.GenericValue issueGV) |
String |
getMultiSelectFieldsOptionsHtml(OrderableField field)
Returns Html for rendering dropdown with change options for multi select system fields
|
String |
getOperationDetailsActionName() |
Collection |
getVisibleActions()
Returns a list of bulk actions which are visible/available
|
boolean |
isAvailable(String action) |
boolean |
isChangeModeSelectionAllowed(OrderableField field)
Checks if change mode selection is allowed for provided field.
|
boolean |
isChecked(String value) |
boolean |
isHasAvailableActions() |
boolean |
isHasFirstElement(List actions) |
void |
setActions(String[] actions) |
void |
setCurrentStep(int step) |
submitBulkOperationTask
clearBulkEditBean, finishWizard, getBulkEditBean, getColumns, getIssueTableLayoutBean, getRedirect, getRedirectUrl, getRootBulkEditBean, isCanDisableMailNotifications, isSendBulkNotification, redirectToStart, setSendBulkNotification, storeBulkEditBean, storeReturnUrl, watchProgress
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, 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
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public static final String RADIO_ERROR_MSG
public static final String MULTISELECT_NO_VALUES_MSG
public static final String MULTISELECT_DUPLICATE_NEW_VERSION
public static final String TEMPLATE_PATH_NAME
public BulkEdit(SearchService searchService, BulkOperationManager bulkOperationManager, FieldManager fieldManager, IssueFactory issueFactory, PermissionManager permissionManager, FieldLayoutManager fieldLayoutManager, BulkEditBeanSessionHelper bulkEditBeanSessionHelper, TaskManager taskManager, I18nHelper i18nHelper)
public String getFieldViewHtml(OrderableField orderableField)
public String getActionDescription(OrderableField field)
public Map<String,String> getChangeModeOptions()
public String getMultiSelectFieldsOptionsHtml(OrderableField field)
public boolean isChangeModeSelectionAllowed(OrderableField field)
public String getChangeModeFieldName(OrderableField field)
public io.atlassian.fugue.Option<BulkEditMultiSelectFieldOption> getChangeModeForField(OrderableField field)
protected Issue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
protected FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field, org.ofbiz.core.entity.GenericValue issue)
public String doDetails()
doDetails
in class AbstractBulkOperationDetailsAction
public String doDetailsValidation() throws Exception
doDetailsValidation
in class AbstractBulkOperationDetailsAction
Exception
public String doPerform() throws Exception
doPerform
in class AbstractBulkOperationDetailsAction
Exception
public String doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
public Map getEditActions()
If no issues have been selected then no actions should be shown
public Collection getVisibleActions()
public Collection getHiddenActions()
public Collection getCustomFields()
public boolean isHasFirstElement(List actions)
public void setCurrentStep(int step)
public String[] getActions()
public void setActions(String[] actions)
public BulkEditMultiSelectFieldBean getBulkEditMultiSelectFieldBean()
public String getOperationDetailsActionName()
public boolean isChecked(String value)
Copyright © 2002-2021 Atlassian. All Rights Reserved.