Class QuickSearchItemImpl
java.lang.Object
com.atlassian.bamboo.index.quicksearch.QuickSearchItemImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,QuickSearchItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.index.quicksearch.QuickSearchItem
QuickSearchItem.Type
-
Constructor Summary
ModifierConstructorDescriptionprotected
QuickSearchItemImpl
(@NotNull QuickSearchItem.Type type, long entityId, long aclEntityId, @NotNull String searchTerm) QuickSearchItemImpl
(@NotNull QuickSearchItem.Type type, long entityId, @NotNull String searchTerm) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
long
long
getId()
@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 Details
-
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 Details
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id) - Specified by:
setId
in interfaceBambooObject
-
getType
- Specified by:
getType
in interfaceQuickSearchItem
-
setType
-
getEntityId
public long getEntityId()- Specified by:
getEntityId
in interfaceQuickSearchItem
-
setEntityId
public void setEntityId(long entityId) -
getSearchTerm
- Specified by:
getSearchTerm
in interfaceQuickSearchItem
-
setSearchTerm
-
getAclEntityId
public long getAclEntityId()- Specified by:
getAclEntityId
in interfaceQuickSearchItem
-
setAclEntityId
public void setAclEntityId(long aclEntityId) -
forProject
-
forChain
-
forBranch
-
forBranch
-
forDeploymentProject
public static QuickSearchItemImpl forDeploymentProject(@NotNull @NotNull InternalDeploymentProject deploymentProject)
-