diff options
Diffstat (limited to 'configmgr/source/api2/groupaccess.cxx')
-rw-r--r-- | configmgr/source/api2/groupaccess.cxx | 147 |
1 files changed, 0 insertions, 147 deletions
diff --git a/configmgr/source/api2/groupaccess.cxx b/configmgr/source/api2/groupaccess.cxx deleted file mode 100644 index 8b375319f34a..000000000000 --- a/configmgr/source/api2/groupaccess.cxx +++ /dev/null @@ -1,147 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2008 by Sun Microsystems, Inc. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: groupaccess.cxx,v $ - * $Revision: 1.5 $ - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org 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 version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_configmgr.hxx" - -#include "groupaccess.hxx" -#include "accessimpl.hxx" -#include "apinotifierimpl.hxx" -#include "apinodeaccess.hxx" - -namespace configmgr -{ - -// XHierarchicalName -//------------------------------------------------------------------------------------------------------------------ -rtl::OUString SAL_CALL BasicGroupAccess::getHierarchicalName( ) throw(uno::RuntimeException) -{ - return configapi::implGetHierarchicalName( getNode() ); -} - -//------------------------------------------------------------------------------------------------------------------ -rtl::OUString SAL_CALL BasicGroupAccess::composeHierarchicalName( const rtl::OUString& sRelativeName ) - throw(css::lang::IllegalArgumentException, css::lang::NoSupportException, uno::RuntimeException) -{ - return configapi::implComposeHierarchicalName( getNode(), sRelativeName ); -} - -//------------------------------------------------------------------------------------------------------------------ - -// XElementAccess, base class of XNameAccess (and XHierarchicalNameAccess ? ) -//----------------------------------------------------------------------------------- - -//----------------------------------------------------------------------------------- -uno::Type SAL_CALL BasicGroupAccess::getElementType( ) throw(uno::RuntimeException) -{ - return configapi::implGetElementType( getNode() ); -} - -//----------------------------------------------------------------------------------- -sal_Bool SAL_CALL BasicGroupAccess::hasElements( ) throw(uno::RuntimeException) -{ - return configapi::implHasElements( getNode() ); -} - -// XExactName -//----------------------------------------------------------------------------------- - -rtl::OUString SAL_CALL BasicGroupAccess::getExactName( const rtl::OUString& rApproximateName ) throw(uno::RuntimeException) -{ - return configapi::implGetExactName( getNode(), rApproximateName); -} - -// XProperty -//----------------------------------------------------------------------------------- - -css::beans::Property SAL_CALL BasicGroupAccess::getAsProperty( ) throw(uno::RuntimeException) -{ - return configapi::implGetAsProperty( getNode() ); -} - -// XNameAccess -//----------------------------------------------------------------------------------- - -sal_Bool SAL_CALL BasicGroupAccess::hasByName( const rtl::OUString& sName ) throw(uno::RuntimeException) -{ - return configapi::implHasByName( getNode(), sName); -} - -//----------------------------------------------------------------------------------- -uno::Any SAL_CALL BasicGroupAccess::getByName( const rtl::OUString& sName ) - throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, uno::RuntimeException) -{ - return configapi::implGetByName( getNode(), sName ); -} - -//----------------------------------------------------------------------------------- -uno::Sequence< rtl::OUString > SAL_CALL BasicGroupAccess::getElementNames( ) throw( uno::RuntimeException) -{ - return configapi::implGetElementNames( getNode() ); -} - -// XHierarchicalNameAccess -//----------------------------------------------------------------------------------- -sal_Bool SAL_CALL BasicGroupAccess::hasByHierarchicalName( const rtl::OUString& sName ) throw(uno::RuntimeException) -{ - return configapi::implHasByHierarchicalName( getNode(), sName); -} - -//----------------------------------------------------------------------------------- -uno::Any SAL_CALL BasicGroupAccess::getByHierarchicalName( const rtl::OUString& sName ) - throw(css::container::NoSuchElementException, uno::RuntimeException) -{ - return configapi::implGetByHierarchicalName( getNode(), sName ); -} - - -// XContainer -//----------------------------------------------------------------------------------- - -void SAL_CALL BasicGroupAccess::addContainerListener( const uno::Reference< css::container::XContainerListener >& xListener ) - throw(uno::RuntimeException) -{ - configapi::implAddListener( getNode(), xListener ); -} - -//----------------------------------------------------------------------------------- -void SAL_CALL BasicGroupAccess::removeContainerListener( const uno::Reference< css::container::XContainerListener >& xListener ) - throw(uno::RuntimeException) -{ - configapi::implRemoveListener( getNode(), xListener ); -} - - - -//----------------------------------------------------------------------------------- - -} // namespace configmgr - - |