|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.service.rapid.view.SwimlaneServiceImpl
@Service public class SwimlaneServiceImpl
Provides swimlanes configuration related functionality
| Field Summary |
|---|
| Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable |
|---|
logger |
| 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 | |
|---|---|
Swimlane |
add(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane,
ErrorCollection errors)
Adds a new swimlane |
java.util.List<Swimlane> |
copy(java.util.List<Swimlane> sourceSwimlanes)
Copies the Swimlanes specified. |
void |
delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Delete a single swimlane |
void |
flushCache()
|
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)
|
void |
moveBefore(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
long moveToSwimlaneId,
ErrorCollection errors)
Moves a swimlane before another one |
void |
moveLast(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Moves a swimlane to the last spot |
java.util.List<Swimlane> |
replace(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.List<Swimlane> swimlanes,
ErrorCollection errors)
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 com.atlassian.greenhopper.global.AbstractLoggable |
|---|
logDebug, logError, logException, logInfo, logTrace, logWarn |
| 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.List<Swimlane> copy(java.util.List<Swimlane> sourceSwimlanes)
SwimlaneService
copy in interface SwimlaneServicesourceSwimlanes - the swimlanes to copy
public java.util.Set<SwimlaneStrategy> getValidStrategies()
SwimlaneService
getValidStrategies in interface SwimlaneServicepublic 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 Swimlane add(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane,
ErrorCollection errors)
add in interface SwimlaneService
public Swimlane update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane,
ErrorCollection errors)
update in interface SwimlaneService
public java.util.List<Swimlane> replace(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.List<Swimlane> swimlanes,
ErrorCollection errors)
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 void moveBefore(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
long moveToSwimlaneId,
ErrorCollection errors)
moveBefore in interface SwimlaneService
public void moveLast(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
moveLast in interface SwimlaneServicepublic void invalidate(RapidView rapidView)
invalidate in interface SwimlaneServicepublic void flushCache()
flushCache in interface SwimlaneService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||