FDO .NET API Reference Feature Data Objects

mgIRollbackLTCheckpointImp.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\mgICommandImp.h"
00022 #include "FDO\Commands\LongTransaction\mgIRollbackLongTransactionCheckpoint.h"
00023 
00024 class FdoIRollbackLongTransactionCheckpoint;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00027 
00028 /// \ingroup (OSGeoFDOCommandsLongTransaction)
00029 /// \brief
00030 /// The IRollbackLongTransactionCheckpointImp class is a concrete 
00031 /// implementation of IRollbackLongTransactionCheckpoint.
00032 /// The IRollbackLongTransactionCheckpoint interface defines the
00033 /// RollbackLongTransactionCheckpoint command, which allows the user to roll back
00034 /// changes to a named checkpoint for the given long transaction. The user
00035 /// requires the access privilege on the long transaction for which the user tries
00036 /// to perform the operation.
00037 private __gc class IRollbackLongTransactionCheckpointImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 
00038                                                            public NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::IRollbackLongTransactionCheckpoint
00039 {
00040 public:
00041     /// \brief
00042     /// Gets the name of the long transaction for which a checkpoint should
00043     /// be rolled back.
00044     /// 
00045     /// \return
00046     /// Returns the list of long transaction names.
00047     /// 
00048     __property System::String* get_LongTransactionName();
00049 
00050     /// \brief
00051     /// Sets the name of the long transaction for which a checkpoint should
00052     /// be rolled back.
00053     /// 
00054     /// \param value 
00055     /// Input the long transaction name.
00056     /// 
00057     /// \return
00058     /// Returns nothing
00059     /// 
00060     __property System::Void set_LongTransactionName(System::String* value);
00061 
00062     /// \brief
00063     /// Gets the name of the checkpoint to which the rollback operation
00064     /// should be executed.
00065     /// 
00066     /// \return
00067     /// Returns the name of the checkpoint.
00068     /// 
00069     __property System::String* get_CheckpointName();
00070 
00071     /// \brief
00072     /// Sets the name of the checkpoint to which the rollback operation
00073     /// should be executed.
00074     /// 
00075     /// \param value 
00076     /// Input the name of the checkpoint.
00077     /// 
00078     /// \return
00079     /// Returns nothing
00080     /// 
00081     __property System::Void set_CheckpointName(System::String* value);
00082 
00083     /// \brief
00084     /// Executes the RollbackLongTransactionCheckpoint command.
00085     /// 
00086     /// \return
00087     /// Returns nothing
00088     /// 
00089     System::Void Execute();
00090 
00091 public private:
00092     IRollbackLongTransactionCheckpointImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete)
00093     {
00094 
00095     }
00096 
00097     inline FdoIRollbackLongTransactionCheckpoint* GetImpObj();
00098 };
00099 
00100 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00101 
00102 

Comments or suggestions? Send us feedback.