Jan Vonka f3b8452415 Merged V3.2 to HEAD
19507: ALF-955: deletion of dynamic custom model
   19553: Follow-on to r19507 (ALF-955) - fix testAutoRemovalOfVersionHistory


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-25 09:30:11 +00:00

79 lines
2.0 KiB
Java

/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
package org.alfresco.repo.dictionary;
import org.alfresco.service.namespace.NamespacePrefixResolver;
/**
* Namespace DAO Interface.
*
* This DAO is responsible for retrieving and creating Namespace definitions.
*
* @author David Caruana
*/
public interface NamespaceDAO extends NamespacePrefixResolver
{
/**
* Add a namespace URI
*
* @param uri the namespace uri to add
*/
public void addURI(String uri);
/**
* Remove the specified URI
*
* @param uri the uri to remove
*/
public void removeURI(String uri);
/**
* Add a namespace prefix
*
* @param prefix the prefix
* @param uri the uri to prefix
*/
public void addPrefix(String prefix, String uri);
/**
* Remove a namspace prefix
*
* @param prefix the prefix to remove
*/
public void removePrefix(String prefix);
/**
* Initialise Namespaces
*/
public void init();
public void afterDictionaryInit();
/**
* Destroy Namespaces
*/
public void destroy();
/**
* Register with the Dictionary
*/
public void registerDictionary(DictionaryDAO dictionaryDAO);
}