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