public class BrowseProjects extends JiraWebActionSupport
Modifier and Type | Class and Description |
---|---|
class |
BrowseProjects.ProjectBean
Simple bean that contains all needed Project information
|
class |
BrowseProjects.ProjectCategoryBean
Simple bean that contains Project category information and its containing projects as GVS.
|
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
BrowseProjects(UserProjectHistoryManager projectHistoryManager,
ProjectManager projectManager,
PermissionManager permissionManager,
SimpleLinkManager simpleLinkManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
AvatarManager avatarManager,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
UserFormats userFormats,
ProjectTypeManager projectTypeManager,
BrowseProjectTypeManager browseProjectTypeManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
doExecute() |
com.google.common.base.Supplier<List<ProjectTypeBean>> |
getAvailableProjectTypes() |
com.atlassian.json.marshal.Jsonable |
getAvailableProjectTypesJsonable() |
com.atlassian.json.marshal.Jsonable |
getCategoriesJsonable() |
Collection<String> |
getErrorMessages()
Get all non field-specific error messages.
|
String |
getInfoPanelHtml() |
Collection<SimpleLink> |
getOperationLinks() |
com.atlassian.json.marshal.Jsonable |
getProjectsJsonable() |
com.atlassian.json.marshal.Jsonable |
getProjectTypesJsonable() |
String |
getSelectedCategory()
Get the currently active Category.
|
String |
getSelectedProjectType() |
boolean |
hasDefaultAvatar(Project project) |
void |
setSelectedCategory(String selectedCategory) |
void |
setSelectedProjectType(String selectedProjectType) |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, 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 BrowseProjects(UserProjectHistoryManager projectHistoryManager, ProjectManager projectManager, PermissionManager permissionManager, SimpleLinkManager simpleLinkManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, AvatarManager avatarManager, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, UserFormats userFormats, ProjectTypeManager projectTypeManager, BrowseProjectTypeManager browseProjectTypeManager)
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public Collection<SimpleLink> getOperationLinks()
public String getInfoPanelHtml()
public Collection<String> getErrorMessages()
ErrorCollection
getErrorMessages
in interface ErrorCollection
getErrorMessages
in class JiraWebActionSupport
public String getSelectedCategory() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
- Sorry, yes we are using GVs.public String getSelectedProjectType() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void setSelectedProjectType(String selectedProjectType)
public com.atlassian.json.marshal.Jsonable getCategoriesJsonable() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public com.atlassian.json.marshal.Jsonable getProjectsJsonable()
public com.atlassian.json.marshal.Jsonable getProjectTypesJsonable()
public com.atlassian.json.marshal.Jsonable getAvailableProjectTypesJsonable()
public boolean hasDefaultAvatar(Project project)
public void setSelectedCategory(String selectedCategory)
public com.google.common.base.Supplier<List<ProjectTypeBean>> getAvailableProjectTypes()
Copyright © 2002-2015 Atlassian. All Rights Reserved.