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

java.lang.Object
  extended byActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.project.ViewProjects

public class ViewProjects
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
 
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
ViewProjects()
           
 
Method Summary
 boolean getAdmin(GenericValue project)
           
 java.lang.String getPrettyAssigneeType(java.lang.Long assigneeType)
           
 java.util.List getProjects()
           
 User getRemoteUser()
           
 boolean getStringSet(GenericValue gv, java.lang.String value)
           
 User getUser(GenericValue project)
           
 boolean hasAdminPermission(GenericValue project)
           
 boolean isAdmin()
           
 boolean isProjectAdmin(GenericValue project)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, 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

ViewProjects

public ViewProjects()
Method Detail

getRemoteUser

public User getRemoteUser()
Overrides:
getRemoteUser in class JiraWebActionSupport

isAdmin

public boolean isAdmin()
                throws GenericEntityException
Throws:
GenericEntityException

isProjectAdmin

public boolean isProjectAdmin(GenericValue project)
                       throws GenericEntityException
Throws:
GenericEntityException

hasAdminPermission

public boolean hasAdminPermission(GenericValue project)
                           throws GenericEntityException
Throws:
GenericEntityException

getProjects

public java.util.List getProjects()

getUser

public User getUser(GenericValue project)

getAdmin

public boolean getAdmin(GenericValue project)

getStringSet

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

getPrettyAssigneeType

public java.lang.String getPrettyAssigneeType(java.lang.Long assigneeType)