com.atlassian.jira.web.action.project
Class ViewProject

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.project.AbstractProjectAction
                      extended by com.atlassian.jira.web.action.project.ViewProject
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
AddComponent, AddProjectEntity, AddVersion, EditProject, EditProjectEntity, EditVersionArchives, EditVersionDetails, EditVersionReleases, ManageVersions, MergeVersions

public class ViewProject
extends AbstractProjectAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.project.AbstractProjectAction
ERROR_FIELD_MAPPINGS
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewProject()
           
ViewProject(RepositoryManager repositoryManager, VersionManager versionManager, FieldLayoutManager fieldLayoutManager, ConstantsManager constantsManager, IssueTypeScreenSchemeManager issueTypeScreenSchemeManager, IssueTypeSchemeManager issueTypeSchemeManager, ProjectFactory projectFactory, ProjectOperationManager projectOperationManager)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 java.lang.String getAvatarUrl()
           
 FieldConfigurationScheme getFieldLayoutScheme()
           
 java.util.Collection getFieldLayoutSchemes()
           
 FieldScreenScheme getFieldScreenScheme()
           
 java.util.List getIssueSecuritySchemes()
           
 FieldConfigScheme getIssueTypeScheme()
           
 IssueTypeScreenScheme getIssueTypeScreenScheme()
           
 java.util.List getPermissionSchemes()
           
 java.lang.Long getPid()
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 org.ofbiz.core.entity.GenericValue getProjectCategory()
           
 java.lang.String getProjectEmail()
           
 Project getProjectObject()
           
 java.util.Collection getRepositories()
           
 java.util.List getSchemes()
           
 java.util.Collection getStandardIssueTypes()
           
 boolean getStringSet(org.ofbiz.core.entity.GenericValue gv, java.lang.String value)
           
 java.util.Collection getSubTaskIssueTypes()
           
 java.util.List getVersionsReversed()
           
 java.util.Collection<PluggableProjectOperation> getViewableProjectOperations()
           
 org.ofbiz.core.entity.GenericValue getWorkflowScheme()
           
 boolean hasAdminPermission()
           
 boolean hasAssociateRolesPermission()
           
 boolean hasProjectAdminPermission()
           
 boolean isDefaultAssigneeAssignable()
           
 boolean isHasDefaultSMTPMailServer()
           
 boolean isSubTaskEnabled()
           
 boolean isVersionArchived(Version version)
           
 boolean isVersionReleased(Version version)
           
 void setPid(java.lang.Long pid)
           
 
Methods inherited from class com.atlassian.jira.web.action.project.AbstractProjectAction
getAssigneeType, getAssigneeTypes, getAvatarId, getDescription, getIssueSecurityScheme, getKey, getLead, getName, getNotificationScheme, getPermissionScheme, getPrettyAssigneeType, getUrl, mapErrorCollection, setAssigneeType, setAvatarId, setDescription, setIssueSecurityScheme, setKey, setLead, setName, setNotificationScheme, setPermissionScheme, setUrl
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

ViewProject

public ViewProject(RepositoryManager repositoryManager,
                   VersionManager versionManager,
                   FieldLayoutManager fieldLayoutManager,
                   ConstantsManager constantsManager,
                   IssueTypeScreenSchemeManager issueTypeScreenSchemeManager,
                   IssueTypeSchemeManager issueTypeSchemeManager,
                   ProjectFactory projectFactory,
                   ProjectOperationManager projectOperationManager)

ViewProject

public ViewProject()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
java.lang.Exception

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
java.lang.Exception

hasProjectAdminPermission

public boolean hasProjectAdminPermission()

hasAdminPermission

public boolean hasAdminPermission()

hasAssociateRolesPermission

public boolean hasAssociateRolesPermission()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getProject

public org.ofbiz.core.entity.GenericValue getProject()

getProjectObject

public Project getProjectObject()

isDefaultAssigneeAssignable

public boolean isDefaultAssigneeAssignable()
                                    throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

setPid

public void setPid(java.lang.Long pid)

getPid

public java.lang.Long getPid()

getSchemes

public java.util.List getSchemes()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getPermissionSchemes

public java.util.List getPermissionSchemes()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getIssueSecuritySchemes

public java.util.List getIssueSecuritySchemes()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getRepositories

public java.util.Collection getRepositories()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getFieldLayoutSchemes

public java.util.Collection getFieldLayoutSchemes()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getStandardIssueTypes

public java.util.Collection getStandardIssueTypes()

getSubTaskIssueTypes

public java.util.Collection getSubTaskIssueTypes()

isSubTaskEnabled

public boolean isSubTaskEnabled()

getWorkflowScheme

public org.ofbiz.core.entity.GenericValue getWorkflowScheme()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

getProjectCategory

public org.ofbiz.core.entity.GenericValue getProjectCategory()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getStringSet

public boolean getStringSet(org.ofbiz.core.entity.GenericValue gv,
                            java.lang.String value)

isVersionArchived

public boolean isVersionArchived(Version version)
                          throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isVersionReleased

public boolean isVersionReleased(Version version)
                          throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getProjectEmail

public java.lang.String getProjectEmail()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

isHasDefaultSMTPMailServer

public boolean isHasDefaultSMTPMailServer()
                                   throws com.atlassian.mail.MailException
Throws:
com.atlassian.mail.MailException

getFieldLayoutScheme

public FieldConfigurationScheme getFieldLayoutScheme()

getIssueTypeScreenScheme

public IssueTypeScreenScheme getIssueTypeScreenScheme()

getFieldScreenScheme

public FieldScreenScheme getFieldScreenScheme()

getVersionsReversed

public java.util.List getVersionsReversed()

getIssueTypeScheme

public FieldConfigScheme getIssueTypeScheme()

getViewableProjectOperations

public java.util.Collection<PluggableProjectOperation> getViewableProjectOperations()
Returns:
A collection of ProjectOperationModuleDescriptor objects

getAvatarUrl

public java.lang.String getAvatarUrl()


Copyright © 2002-2010 Atlassian. All Rights Reserved.