mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added QNameDAO.updateNamespaceEntity and related tests
- To use directly, get the 'qnameDAO' bean; it implements the QNameDAO interface. - The new namespace must not exist - No reindexing is done git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11002 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -67,6 +67,16 @@ public interface QNameDAO
|
||||
*/
|
||||
NamespaceEntity newNamespaceEntity(String namespaceUri);
|
||||
|
||||
/**
|
||||
* Modifies an existing namespace URI. If the new URI already exists, then no
|
||||
* new entity is created and a concurrency
|
||||
*
|
||||
* @param oldNamespaceUri the old namespace URI
|
||||
* @param newNamespaceUri the new namespace URI
|
||||
* @throws AlfrescoRuntimeException if the new namespace is in use
|
||||
*/
|
||||
void updateNamespaceEntity(String oldNamespaceUri, String newNamespaceUri);
|
||||
|
||||
/**
|
||||
* @param id the unique ID of the entity
|
||||
* @return the QName entity (never null)
|
||||
|
Reference in New Issue
Block a user