public class MockDraftWorkflowSchemeStore extends Object implements DraftWorkflowSchemeStore
Modifier and Type | Class and Description |
---|---|
static interface |
WorkflowSchemeStore.State |
DraftWorkflowSchemeStore.DraftState
Constructor and Description |
---|
MockDraftWorkflowSchemeStore() |
public DraftWorkflowSchemeStore.DraftState create(DraftWorkflowSchemeStore.DraftState state)
public DraftWorkflowSchemeStore.DraftState addState(DraftWorkflowSchemeStore.DraftState state)
public DraftWorkflowSchemeStore.DraftState addStateForScheme(DraftWorkflowScheme scheme)
public DraftWorkflowSchemeStore.DraftState update(DraftWorkflowSchemeStore.DraftState state)
public boolean delete(long id)
public boolean delete(DraftWorkflowSchemeStore.DraftState state)
public boolean deleteByParentId(long parentId)
deleteByParentId
in interface DraftWorkflowSchemeStore
public boolean hasDraftForParent(long parentId)
hasDraftForParent
in interface DraftWorkflowSchemeStore
public DraftWorkflowSchemeStore.DraftState getDraftForParent(long parentId)
getDraftForParent
in interface DraftWorkflowSchemeStore
public DraftWorkflowSchemeStore.DraftState get(long id)
public Iterable<DraftWorkflowSchemeStore.DraftState> getAll()
public DraftWorkflowSchemeStore.DraftState.Builder builder(long parentId)
builder
in interface DraftWorkflowSchemeStore
public Long getParentId(long id)
getParentId
in interface DraftWorkflowSchemeStore
public Iterable<DraftWorkflowSchemeStore.DraftState> getSchemesUsingWorkflow(JiraWorkflow jiraWorkflow)
public Date getLastDate()
public long getLastId()
Copyright © 2002-2021 Atlassian. All Rights Reserved.