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 DraftWorkflowSchemeStorepublic boolean hasDraftForParent(long parentId)
hasDraftForParent in interface DraftWorkflowSchemeStorepublic DraftWorkflowSchemeStore.DraftState getDraftForParent(long parentId)
getDraftForParent in interface DraftWorkflowSchemeStorepublic DraftWorkflowSchemeStore.DraftState get(long id)
public Iterable<DraftWorkflowSchemeStore.DraftState> getAll()
public DraftWorkflowSchemeStore.DraftState.Builder builder(long parentId)
builder in interface DraftWorkflowSchemeStorepublic Long getParentId(long id)
getParentId in interface DraftWorkflowSchemeStorepublic Iterable<DraftWorkflowSchemeStore.DraftState> getSchemesUsingWorkflow(JiraWorkflow jiraWorkflow)
public Date getLastDate()
public long getLastId()
Copyright © 2002-2019 Atlassian. All Rights Reserved.