com.atlassian.jira.web.util
Class OutlookDateManagerImpl

java.lang.Object
  extended by com.atlassian.jira.web.util.OutlookDateManagerImpl
All Implemented Interfaces:
Startable, OutlookDateManager

public class OutlookDateManagerImpl
extends Object
implements OutlookDateManager, Startable


Constructor Summary
OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher)
           
OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher, ApplicationProperties applicationProperties, I18nHelper.BeanFactory i18nHelperFactory, DateTimeFormatterFactory dateTimeFormatterFactory)
           
 
Method Summary
 OutlookDate getOutlookDate(Locale locale)
          Returns an instance of OutlookDate for an specified locale.
 void onClearCache(ClearCacheEvent event)
           
 void refresh()
          Refreshes all the Outlook dates so they contain the new date format
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlookDateManagerImpl

public OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher)

OutlookDateManagerImpl

public OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher,
                              ApplicationProperties applicationProperties,
                              I18nHelper.BeanFactory i18nHelperFactory,
                              DateTimeFormatterFactory dateTimeFormatterFactory)
Method Detail

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
Exception - Allows implementations to throw an Exception.

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

refresh

public void refresh()
Description copied from interface: OutlookDateManager
Refreshes all the Outlook dates so they contain the new date format

Specified by:
refresh in interface OutlookDateManager

getOutlookDate

public OutlookDate getOutlookDate(Locale locale)
Description copied from interface: OutlookDateManager
Returns an instance of OutlookDate for an specified locale.

Specified by:
getOutlookDate in interface OutlookDateManager
Parameters:
locale - This parameter is ignored
Returns:
An instance of OutlookDate


Copyright © 2002-2012 Atlassian. All Rights Reserved.