org.alfresco.linkvalidation
Class LinkValidationAction

java.lang.Object
  extended by org.alfresco.repo.action.CommonResourceAbstractBase
      extended by org.alfresco.repo.action.ParameterizedItemAbstractBase
          extended by org.alfresco.repo.action.executer.ActionExecuterAbstractBase
              extended by org.alfresco.linkvalidation.LinkValidationAction
All Implemented Interfaces:
ActionExecuter, org.springframework.beans.factory.BeanNameAware

public class LinkValidationAction
extends ActionExecuterAbstractBase

Performs a link validation check.


Field Summary
static java.lang.String NAME
           
static java.lang.String PARAM_COMPARE_TO_STAGING
           
static java.lang.String PARAM_MONITOR
           
 
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
 
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
DISPLAY_LABEL, runtimeActionService
 
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
 
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT
 
Constructor Summary
LinkValidationAction()
           
 
Method Summary
protected  void addParameterDefinitions(java.util.List paramList)
          Adds the parameter definitions to the list
protected  void executeImpl(Action action, NodeRef actionedUponNodeRef)
          Execute the action implementation
 void setAvmService(AVMService service)
          Sets the AVMService instance to use
 void setLinkValidationService(LinkValidationService service)
          Sets the LinkValidationService instance to use
 void setMaxNumberLinksInReport(int maxLinks)
          Sets the maximum number of links to show in a report
 
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getQueueName, init, setApplicableTypes, setPublicAction, setQueueName
 
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString
 
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

PARAM_COMPARE_TO_STAGING

public static final java.lang.String PARAM_COMPARE_TO_STAGING
See Also:
Constant Field Values

PARAM_MONITOR

public static final java.lang.String PARAM_MONITOR
See Also:
Constant Field Values
Constructor Detail

LinkValidationAction

public LinkValidationAction()
Method Detail

setLinkValidationService

public void setLinkValidationService(LinkValidationService service)
Sets the LinkValidationService instance to use

Parameters:
service - The LinkValidationService instance

setAvmService

public void setAvmService(AVMService service)
Sets the AVMService instance to use

Parameters:
service - The AVMService instance

setMaxNumberLinksInReport

public void setMaxNumberLinksInReport(int maxLinks)
Sets the maximum number of links to show in a report

Parameters:
maxLinks - The maximum number of links to store in the report, -1 will store all links but this must be used with extreme caution as the report is stored as a BLOB in the underlying database and these have different maximum sizes

addParameterDefinitions

protected void addParameterDefinitions(java.util.List paramList)
Description copied from class: ParameterizedItemAbstractBase
Adds the parameter definitions to the list

Specified by:
addParameterDefinitions in class ParameterizedItemAbstractBase
Parameters:
paramList - the parameter definitions list

executeImpl

protected void executeImpl(Action action,
                           NodeRef actionedUponNodeRef)
Description copied from class: ActionExecuterAbstractBase
Execute the action implementation

Specified by:
executeImpl in class ActionExecuterAbstractBase
Parameters:
action - the action
actionedUponNodeRef - the actioned upon node


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.