FDO API Reference | Feature Data Objects |
00001 #ifndef _LONGTRANSACTIONPRIVILEGES_H_ 00002 #define _LONGTRANSACTIONPRIVILEGES_H_ 00003 // 00004 00005 // 00006 // Copyright (C) 2004-2006 Autodesk, Inc. 00007 // 00008 // This library is free software; you can redistribute it and/or 00009 // modify it under the terms of version 2.1 of the GNU Lesser 00010 // General Public License as published by the Free Software Foundation. 00011 // 00012 // This library is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 // Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with this library; if not, write to the Free Software 00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 // 00021 00022 #ifdef _WIN32 00023 #pragma once 00024 #endif 00025 00026 /// \ingroup (enums) 00027 /// \brief 00028 /// The FdoLongTransactionPrivileges enumeration defines the long transaction 00029 /// privilege flags. 00030 enum FdoLongTransactionPrivileges 00031 { 00032 /// The access privilege is required for a user if the user needs to access 00033 /// a long transaction. 00034 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 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 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 FdoLongTransactionPrivileges_Rollback, 00054 00055 /// The 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 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 FdoLongTransactionPrivileges_Freeze 00063 }; 00064 #endif 00065 00066
Comments or suggestions? Send us feedback. |