public class OfBizDraftWorkflowSchemeStore extends Object implements DraftWorkflowSchemeStore
Modifier and Type | Class and Description |
---|---|
static interface |
WorkflowSchemeStore.State |
DraftWorkflowSchemeStore.DraftState
Constructor and Description |
---|
OfBizDraftWorkflowSchemeStore(OfBizDelegator delegator) |
Modifier and Type | Method and Description |
---|---|
DraftWorkflowSchemeStore.DraftState.Builder |
builder(long parentId) |
DraftWorkflowSchemeStore.DraftState |
create(DraftWorkflowSchemeStore.DraftState state) |
boolean |
delete(DraftWorkflowSchemeStore.DraftState state) |
boolean |
delete(long id) |
boolean |
deleteByParentId(long parentId) |
DraftWorkflowSchemeStore.DraftState |
get(long id) |
Iterable<DraftWorkflowSchemeStore.DraftState> |
getAll() |
DraftWorkflowSchemeStore.DraftState |
getDraftForParent(long parentId) |
Long |
getParentId(long id) |
Iterable<DraftWorkflowSchemeStore.DraftState> |
getSchemesUsingWorkflow(JiraWorkflow workflow) |
boolean |
hasDraftForParent(long parentId) |
boolean |
renameWorkflow(String oldName,
String newName) |
DraftWorkflowSchemeStore.DraftState |
update(DraftWorkflowSchemeStore.DraftState state) |
public OfBizDraftWorkflowSchemeStore(OfBizDelegator delegator)
public DraftWorkflowSchemeStore.DraftState create(DraftWorkflowSchemeStore.DraftState state)
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 workflow)
Copyright © 2002-2019 Atlassian. All Rights Reserved.