com.atlassian.jira.web.action
Class ProjectActionSupport

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
Direct Known Subclasses:
AbstractConfigurePortal, AbstractImportEntity, AbstractPermissions, AbstractProjectAction, AbstractSaveConfiguration, AddProjectCategory, AttachmentsAdmin, CreateCustomField, DeleteProjectCategory, EditCustomField, EditCustomFieldOptions, EditProjectCategory, ExportAll, ImportAll, IndexAdminImpl, IssueActionSupport, RestoreDefaultDashboard, TimeTrackingAdmin, TrackbackAdmin, ViewApplicationProperties, ViewAttachmentSettings, ViewCustomFields, ViewLookAndFeel

public class ProjectActionSupport
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
protected  java.util.Collection 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
ProjectActionSupport()
           
 
Method Summary
 java.util.Collection getBrowseableProjects()
           
 java.util.Collection getBrowseableProjectsInCategory(GenericValue category)
          retrieves a list of projects belonging to the specified category that the user has permission to see
 java.util.Collection getSavedFilters()
          Return a list of saved filters for a particular person
 
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
 

Field Detail

savedFilters

protected java.util.Collection savedFilters
Constructor Detail

ProjectActionSupport

public ProjectActionSupport()
Method Detail

getBrowseableProjects

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

getBrowseableProjectsInCategory

public java.util.Collection getBrowseableProjectsInCategory(GenericValue category)
                                                     throws java.lang.Exception
retrieves a list of projects belonging to the specified category that the user has permission to see

Parameters:
category - specify the category or null to retrieve a list of browseable projects that are not associated with any category
Returns:
Throws:
java.lang.Exception

getSavedFilters

public java.util.Collection getSavedFilters()
                                     throws GenericEntityException
Return a list of saved filters for a particular person

Throws:
GenericEntityException