@Entity public class QuickSearchItemImpl extends Object implements QuickSearchItem
QuickSearchItem.Type
Modifier | Constructor and Description |
---|---|
protected |
QuickSearchItemImpl() |
|
QuickSearchItemImpl(@NotNull QuickSearchItem.Type type,
long entityId,
long aclEntityId,
@NotNull String searchTerm) |
|
QuickSearchItemImpl(@NotNull QuickSearchItem.Type type,
long entityId,
@NotNull String searchTerm) |
Modifier and Type | Method and Description |
---|---|
static QuickSearchItemImpl |
forBranch(@NotNull ImmutableChainBranch branch) |
static QuickSearchItemImpl |
forBranch(long masterId,
@NotNull PlanBranchGist branch) |
static Stream<QuickSearchItemImpl> |
forChain(@NotNull ImmutableTopLevelPlan chain) |
static QuickSearchItemImpl |
forDeploymentProject(@NotNull InternalDeploymentProject deploymentProject) |
static QuickSearchItemImpl |
forProject(@NotNull Project project) |
long |
getAclEntityId() |
long |
getEntityId() |
long |
getId() |
String |
getSearchTerm() |
@NotNull QuickSearchItem.Type |
getType() |
void |
setAclEntityId(long aclEntityId) |
void |
setEntityId(long entityId) |
void |
setId(long id) |
void |
setSearchTerm(String searchTerm) |
void |
setType(QuickSearchItem.Type type) |
protected QuickSearchItemImpl()
public QuickSearchItemImpl(@NotNull @NotNull QuickSearchItem.Type type, long entityId, @NotNull @NotNull String searchTerm)
public QuickSearchItemImpl(@NotNull @NotNull QuickSearchItem.Type type, long entityId, long aclEntityId, @NotNull @NotNull String searchTerm)
public long getId()
getId
in interface BambooIdProvider
public void setId(long id)
setId
in interface BambooObject
@NotNull public @NotNull QuickSearchItem.Type getType()
getType
in interface QuickSearchItem
public void setType(QuickSearchItem.Type type)
public long getEntityId()
getEntityId
in interface QuickSearchItem
public void setEntityId(long entityId)
public String getSearchTerm()
getSearchTerm
in interface QuickSearchItem
public void setSearchTerm(String searchTerm)
public long getAclEntityId()
getAclEntityId
in interface QuickSearchItem
public void setAclEntityId(long aclEntityId)
public static QuickSearchItemImpl forProject(@NotNull @NotNull Project project)
public static Stream<QuickSearchItemImpl> forChain(@NotNull @NotNull ImmutableTopLevelPlan chain)
public static QuickSearchItemImpl forBranch(@NotNull @NotNull ImmutableChainBranch branch)
public static QuickSearchItemImpl forBranch(long masterId, @NotNull @NotNull PlanBranchGist branch)
public static QuickSearchItemImpl forDeploymentProject(@NotNull @NotNull InternalDeploymentProject deploymentProject)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.