com.atlassian.jira.sharing.search
Class ProjectShareTypeSearchParameter

java.lang.Object
  extended by com.atlassian.jira.sharing.search.AbstractShareTypeSearchParameter
      extended by com.atlassian.jira.sharing.search.ProjectShareTypeSearchParameter
All Implemented Interfaces:
ShareTypeSearchParameter

public class ProjectShareTypeSearchParameter
extends AbstractShareTypeSearchParameter

Represents the search parameters when searching for Project ShareTypes. The object can be used to find all the shares in a particular project by specifying a project and no role. The object can be used to find all shares for a particular project and particular role by passing both. It may also used to find all shares involving a particular given role when the project is null.

Since:
v3.13

Constructor Summary
ProjectShareTypeSearchParameter()
           
ProjectShareTypeSearchParameter(Long projectId)
           
ProjectShareTypeSearchParameter(Long projectId, Long roleId)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getProjectId()
           
 Long getRoleId()
           
 int hashCode()
           
 boolean hasRole()
           
 
Methods inherited from class com.atlassian.jira.sharing.search.AbstractShareTypeSearchParameter
getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectShareTypeSearchParameter

public ProjectShareTypeSearchParameter()

ProjectShareTypeSearchParameter

public ProjectShareTypeSearchParameter(Long projectId)

ProjectShareTypeSearchParameter

public ProjectShareTypeSearchParameter(Long projectId,
                                       Long roleId)
Method Detail

getProjectId

public Long getProjectId()

getRoleId

public Long getRoleId()

hasRole

public boolean hasRole()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2008 Atlassian. All Rights Reserved.