com.atlassian.crowd.console.action.directory
Class SynchroniseDirectoryCache

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.directory.ViewConnector
              extended by com.atlassian.crowd.console.action.directory.SynchroniseDirectoryCache
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class SynchroniseDirectoryCache
extends ViewConnector

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.console.action.directory.ViewConnector
active, cacheEnabled, directoryDescription, name
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, logger, propertyManager, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SynchroniseDirectoryCache()
           
 
Method Summary
 java.lang.String doDefault()
          Synchronises the directory cache, and then returns immediately.
 
Methods inherited from class com.atlassian.crowd.console.action.directory.ViewConnector
getActive, getCurrentSynchronisationTime, getDirectory, getDirectoryDescription, getID, getLastSynchronisationDuration, getLastSynchronisationTime, getName, isCacheEnabled, isCurrentlySynchronising, setActive, setCacheEnabled, setConnectorValidator, setDirectory, setDirectoryDescription, setID, setName
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setApplicationManager, setApplicationService, setClientProperties, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchroniseDirectoryCache

public SynchroniseDirectoryCache()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Synchronises the directory cache, and then returns immediately. Runs the synchronise in a background thread so the page will not appear to hang If the directory is already synchronising, a new sync will NOT be started.

Overrides:
doDefault in class ViewConnector
Returns:
Throws:
java.lang.Exception


Copyright © 2010 Atlassian. All Rights Reserved.