com.atlassian.greenhopper.service.configuration
Class UserBoardsPreferencesServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.configuration.UserBoardsPreferencesServiceImpl
All Implemented Interfaces:
GreenHopperCache, 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 flushCache()
          Clears out any internal caches.
 UserBoardsPreferences getPreferences(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.project.Project project)
          Get the UserBoardsPreferences object for a given user and project
 void init()
           
 void removeCachedPreferences(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.project.Project project)
          Remove the cached preferences for the specified user and project
 
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

init

@PostConstruct
public void init()

getPreferences

public UserBoardsPreferences getPreferences(com.atlassian.crowd.embedded.api.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

flushCache

public void flushCache()
Clears out any internal caches.

Specified by:
flushCache in interface GreenHopperCache

removeCachedPreferences

public void removeCachedPreferences(@Nonnull
                                    com.atlassian.crowd.embedded.api.User user,
                                    @Nonnull
                                    com.atlassian.jira.project.Project project)
Description copied from interface: UserBoardsPreferencesService
Remove the cached preferences for the specified user and project

Specified by:
removeCachedPreferences in interface UserBoardsPreferencesService
Parameters:
user - the user
project - the project


Copyright © 2007-2014 Atlassian. All Rights Reserved.