mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added module status to module.properties file saved in WAR for later use. Added contribution to return node path in Reference object. Fixed issues with web service caused by outdated Jars and incorrect AuthenticationService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -483,7 +483,7 @@ public class ActionWebService extends AbstractWebService implements ActionServic
|
||||
|
||||
// Create the web service action object
|
||||
org.alfresco.repo.webservice.action.Action webServiceAction = new org.alfresco.repo.webservice.action.Action(
|
||||
Utils.convertToReference(action.getNodeRef()),
|
||||
Utils.convertToReference(this.nodeService, action.getNodeRef()),
|
||||
action.getId(),
|
||||
action.getActionDefinitionName(),
|
||||
action.getTitle(),
|
||||
@@ -860,7 +860,7 @@ public class ActionWebService extends AbstractWebService implements ActionServic
|
||||
{
|
||||
// Create the execution result object and set the action reference
|
||||
ActionExecutionResult executionResult = new ActionExecutionResult();
|
||||
executionResult.setReference(Utils.convertToReference(nodeRef));
|
||||
executionResult.setReference(Utils.convertToReference(this.nodeService, nodeRef));
|
||||
|
||||
// Tyr and execute the actions
|
||||
List<org.alfresco.repo.webservice.action.Action> executedActions = new ArrayList<org.alfresco.repo.webservice.action.Action>(10);
|
||||
@@ -946,12 +946,12 @@ public class ActionWebService extends AbstractWebService implements ActionServic
|
||||
NodeRef owningNodeRef = this.ruleService.getOwningNodeRef(rule);
|
||||
if (owningNodeRef != null)
|
||||
{
|
||||
owningReference = Utils.convertToReference(owningNodeRef);
|
||||
owningReference = Utils.convertToReference(this.nodeService, owningNodeRef);
|
||||
}
|
||||
|
||||
// Create the web service rule object
|
||||
org.alfresco.repo.webservice.action.Rule webServiceRule = new org.alfresco.repo.webservice.action.Rule(
|
||||
Utils.convertToReference(rule.getNodeRef()),
|
||||
Utils.convertToReference(this.nodeService, rule.getNodeRef()),
|
||||
owningReference,
|
||||
rule.getRuleTypes().toArray(new String[rule.getRuleTypes().size()]),
|
||||
rule.getTitle(),
|
||||
|
Reference in New Issue
Block a user