FDO .NET API Reference Feature Data Objects

mgLongTransactionPrivileges.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 /// \cond DOXYGEN-IGNORE
00022 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00023 /// \endcond
00024 
00025 /// \ingroup (OSGeoFDOCommandsLongTransaction)
00026 /// \brief
00027 /// The LongTransactionPrivileges enumeration defines the long transaction
00028 /// privilege flags.
00029 [System::FlagsAttribute]
00030 public __value enum LongTransactionPrivileges
00031 {
00032     /// The access privilege is required for a user if the user needs to access
00033     /// a long transaction.
00034     LongTransactionPrivileges_Access = FdoLongTransactionPrivileges_Access,
00035 
00036     /// A user must have access and create privileges on the active long
00037     /// transaction if the user wants to create a new long transaction as a
00038     /// descendent of the active long transaction.
00039     LongTransactionPrivileges_Create = FdoLongTransactionPrivileges_Create,
00040 
00041     /// A user must have access and commit privileges on a long transaction
00042     /// in order to commit it. In addition, the user needs access privilege to
00043     /// the long transaction's parent. The user also needs remove privilege on
00044     /// the long transaction to be committed if the operation to be executed
00045     /// is a commit and not a partial commit.
00046     LongTransactionPrivileges_Commit = FdoLongTransactionPrivileges_Commit,
00047 
00048     /// A user must have access and rollback privileges on a long transaction
00049     /// in order to roll it back. In addition, the user requires access
00050     /// privilege for each of the descendent versions involved in the operation. 
00051     /// The user also requires the remove privilege for each of the versions involved 
00052     /// in the operation if a rollback and not a partial rollback operation is executed.
00053     LongTransactionPrivileges_Rollback = FdoLongTransactionPrivileges_Rollback,
00054 
00055     /// The long transaction privilege is required if the user should be allowed to remove the
00056     /// long transaction in the progress of a commit or roll back operation.
00057     LongTransactionPrivileges_Remove = FdoLongTransactionPrivileges_Remove,
00058 
00059     /// The user requires the access and freeze privileges on a long
00060     /// transaction for which the user wants to gain exclusive access to a
00061     /// long transaction.
00062     LongTransactionPrivileges_Freeze = FdoLongTransactionPrivileges_Freeze
00063 };
00064 
00065 /// \cond DOXYGEN-IGNORE
00066 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION
00067 /// \endcond

Comments or suggestions? Send us feedback.