com.atlassian.greenhopper.service.display
Class ColumnBoxSizeServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.display.ColumnBoxSizeServiceImpl
All Implemented Interfaces:
ColumnBoxSizeService

@Service(value="gh-collapseColumnService")
public class ColumnBoxSizeServiceImpl
extends java.lang.Object
implements ColumnBoxSizeService


Field Summary
 
Fields inherited from interface com.atlassian.greenhopper.service.display.ColumnBoxSizeService
SERVICE
 
Constructor Summary
ColumnBoxSizeServiceImpl()
           
 
Method Summary
 java.util.Set<java.lang.String> getExpandedBoxes(ViewDefinition view, BoardData boardData)
          Gets the boxes that are expanded from the session.
 void toggleExpandedBoxes(ViewDefinition view, java.util.Set<java.lang.String> columnIds)
          TODO currently, a param named 'col' is sneaked in here as well, and this means not that a particular box is expanded but defines that the whole column is hidden.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnBoxSizeServiceImpl

public ColumnBoxSizeServiceImpl()
Method Detail

getExpandedBoxes

public java.util.Set<java.lang.String> getExpandedBoxes(ViewDefinition view,
                                                        BoardData boardData)
Description copied from interface: ColumnBoxSizeService
Gets the boxes that are expanded from the session. If there is nothing stored in the session yet, then it will create a new list of expanded boxes with only the selected box expanded. This means that at the start of each session, all boxes will be collapsed except the currently selected box

Specified by:
getExpandedBoxes in interface ColumnBoxSizeService
boardData - - Box to be expanded

toggleExpandedBoxes

public void toggleExpandedBoxes(ViewDefinition view,
                                java.util.Set<java.lang.String> columnIds)
TODO currently, a param named 'col' is sneaked in here as well, and this means not that a particular box is expanded but defines that the whole column is hidden. This needs to _die_ as soon as we've got around to fix up the JS.

Specified by:
toggleExpandedBoxes in interface ColumnBoxSizeService


Copyright © 2007-2011 Atlassian. All Rights Reserved.