Interface CardLayoutManager
- All Superinterfaces:
GreenHopperCache
- All Known Implementing Classes:
CardLayoutManagerImpl
Manager for card layouts.
- Since:
- v6.5
-
Method Summary
Modifier and TypeMethodDescriptionadd(RapidView rapidView, CardLayoutField cardLayoutField) Add a card layout field at the beginning of the card layout field configuration for a specific board.Copy card layout from source rapid view to target rapid viewRemove a given layout configuration item.Return a list of card layout fields for a given board.voidinvalidate(RapidView view) invalidates the cache entry for a given rapid view.moveAfter(RapidView rapidView, long cardLayoutFieldId, io.atlassian.fugue.Option<Long> optionalFieldIdToMoveAfter) Move a field after another field.Methods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache
flushCache
-
Method Details
-
getAll
Return a list of card layout fields for a given board.- Parameters:
rapidView- is the board- Returns:
- a list of card layout fields
-
add
@Transactional ServiceOutcome<CardLayoutField> add(RapidView rapidView, CardLayoutField cardLayoutField) Add a card layout field at the beginning of the card layout field configuration for a specific board.- Parameters:
rapidView- is the board configurationcardLayoutField- is the card layout field to be added- Returns:
- service outcome
-
delete
Remove a given layout configuration item.- Parameters:
rapidView- the rapid viewcardLayoutFieldId- the item id- Returns:
- nothing
-
moveAfter
@Transactional ServiceResult moveAfter(RapidView rapidView, long cardLayoutFieldId, io.atlassian.fugue.Option<Long> optionalFieldIdToMoveAfter) Move a field after another field.- Parameters:
rapidView- the rapid viewcardLayoutFieldId- the field Id to moveoptionalFieldIdToMoveAfter- the field to move after, or when empty then move to beginning- Returns:
-
copy
@Transactional ServiceOutcome<List<CardLayoutField>> copy(RapidView sourceRapidView, RapidView targetRapidView) Copy card layout from source rapid view to target rapid view- Parameters:
sourceRapidView- the sourceRapidViewtargetRapidView- the targetRapidViewto copy to- Returns:
ServiceOutcome
-
invalidate
invalidates the cache entry for a given rapid view.
-