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

java.lang.Object
  extended byActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.project.AbstractProjectAction
                      extended bycom.atlassian.jira.web.action.project.ViewProject
Direct Known Subclasses:
AddProjectEntity, EditProject, EditProjectEntity, EditVersionArchives, EditVersionReleases, MergeVersions, RescheduleVersions

public class ViewProject
extends AbstractProjectAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, permissionManager, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Constructor Summary
ViewProject()
           
ViewProject(RepositoryManager repositoryManager)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 GenericValue getFieldLayoutSchemes()
           
 java.util.List getIssueSecuritySchemes()
           
 java.util.List getPermissionSchemes()
           
 java.lang.Long getPid()
           
 GenericValue getProject()
           
 GenericValue getProjectCategory()
           
 java.lang.String getProjectEmail()
           
 java.util.Collection getRepositories()
           
 java.util.List getSchemes()
           
 boolean getStringSet(GenericValue gv, java.lang.String value)
           
 boolean hasAdminPermission()
           
 boolean hasProjectAdminPermission()
           
 boolean isEnterprise()
           
 boolean isHasDefaultSMTPMailServer()
           
 boolean isVersionArchived(GenericValue version)
           
 void setPid(java.lang.Long pid)
           
 
Methods inherited from class com.atlassian.jira.web.action.project.AbstractProjectAction
getAssigneeType, getAssigneeTypes, getDescription, getIssueSecurityScheme, getKey, getLead, getName, getNotificationScheme, getPermissionScheme, getPrettyAssigneeType, getUrl, setAssigneeType, setDescription, setIssueSecurityScheme, setKey, setLead, setName, setNotificationScheme, setPermissionScheme, setUrl
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getText, getText, getText, getText, getUserFullName, getUserPreferences, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, isIndexing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewProject

public ViewProject(RepositoryManager repositoryManager)

ViewProject

public ViewProject()
Method Detail

doDefault

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

doValidation

protected void doValidation()

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Throws:
java.lang.Exception

hasProjectAdminPermission

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

hasAdminPermission

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

getProject

public GenericValue getProject()
                        throws java.lang.Exception
Throws:
java.lang.Exception

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 GenericValue getFieldLayoutSchemes()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getProjectCategory

public GenericValue getProjectCategory()
                                throws java.lang.Exception
Throws:
java.lang.Exception

getStringSet

public boolean getStringSet(GenericValue gv,
                            java.lang.String value)

isEnterprise

public boolean isEnterprise()

isVersionArchived

public boolean isVersionArchived(GenericValue version)
                          throws GenericEntityException
Throws:
GenericEntityException

getProjectEmail

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

isHasDefaultSMTPMailServer

public boolean isHasDefaultSMTPMailServer()
                                   throws MailException
Throws:
MailException