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 #include "FDO\Commands\LongTransaction\mgLongTransactionFreezeOperations.h" 00023 00024 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION 00025 00026 /// \ingroup (OSGeoFDOCommandsLongTransaction) 00027 /// \interface OSGeo::FDO::Commands::LongTransaction::IFreezeLongTransaction 00028 /// \brief 00029 /// The IFreezeLongTransaction interface defines the FreezeLongTransaction 00030 /// command, which freezes or thaws a long transaction. When a long transaction 00031 /// is frozen the user who froze it gains exclusive access to it. Other users can 00032 /// read it, but not apply any updates. 00033 /// Input to the FreezeLongTransaction command is the long transaction name and 00034 /// the operation to perform. The Execute method performs the specified 00035 /// operation on the identified long transaction if the user has access 00036 /// privileges for the indicated long transaction. 00037 public __gc __interface IFreezeLongTransaction : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommand 00038 { 00039 public: 00040 /// \brief 00041 /// Gets the name of the long transaction to freeze or unfreeze as a string. 00042 /// 00043 /// \return 00044 /// Returns the name of the long transaction 00045 /// 00046 __property System::String* get_Name(); 00047 00048 /// \brief 00049 /// Sets the name of the long transaction to freeze or unfreeze as a string. 00050 /// 00051 /// \param value 00052 /// Input the name of the long transaction 00053 /// 00054 /// \return 00055 /// Returns nothing 00056 /// 00057 __property System::Void set_Name(System::String* value); 00058 00059 /// \brief 00060 /// Gets the operation to perform (Freeze or Thaw) on the long transaction. 00061 /// 00062 /// \return 00063 /// Returns the operation to perform 00064 /// 00065 __property NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::LongTransactionFreezeOperations get_Operation(); 00066 00067 /// \brief 00068 /// Sets the operation to perform (Freeze or Thaw) on the long transaction. 00069 /// 00070 /// \param value 00071 /// Input the operation to perform 00072 /// 00073 /// \return 00074 /// Returns nothing 00075 /// 00076 __property System::Void set_Operation(NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::LongTransactionFreezeOperations value); 00077 00078 /// \brief 00079 /// Executes the command. 00080 /// 00081 /// \return 00082 /// Returns nothing 00083 /// 00084 System::Void Execute(); 00085 }; 00086 00087 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION 00088 00089
Comments or suggestions? Send us feedback. |