FDO .NET API Reference Feature Data Objects

mgIActivateLongTransactionImp.h

Go to the documentation of this file.
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\LongTransaction\mgIActivateLongTransaction.h"
00022 #include "FDO\Commands\mgICommandImp.h"
00023 
00024 class FdoIActivateLongTransaction;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00027 
00028 /// \ingroup (OSGeoFDOCommandsLongTransaction)
00029 /// \brief
00030 /// The IActivateLongTransactionImp class is a concrete implementation of IActivateLongTransaction.
00031 /// The IActivateLongTransaction interface defines the ActivateLongTransaction
00032 /// command, which activates a long transaction where feature manipulation and
00033 /// locking commands operate on it. Input to the activate
00034 /// long transaction command is the long transaction name. The Execute operation
00035 /// activates the identified long transaction if the user has access privileges
00036 /// for it.
00037 private __gc class IActivateLongTransactionImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 
00038                                                  public NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::IActivateLongTransaction
00039 {
00040 public:
00041     /// \brief
00042     /// Gets the name of the long transaction to activate as a string.
00043     /// 
00044     /// \return
00045     /// Returns the name of the long transaction
00046     /// 
00047     __property System::String* get_Name();
00048 
00049     /// \brief
00050     /// Sets the name of the long transaction to activate as a string.
00051     /// 
00052     /// \param value 
00053     /// Input the name of the long transaction
00054     /// 
00055     /// \return
00056     /// Returns nothing
00057     /// 
00058     __property System::Void set_Name(System::String* value);
00059 
00060     /// \brief
00061     /// Executes the activate long transaction command. An exception is
00062     /// thrown if the long transaction does not exist or the user does not
00063     /// have access privileges to the long transaction.
00064     /// 
00065     /// \return
00066     /// Returns nothing
00067     /// 
00068     System::Void Execute();
00069 
00070 public private:
00071     IActivateLongTransactionImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete)
00072     {
00073 
00074     }
00075 
00076     inline FdoIActivateLongTransaction* GetImpObj();
00077 };
00078 
00079 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00080 
00081 

Comments or suggestions? Send us feedback.