Class SynchroniseDirectoryCacheFromBrowse

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.directory.BrowseDirectories
com.atlassian.crowd.console.action.directory.SynchroniseDirectoryCacheFromBrowse
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class SynchroniseDirectoryCacheFromBrowse extends BrowseDirectories
See Also:
  • Constructor Details

    • SynchroniseDirectoryCacheFromBrowse

      public SynchroniseDirectoryCacheFromBrowse()
  • Method Details

    • execute

      public String execute() throws 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.
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BrowseDirectories
      Throws:
      Exception
    • getID

      public final long getID()
    • setID

      public final void setID(long ID)
    • getDirectory

      public final Directory getDirectory()