com.atlassian.greenhopper.service.configuration
Class UserBoardsPreferencesServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.configuration.UserBoardsPreferencesServiceImpl
All Implemented Interfaces:
UserBoardsPreferencesService

@Service(value="gh-userBoardsPreferencesService")
public class UserBoardsPreferencesServiceImpl
extends java.lang.Object
implements UserBoardsPreferencesService


Field Summary
 
Fields inherited from interface com.atlassian.greenhopper.service.configuration.UserBoardsPreferencesService
SERVICE
 
Constructor Summary
UserBoardsPreferencesServiceImpl()
           
 
Method Summary
 void clearCache()
          Clears out any internal caches.
 int getHighLightOpacity(com.opensymphony.user.User user, XProject xproject)
          Returns the user configured opacity for non-highlighted issues
 UserBoardsPreferences getPreferences(com.opensymphony.user.User user, com.atlassian.jira.project.Project project)
          Get the UserBoardsPreferences object for a given user and project
 UserBoardsPreferences getPreferences(com.opensymphony.user.User user, XProject xproject)
          Get the UserBoardsPreferences object for a given user and xproject
 PrintPreferencesModel getPrintPreferences(com.opensymphony.user.User user, XProject xproject)
          Gets the boolean value for the printProjectName
 boolean isBGColored(com.opensymphony.user.User user, XProject xproject)
          Returns true if the card backgrounds are coloured
 void setPrintPreferences(com.opensymphony.user.User user, XProject xproject, PrintPreferencesModel value)
          Sets the boolean for printProjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBoardsPreferencesServiceImpl

public UserBoardsPreferencesServiceImpl()
Method Detail

getPreferences

public UserBoardsPreferences getPreferences(com.opensymphony.user.User user,
                                            XProject xproject)
Description copied from interface: UserBoardsPreferencesService
Get the UserBoardsPreferences object for a given user and xproject

Specified by:
getPreferences in interface UserBoardsPreferencesService

getPreferences

public UserBoardsPreferences getPreferences(com.opensymphony.user.User user,
                                            com.atlassian.jira.project.Project project)
Description copied from interface: UserBoardsPreferencesService
Get the UserBoardsPreferences object for a given user and project

Specified by:
getPreferences in interface UserBoardsPreferencesService

clearCache

public void clearCache()
Clears out any internal caches.

Specified by:
clearCache in interface UserBoardsPreferencesService

isBGColored

public boolean isBGColored(com.opensymphony.user.User user,
                           XProject xproject)
Description copied from interface: UserBoardsPreferencesService
Returns true if the card backgrounds are coloured

Specified by:
isBGColored in interface UserBoardsPreferencesService

setPrintPreferences

public void setPrintPreferences(com.opensymphony.user.User user,
                                XProject xproject,
                                PrintPreferencesModel value)
Description copied from interface: UserBoardsPreferencesService
Sets the boolean for printProjectName

Specified by:
setPrintPreferences in interface UserBoardsPreferencesService

getPrintPreferences

public PrintPreferencesModel getPrintPreferences(com.opensymphony.user.User user,
                                                 XProject xproject)
Description copied from interface: UserBoardsPreferencesService
Gets the boolean value for the printProjectName

Specified by:
getPrintPreferences in interface UserBoardsPreferencesService

getHighLightOpacity

public int getHighLightOpacity(com.opensymphony.user.User user,
                               XProject xproject)
Description copied from interface: UserBoardsPreferencesService
Returns the user configured opacity for non-highlighted issues

Specified by:
getHighLightOpacity in interface UserBoardsPreferencesService


Copyright © 2007-2011 Atlassian. All Rights Reserved.