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\mgICommandImp.h" 00022 #include "FDO\Commands\LongTransaction\mgIGetLongTransactionPrivileges.h" 00023 00024 class FdoIGetLongTransactionPrivileges; 00025 00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION 00027 public __gc __interface ILongTransactionPrivilegeReader; 00028 00029 /// \ingroup (OSGeoFDOCommandsLongTransaction) 00030 /// \brief 00031 /// The IGetLongTransactionPrivilegesImp class is a 00032 /// concrete implementation of IGetLongTransactionPrivileges. 00033 /// The IGetLongTransactionPrivileges interface defines the 00034 /// GetLongTransactionPrivileges command, which allows the user to enumerate the 00035 /// privileges of a long transaction established for each user. The ability to 00036 /// successfully execute the command might be restricted by the datastore security 00037 /// if the long transaction doesn’t belong to the user executing the command. 00038 private __gc class IGetLongTransactionPrivilegesImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 00039 public NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::IGetLongTransactionPrivileges 00040 { 00041 public: 00042 /// \brief 00043 /// Gets the name of the long transaction for which privileges should be 00044 /// enumerated. 00045 /// 00046 /// \return 00047 /// Returns the long transaction name 00048 /// 00049 __property System::String* get_LongTransactionName(); 00050 00051 /// \brief 00052 /// Sets the name of the long transaction for which privileges should be 00053 /// enumerated. 00054 /// 00055 /// \param value 00056 /// Input the long transaction name 00057 /// 00058 /// \return 00059 /// Returns nothing 00060 /// 00061 __property System::Void set_LongTransactionName(System::String* value); 00062 00063 /// \brief 00064 /// Executes the GetLongTransactionPrivileges command, returning a reference 00065 /// to an ILongTransactionPrivilegeReader. 00066 /// 00067 /// \return 00068 /// Returns the long transaction privilege reader. 00069 /// 00070 NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::ILongTransactionPrivilegeReader* Execute(); 00071 00072 public private: 00073 IGetLongTransactionPrivilegesImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete) 00074 { 00075 00076 } 00077 00078 inline FdoIGetLongTransactionPrivileges* GetImpObj(); 00079 }; 00080 00081 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION 00082 00083
Comments or suggestions? Send us feedback. |