public class GroupBrowser extends AbstractBrowser
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
params
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
Constructor and Description |
---|
GroupBrowser(GroupManager groupManager,
UserManager userManager,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
GlobalPermissionGroupAssociationUtil globalPermissionGroupAssociationUtil,
GroupService groupService,
GroupLabelsService groupLabels) |
GroupBrowser(GroupToPermissionSchemeMapper groupToPermissionSchemeMapper,
UserManager userManager,
GlobalPermissionGroupAssociationUtil globalPermissionGroupAssociationUtil,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
GroupManager groupManager,
GroupService groupService,
GroupLabelsService groupLabels) |
Modifier and Type | Method and Description |
---|---|
String |
doAdd() |
protected String |
doExecute() |
String |
escapeAmpersand(String str) |
String |
getAddName() |
List |
getBrowsableItems() |
List |
getCurrentPage()
Return the current 'page' of issues (given max and start) for the current filter
|
GroupBrowserFilter |
getFilter() |
List<GroupLabelView> |
getGroupLabels(com.atlassian.crowd.embedded.api.Group group) |
PagerFilter |
getPager() |
Collection<Scheme> |
getPermissionSchemes(String groupName) |
int |
getUsersInGroupCount(com.atlassian.crowd.embedded.api.Group group) |
boolean |
hasGroupWritableDirectory() |
String |
isGroupDeletable(String groupName)
Returns the empty string if the given group (name) is potentially deletable, otherwise returns the
reason why it's not.
|
boolean |
isNestedGroupsEnabledForAnyDirectory()
Return true if any directory supports nested groups.
|
boolean |
isUserAbleToDeleteGroup(String groupName)
Test if the current user has the necessary permissions to permit deletion of given group.
|
void |
resetPager() |
void |
setAddName(String addName) |
getMaxValues, getNiceEnd, getNiceStart, getSingleParam, setParameters, setStart
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, 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, doDefault, 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 GroupBrowser(GroupToPermissionSchemeMapper groupToPermissionSchemeMapper, UserManager userManager, GlobalPermissionGroupAssociationUtil globalPermissionGroupAssociationUtil, com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, GroupManager groupManager, GroupService groupService, GroupLabelsService groupLabels)
public GroupBrowser(GroupManager groupManager, UserManager userManager, com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, GlobalPermissionGroupAssociationUtil globalPermissionGroupAssociationUtil, GroupService groupService, GroupLabelsService groupLabels) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public PagerFilter getPager()
getPager
in class AbstractBrowser
public void resetPager()
resetPager
in class AbstractBrowser
public GroupBrowserFilter getFilter()
public List getCurrentPage()
getCurrentPage
in class AbstractBrowser
public List getBrowsableItems()
getBrowsableItems
in class AbstractBrowser
public String getAddName()
public void setAddName(String addName)
public int getUsersInGroupCount(com.atlassian.crowd.embedded.api.Group group)
public Collection<Scheme> getPermissionSchemes(String groupName)
public boolean hasGroupWritableDirectory()
public boolean isUserAbleToDeleteGroup(String groupName)
@Nonnull public String isGroupDeletable(@Nonnull String groupName)
isUserAbleToDeleteGroup(String)
.GroupService.validateDelete(com.atlassian.jira.bc.JiraServiceContext, java.lang.String, java.lang.String)
public boolean isNestedGroupsEnabledForAnyDirectory()
public List<GroupLabelView> getGroupLabels(com.atlassian.crowd.embedded.api.Group group)
Copyright © 2002-2022 Atlassian. All Rights Reserved.