com.atlassian.confluence.admin.actions
Class ManageReferrersAction

java.lang.Object
  extended bycom.opensymphony.xwork.ActionSupport
      extended bycom.atlassian.confluence.core.ConfluenceActionSupport
          extended bycom.atlassian.confluence.admin.actions.ManageReferrersAction
All Implemented Interfaces:
com.opensymphony.xwork.Action, Administrative, com.opensymphony.xwork.LocaleProvider, Serializable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware

public class ManageReferrersAction
extends ConfluenceActionSupport
implements Administrative

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ManageReferrersAction()
           
 
Method Summary
 String doAddExcludedReferrer()
           
 String doBanReferrerAndRefreshCache()
          bans a referrer and refreshes the referrer cache of the page it came from
 String doDisableReferrers()
           
 String doEnableReferrers()
           
 String doHideReferrers()
           
 String doRemoveExcludedReferrer()
           
 String doShowReferrers()
           
 String execute()
           
 int getDeletions()
           
 List getExcludedReferrers()
           
 String getJustAdded()
           
 PaginationSupport getPaginationSupport()
           
 long getRedirPageId()
           
 String getReferrerToExclude()
           
 String getReferrerToRemove()
           
 boolean isCollectReferrerData()
           
 boolean isHideExternalReferrers()
           
 boolean isShowActionMsg()
           
 void setDeletions(int deletions)
           
 void setJustAdded(String justAdded)
           
 void setRedirPageId(long redirPageId)
           
 void setReferrerToExclude(String referrerToExclude)
           
 void setReferrerToRemove(String referrerToRemove)
           
 void setShowActionMsg(boolean showActionMsg)
           
 void setStartIndex(int start)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addPermissionTypeTo, addToHistory, doDefault, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEditorLanguage, getEventManager, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManageReferrersAction

public ManageReferrersAction()
Method Detail

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Throws:
Exception

doDisableReferrers

public String doDisableReferrers()

doEnableReferrers

public String doEnableReferrers()

doHideReferrers

public String doHideReferrers()

doShowReferrers

public String doShowReferrers()

doAddExcludedReferrer

public String doAddExcludedReferrer()
                             throws Exception
Throws:
Exception

doBanReferrerAndRefreshCache

public String doBanReferrerAndRefreshCache()
                                    throws Exception
bans a referrer and refreshes the referrer cache of the page it came from

Returns:
Throws:
Exception

getReferrerToExclude

public String getReferrerToExclude()

setReferrerToExclude

public void setReferrerToExclude(String referrerToExclude)

setReferrerToRemove

public void setReferrerToRemove(String referrerToRemove)

getReferrerToRemove

public String getReferrerToRemove()

getJustAdded

public String getJustAdded()

setJustAdded

public void setJustAdded(String justAdded)

doRemoveExcludedReferrer

public String doRemoveExcludedReferrer()

isHideExternalReferrers

public boolean isHideExternalReferrers()

isCollectReferrerData

public boolean isCollectReferrerData()

getExcludedReferrers

public List getExcludedReferrers()

isShowActionMsg

public boolean isShowActionMsg()

setShowActionMsg

public void setShowActionMsg(boolean showActionMsg)

getDeletions

public int getDeletions()

setDeletions

public void setDeletions(int deletions)

getPaginationSupport

public PaginationSupport getPaginationSupport()

setStartIndex

public void setStartIndex(int start)

getRedirPageId

public long getRedirPageId()

setRedirPageId

public void setRedirPageId(long redirPageId)


Confluence is developed by Atlassian.