Class QuickSearchItemImpl
- java.lang.Object
-
- com.atlassian.bamboo.index.quicksearch.QuickSearchItemImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,QuickSearchItem
@Entity public class QuickSearchItemImpl extends Object implements QuickSearchItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.index.quicksearch.QuickSearchItem
QuickSearchItem.Type
-
-
Constructor Summary
Constructors Modifier Constructor 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuickSearchItemImpl
forBranch(long masterId, @NotNull PlanBranchGist branch)
static QuickSearchItemImpl
forBranch(@NotNull ImmutableChainBranch 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)
-
-
-
Constructor Detail
-
QuickSearchItemImpl
protected QuickSearchItemImpl()
-
QuickSearchItemImpl
public QuickSearchItemImpl(@NotNull @NotNull QuickSearchItem.Type type, long entityId, @NotNull @NotNull String searchTerm)
-
QuickSearchItemImpl
public QuickSearchItemImpl(@NotNull @NotNull QuickSearchItem.Type type, long entityId, long aclEntityId, @NotNull @NotNull String searchTerm)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceBambooObject
-
getType
@NotNull public @NotNull QuickSearchItem.Type getType()
- Specified by:
getType
in interfaceQuickSearchItem
-
setType
public void setType(QuickSearchItem.Type type)
-
getEntityId
public long getEntityId()
- Specified by:
getEntityId
in interfaceQuickSearchItem
-
setEntityId
public void setEntityId(long entityId)
-
getSearchTerm
public String getSearchTerm()
- Specified by:
getSearchTerm
in interfaceQuickSearchItem
-
setSearchTerm
public void setSearchTerm(String searchTerm)
-
getAclEntityId
public long getAclEntityId()
- Specified by:
getAclEntityId
in interfaceQuickSearchItem
-
setAclEntityId
public void setAclEntityId(long aclEntityId)
-
forProject
public static QuickSearchItemImpl forProject(@NotNull @NotNull Project project)
-
forChain
public static Stream<QuickSearchItemImpl> forChain(@NotNull @NotNull ImmutableTopLevelPlan chain)
-
forBranch
public static QuickSearchItemImpl forBranch(@NotNull @NotNull ImmutableChainBranch branch)
-
forBranch
public static QuickSearchItemImpl forBranch(long masterId, @NotNull @NotNull PlanBranchGist branch)
-
forDeploymentProject
public static QuickSearchItemImpl forDeploymentProject(@NotNull @NotNull InternalDeploymentProject deploymentProject)
-
-