|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwimlaneService
Provides swimlanes configuration related functionality
Field Summary | |
---|---|
static String |
SWIMLANE_DEFAULT_LANE_ERROR_CONTEXT
|
static String |
SWIMLANE_DESCRIPTION_ERROR_CONTEXT
|
static String |
SWIMLANE_NAME_ERROR_CONTEXT
|
static String |
SWIMLANE_QUERY_ERROR_CONTEXT
|
Method Summary | |
---|---|
ServiceOutcome<Swimlane> |
add(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane)
Adds a new swimlane |
void |
delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Delete a single swimlane |
Swimlane |
get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Get a swimlane given its id |
Set<SwimlaneStrategy> |
getValidStrategies()
Get all valid strategies |
void |
invalidate(RapidView rapidView)
|
List<Swimlane> |
loadSwimlanes(RapidView rapidView)
|
ServiceOutcome<Void> |
moveAfter(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
Long moveToSwimlaneIds)
|
ServiceOutcome<List<Swimlane>> |
replace(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
List<Swimlane> swimlanes)
Replaces all swimlanes for a given rapid view with the specified swimlanes (keeping the order in the list). |
Swimlane |
update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane,
ErrorCollection errors)
Updates a single swimlane for a given rapidView |
Methods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache |
---|
flushCache |
Field Detail |
---|
static final String SWIMLANE_NAME_ERROR_CONTEXT
static final String SWIMLANE_QUERY_ERROR_CONTEXT
static final String SWIMLANE_DESCRIPTION_ERROR_CONTEXT
static final String SWIMLANE_DEFAULT_LANE_ERROR_CONTEXT
Method Detail |
---|
Set<SwimlaneStrategy> getValidStrategies()
List<Swimlane> loadSwimlanes(RapidView rapidView)
Swimlane get(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long swimlaneId, ErrorCollection errors)
@Transactional ServiceOutcome<Swimlane> add(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Swimlane swimlane)
@Transactional Swimlane update(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Swimlane swimlane, ErrorCollection errors)
@Transactional ServiceOutcome<List<Swimlane>> replace(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, List<Swimlane> swimlanes)
@Transactional void delete(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long swimlaneId, ErrorCollection errors)
@Transactional ServiceOutcome<Void> moveAfter(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long swimlaneId, Long moveToSwimlaneIds)
user
- the user doing the moverapidView
- the swimlane is associated withswimlaneId
- the id of the swimlane being movedmoveToSwimlaneIds
- the id of the swimlane to move the target swimlane after. If null
moves the swimlane to the start
void invalidate(RapidView rapidView)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |