mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user