mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Removed inaccessible and unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -52,9 +52,6 @@
|
|||||||
<property name="transactionService">
|
<property name="transactionService">
|
||||||
<ref bean="transactionService"/>
|
<ref bean="transactionService"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="authenticationContext">
|
|
||||||
<ref bean="authenticationContext"/>
|
|
||||||
</property>
|
|
||||||
<property name="nodeService">
|
<property name="nodeService">
|
||||||
<ref bean="NodeService"/>
|
<ref bean="NodeService"/>
|
||||||
</property>
|
</property>
|
||||||
@@ -70,9 +67,6 @@
|
|||||||
<property name="transactionService">
|
<property name="transactionService">
|
||||||
<ref bean="transactionService"/>
|
<ref bean="transactionService"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="authenticationContext">
|
|
||||||
<ref bean="authenticationContext"/>
|
|
||||||
</property>
|
|
||||||
<property name="nodeService">
|
<property name="nodeService">
|
||||||
<ref bean="NodeService"/>
|
<ref bean="NodeService"/>
|
||||||
</property>
|
</property>
|
||||||
|
@@ -41,7 +41,6 @@ import org.alfresco.repo.transaction.TransactionListenerAdapter;
|
|||||||
import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback;
|
import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback;
|
||||||
import org.alfresco.service.cmr.action.Action;
|
import org.alfresco.service.cmr.action.Action;
|
||||||
import org.alfresco.service.cmr.action.ActionServiceException;
|
import org.alfresco.service.cmr.action.ActionServiceException;
|
||||||
import org.alfresco.service.cmr.action.ActionStatus;
|
|
||||||
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
|
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
|
||||||
import org.alfresco.service.cmr.repository.NodeRef;
|
import org.alfresco.service.cmr.repository.NodeRef;
|
||||||
import org.alfresco.service.cmr.repository.NodeService;
|
import org.alfresco.service.cmr.repository.NodeService;
|
||||||
@@ -62,7 +61,6 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
/** Services */
|
/** Services */
|
||||||
private ThreadPoolExecutor threadPoolExecutor;
|
private ThreadPoolExecutor threadPoolExecutor;
|
||||||
private TransactionService transactionService;
|
private TransactionService transactionService;
|
||||||
private AuthenticationContext authenticationContext;
|
|
||||||
private PolicyComponent policyComponent;
|
private PolicyComponent policyComponent;
|
||||||
private Map<String, AbstractAsynchronousActionFilter>
|
private Map<String, AbstractAsynchronousActionFilter>
|
||||||
actionFilters = new ConcurrentHashMap<String, AbstractAsynchronousActionFilter>();
|
actionFilters = new ConcurrentHashMap<String, AbstractAsynchronousActionFilter>();
|
||||||
@@ -117,13 +115,11 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the authentication component
|
* @deprecated Not used since 3.4
|
||||||
*
|
|
||||||
* @param authenticationContext the authentication component
|
|
||||||
*/
|
*/
|
||||||
public void setAuthenticationContext(AuthenticationContext authenticationContext)
|
public void setAuthenticationContext(AuthenticationContext authenticationContext)
|
||||||
{
|
{
|
||||||
this.authenticationContext = authenticationContext;
|
logger.warn("Property 'authenticationContext' is no longer required.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -249,7 +245,6 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
action,
|
action,
|
||||||
actionedUponNodeRef,
|
actionedUponNodeRef,
|
||||||
checkConditions,
|
checkConditions,
|
||||||
actionExecutionHistoryNodeRef,
|
|
||||||
actionChain,
|
actionChain,
|
||||||
executedRules);
|
executedRules);
|
||||||
|
|
||||||
@@ -381,7 +376,6 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
private Action action;
|
private Action action;
|
||||||
private NodeRef actionedUponNodeRef;
|
private NodeRef actionedUponNodeRef;
|
||||||
private boolean checkConditions;
|
private boolean checkConditions;
|
||||||
private NodeRef actionExecutionHistoryNodeRef;
|
|
||||||
private Set<String> actionChain;
|
private Set<String> actionChain;
|
||||||
private Set<RuleServiceImpl.ExecutedRuleData> executedRules;
|
private Set<RuleServiceImpl.ExecutedRuleData> executedRules;
|
||||||
|
|
||||||
@@ -390,7 +384,6 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
* @param action the action to perform
|
* @param action the action to perform
|
||||||
* @param actionedUponNodeRef the node to perform the action on
|
* @param actionedUponNodeRef the node to perform the action on
|
||||||
* @param checkConditions the check conditions
|
* @param checkConditions the check conditions
|
||||||
* @param actionExecutionHistoryNodeRef the action execution history node reference
|
|
||||||
* @param actionChain the action chain
|
* @param actionChain the action chain
|
||||||
* @param executedRules list of executions done to helps to prevent loop scenarios with async rules
|
* @param executedRules list of executions done to helps to prevent loop scenarios with async rules
|
||||||
*/
|
*/
|
||||||
@@ -399,7 +392,6 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
Action action,
|
Action action,
|
||||||
NodeRef actionedUponNodeRef,
|
NodeRef actionedUponNodeRef,
|
||||||
boolean checkConditions,
|
boolean checkConditions,
|
||||||
NodeRef actionExecutionHistoryNodeRef,
|
|
||||||
Set<String> actionChain,
|
Set<String> actionChain,
|
||||||
Set<RuleServiceImpl.ExecutedRuleData> executedRules)
|
Set<RuleServiceImpl.ExecutedRuleData> executedRules)
|
||||||
{
|
{
|
||||||
@@ -407,61 +399,10 @@ public class AsynchronousActionExecutionQueueImpl implements AsynchronousActionE
|
|||||||
this.actionedUponNodeRef = actionedUponNodeRef;
|
this.actionedUponNodeRef = actionedUponNodeRef;
|
||||||
this.action = action;
|
this.action = action;
|
||||||
this.checkConditions = checkConditions;
|
this.checkConditions = checkConditions;
|
||||||
this.actionExecutionHistoryNodeRef = actionExecutionHistoryNodeRef;
|
|
||||||
this.actionChain = actionChain;
|
this.actionChain = actionChain;
|
||||||
this.executedRules = executedRules;
|
this.executedRules = executedRules;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the action
|
|
||||||
*
|
|
||||||
* @return the action
|
|
||||||
*/
|
|
||||||
public Action getAction()
|
|
||||||
{
|
|
||||||
return this.action;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the actioned upon node reference
|
|
||||||
*
|
|
||||||
* @return the actioned upon node reference
|
|
||||||
*/
|
|
||||||
public NodeRef getActionedUponNodeRef()
|
|
||||||
{
|
|
||||||
return this.actionedUponNodeRef;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the check conditions value
|
|
||||||
*
|
|
||||||
* @return the check conditions value
|
|
||||||
*/
|
|
||||||
public boolean getCheckCondtions()
|
|
||||||
{
|
|
||||||
return this.checkConditions;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the action execution history node reference
|
|
||||||
*
|
|
||||||
* @return the action execution history node reference
|
|
||||||
*/
|
|
||||||
public NodeRef getActionExecutionHistoryNodeRef()
|
|
||||||
{
|
|
||||||
return this.actionExecutionHistoryNodeRef;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the action chain
|
|
||||||
*
|
|
||||||
* @return the action chain
|
|
||||||
*/
|
|
||||||
public Set<String> getActionChain()
|
|
||||||
{
|
|
||||||
return actionChain;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes the action via the action runtime service
|
* Executes the action via the action runtime service
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user