Transaction-level Policies. Modify AuditableAspect and ContentHits example to make use of transaction policies so they only trigger once.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-04-12 16:15:20 +00:00
parent 776314da72
commit 0330f2cdb7
14 changed files with 1102 additions and 71 deletions

View File

@@ -16,6 +16,7 @@
*/
package org.alfresco.repo.policy;
import org.alfresco.repo.policy.Policy.Arg;
import org.alfresco.service.namespace.QName;
@@ -46,7 +47,23 @@ public interface PolicyDefinition<P extends Policy>
/**
* Gets the Policy type
*
* @return the policy type
*/
public PolicyType getType();
/**
* Gets Policy Argument definition for the specified argument index
*
* @param index argument index
* @return ARG.KEY or ARG.START_VALUE or ARG.END_VALUE
*/
public Arg getArgument(int index);
/**
* Gets Policy Argument definitions for all arguments in order of arguments
* @return
*/
public Arg[] getArguments();
}