|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.rapid.view.SwimlaneServiceImpl
@Service public class SwimlaneServiceImpl
Provides swimlanes configuration related functionality
Field Summary |
---|
Fields inherited from interface com.atlassian.greenhopper.service.rapid.view.SwimlaneService |
---|
SWIMLANE_DEFAULT_LANE_ERROR_CONTEXT, SWIMLANE_DESCRIPTION_ERROR_CONTEXT, SWIMLANE_NAME_ERROR_CONTEXT, SWIMLANE_QUERY_ERROR_CONTEXT |
Constructor Summary | |
---|---|
SwimlaneServiceImpl()
|
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 |
void |
flushCache()
Invoked when all caches in the plugin need to be cleared. |
Swimlane |
get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Get a swimlane given its id |
java.util.Set<SwimlaneStrategy> |
getValidStrategies()
Get all valid strategies |
void |
invalidate(RapidView rapidView)
|
java.util.List<Swimlane> |
loadSwimlanes(RapidView rapidView)
|
ServiceOutcome<java.lang.Void> |
moveAfter(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
java.lang.Long moveToSwimlaneId)
Moves a swimlane before another one |
ServiceOutcome<java.util.List<Swimlane>> |
replace(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwimlaneServiceImpl()
Method Detail |
---|
public java.util.Set<SwimlaneStrategy> getValidStrategies()
SwimlaneService
getValidStrategies
in interface SwimlaneService
public java.util.List<Swimlane> loadSwimlanes(RapidView rapidView)
loadSwimlanes
in interface SwimlaneService
public Swimlane get(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long swimlaneId, ErrorCollection errors)
SwimlaneService
get
in interface SwimlaneService
public ServiceOutcome<Swimlane> add(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Swimlane swimlane)
add
in interface SwimlaneService
public Swimlane update(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Swimlane swimlane, ErrorCollection errors)
update
in interface SwimlaneService
@NotNull public ServiceOutcome<java.util.List<Swimlane>> replace(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.List<Swimlane> swimlanes)
SwimlaneService
replace
in interface SwimlaneService
public void delete(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long swimlaneId, ErrorCollection errors)
delete
in interface SwimlaneService
public ServiceOutcome<java.lang.Void> moveAfter(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long swimlaneId, java.lang.Long moveToSwimlaneId)
moveAfter
in interface SwimlaneService
user
- the user doing the moverapidView
- the swimlane is associated withswimlaneId
- the id of the swimlane being movedmoveToSwimlaneId
- the id of the swimlane to move the target swimlane after. If null
moves the swimlane to the start
public void invalidate(RapidView rapidView)
invalidate
in interface SwimlaneService
public void flushCache()
GreenHopperCache
flushCache
in interface GreenHopperCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |