Audit annotations

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2006-07-21 15:07:09 +00:00
parent fd1646e8a8
commit 445ae05a8e

View File

@@ -18,6 +18,8 @@ package org.alfresco.service.namespace;
import java.util.Collection; import java.util.Collection;
import org.alfresco.service.Auditable;
/** /**
* The <code>NamespacePrefixResolver</code> provides a mapping between * The <code>NamespacePrefixResolver</code> provides a mapping between
* namespace prefixes and namespace URIs. * namespace prefixes and namespace URIs.
@@ -33,6 +35,7 @@ public interface NamespacePrefixResolver
* @return the namespace * @return the namespace
* @throws NamespaceException if prefix has not been registered * @throws NamespaceException if prefix has not been registered
*/ */
@Auditable(parameters = {"prefix"})
public String getNamespaceURI(String prefix) public String getNamespaceURI(String prefix)
throws NamespaceException; throws NamespaceException;
@@ -43,6 +46,7 @@ public interface NamespacePrefixResolver
* @return the prefixes (or empty collection, if no prefixes registered against URI) * @return the prefixes (or empty collection, if no prefixes registered against URI)
* @throws NamespaceException if URI has not been registered * @throws NamespaceException if URI has not been registered
*/ */
@Auditable(parameters = {"namespaceURI"})
public Collection<String> getPrefixes(String namespaceURI) public Collection<String> getPrefixes(String namespaceURI)
throws NamespaceException; throws NamespaceException;
@@ -51,6 +55,7 @@ public interface NamespacePrefixResolver
* *
* @return collection of all registered namespace prefixes * @return collection of all registered namespace prefixes
*/ */
@Auditable
Collection<String> getPrefixes(); Collection<String> getPrefixes();
/** /**
@@ -58,6 +63,7 @@ public interface NamespacePrefixResolver
* *
* @return collection of all registered namespace uris * @return collection of all registered namespace uris
*/ */
@Auditable
Collection<String> getURIs(); Collection<String> getURIs();
} }