FDO .NET API Reference | Feature Data Objects |
00001 /* 00002 * Copyright (C) 2004-2006 Autodesk, Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of version 2.1 of the GNU Lesser 00006 * General Public License as published by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00016 * 00017 */ 00018 00019 #pragma once 00020 00021 #include "FDO\Commands\Locking\mgIGetLockedObjects.h" 00022 #include "FDO\Commands\mgICommandImp.h" 00023 00024 class FdoIGetLockedObjects; 00025 00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING 00027 public __gc __interface ILockedObjectReader; 00028 00029 /// \ingroup (OSGeoFDOCommandsLocking) 00030 /// \brief 00031 /// The IGetLockedObjectsImp class is a concrete implementation of IGetLockedObjects. 00032 /// The IGetLockedObjects interface defines the GetLockedObjects command, which 00033 /// gets a list of all objects that are currently locked by a particular user. 00034 private __gc class IGetLockedObjectsImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 00035 public NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING::IGetLockedObjects 00036 { 00037 public: 00038 /// \brief 00039 /// Gets the name of the user whose locked objects you want to list. 00040 /// 00041 /// \return 00042 /// Returns the name of the user 00043 /// 00044 __property System::String* get_LockOwner(); 00045 00046 /// \brief 00047 /// Sets the name of the user whose locked objects you want to list. 00048 /// 00049 /// \param value 00050 /// Input the name of the user 00051 /// 00052 /// \return 00053 /// Returns nothing 00054 /// 00055 __property System::Void set_LockOwner(System::String* value); 00056 00057 /// \brief 00058 /// Executes the GetLockedObjects command, returning an ILockedObjectReader. 00059 /// 00060 /// \return 00061 /// Returns a list of all of the objects currently locked by a particular user. 00062 /// The list might be empty if the user does not have anything locked. 00063 /// 00064 NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING::ILockedObjectReader* Execute(); 00065 00066 public private: 00067 IGetLockedObjectsImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete) 00068 { 00069 00070 } 00071 00072 inline FdoIGetLockedObjects* GetImpObj(); 00073 }; 00074 00075 END_NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING 00076 00077
Comments or suggestions? Send us feedback. |