Fixed audit annotations to NOT record arguments that are beans

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-09-24 14:43:43 +00:00
parent 95b648f165
commit 3418597d85
2 changed files with 22 additions and 7 deletions

View File

@@ -57,7 +57,9 @@ public interface WorkflowService
* @param mimetype the mimetype of the workflow definition
* @return workflow deployment descriptor
*/
@Auditable(parameters = {"engineId", "workflowDefinition", "mimetype"})
@Auditable(
parameters = {"engineId", "workflowDefinition", "mimetype"},
recordable = {true, false, true})
public WorkflowDeployment deployDefinition(String engineId, InputStream workflowDefinition, String mimetype);
/**
@@ -95,7 +97,9 @@ public interface WorkflowService
* @param mimetype the mimetype of the definition
* @return true => already deployed
*/
@Auditable(parameters = {"engineId", "workflowDefinition", "mimetype"})
@Auditable(
parameters = {"engineId", "workflowDefinition", "mimetype"},
recordable = {true, false, true})
public boolean isDefinitionDeployed(String engineId, InputStream workflowDefinition, String mimetype);
/**