public class

MockDraftWorkflowSchemeStore

extends Object
implements DraftWorkflowSchemeStore
java.lang.Object
   ↳ com.atlassian.jira.workflow.MockDraftWorkflowSchemeStore

Summary

Public Constructors
MockDraftWorkflowSchemeStore()
Public Methods
DraftWorkflowSchemeStore.DraftState addState(DraftWorkflowSchemeStore.DraftState state)
DraftWorkflowSchemeStore.DraftState addStateForScheme(DraftWorkflowScheme scheme)
DraftWorkflowSchemeStore.DraftState.Builder builder(long parentId)
DraftWorkflowSchemeStore.DraftState create(DraftWorkflowSchemeStore.DraftState state)
boolean delete(long id)
boolean delete(DraftWorkflowSchemeStore.DraftState state)
boolean deleteByParentId(long parentId)
DraftWorkflowSchemeStore.DraftState get(long id)
Iterable<DraftWorkflowSchemeStore.DraftState> getAll()
DraftWorkflowSchemeStore.DraftState getDraftForParent(long parentId)
Date getLastDate()
long getLastId()
Long getParentId(long id)
Iterable<DraftWorkflowSchemeStore.DraftState> getSchemesUsingWorkflow(JiraWorkflow jiraWorkflow)
boolean hasDraftForParent(long parentId)
boolean renameWorkflow(String oldName, String newName)
DraftWorkflowSchemeStore.DraftState update(DraftWorkflowSchemeStore.DraftState state)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.workflow.DraftWorkflowSchemeStore

Public Constructors

public MockDraftWorkflowSchemeStore ()

Public Methods

public DraftWorkflowSchemeStore.DraftState addStateForScheme (DraftWorkflowScheme scheme)

public DraftWorkflowSchemeStore.DraftState.Builder builder (long parentId)

public boolean delete (long id)

public boolean delete (DraftWorkflowSchemeStore.DraftState state)

public boolean deleteByParentId (long parentId)

public DraftWorkflowSchemeStore.DraftState getDraftForParent (long parentId)

public Date getLastDate ()

public long getLastId ()

public Long getParentId (long id)

public Iterable<DraftWorkflowSchemeStore.DraftState> getSchemesUsingWorkflow (JiraWorkflow jiraWorkflow)

public boolean hasDraftForParent (long parentId)

public boolean renameWorkflow (String oldName, String newName)