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\mgLongTransactionPrivilegeOperations.h" 00023 00024 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION 00025 00026 /// \ingroup (OSGeoFDOCommandsLongTransaction) 00027 /// \interface OSGeo::FDO::Commands::LongTransaction::IChangeLongTransactionPrivileges 00028 /// \brief 00029 /// The IChangeLongTransactionPrivileges interface defines the 00030 /// ChangeLongTransactionPrivileges command, which grants or revokes long 00031 /// transaction privileges for the named user. The ability to change the 00032 /// privileges might be restricted by the datastore security if the long 00033 /// transaction doesn’t belong to the user executing the command. 00034 public __gc __interface IChangeLongTransactionPrivileges : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommand 00035 { 00036 public: 00037 /// \brief 00038 /// Gets the name of the long transaction for which privileges should be 00039 /// changed. 00040 /// 00041 /// \return 00042 /// Returns the name of the long transaction 00043 /// 00044 __property System::String* get_LongTransactionName(); 00045 00046 /// \brief 00047 /// Sets the name of the long transaction for which privileges should be 00048 /// changed. 00049 /// 00050 /// \param value 00051 /// Input the name of the long transaction 00052 /// 00053 /// \return 00054 /// Returns nothing 00055 /// 00056 __property System::Void set_LongTransactionName(System::String* value); 00057 00058 /// \brief 00059 /// Gets the name of the user for which to grant or revoke privileges. 00060 /// 00061 /// \return 00062 /// Returns the user name 00063 /// 00064 __property System::String* get_UserName(); 00065 00066 /// \brief 00067 /// Sets the name of the user for which to grant or revoke privileges. 00068 /// 00069 /// \param value 00070 /// Input the user name 00071 /// 00072 /// \return 00073 /// Returns nothing 00074 /// 00075 __property System::Void set_UserName(System::String* value); 00076 00077 /// \brief 00078 /// Gets the privilege flags to grant or revoke.The returned value may be 00079 /// any combination of the values from the LongTransactionPrivileges 00080 /// enumeration combined via a bit-wise or operation. 00081 /// 00082 /// \return 00083 /// Returns the privileges as a bit masked value based on LongTransactionPrivileges enumeration 00084 /// 00085 __property System::Int32 get_Privileges(); 00086 00087 /// \brief 00088 /// Sets the privilege flags to grant or revoke. The privileges value may be 00089 /// any combination of the values from the LongTransactionPrivileges 00090 /// enumeration combined via a bit-wise or operation. 00091 /// 00092 /// \param value 00093 /// Input the privileges as a bit masked value based on LongTransactionPrivileges enumeration 00094 /// 00095 /// \return 00096 /// Returns nothing 00097 /// 00098 __property System::Void set_Privileges(System::Int32 value); 00099 00100 /// \brief 00101 /// Gets the operation to perform, grant, or revoke. 00102 /// 00103 /// \return 00104 /// Returns the operation to perform 00105 /// 00106 __property NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::LongTransactionPrivilegeOperations get_Operation(); 00107 00108 /// \brief 00109 /// Sets the operation to perform, grant, or revoke. 00110 /// 00111 /// \param value 00112 /// Input the operation to perform 00113 /// 00114 /// \return 00115 /// Returns nothing 00116 /// 00117 __property System::Void set_Operation(NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION::LongTransactionPrivilegeOperations value); 00118 00119 /// \brief 00120 /// Executes the ChangeLongTransactionPrivilege command. 00121 /// 00122 /// \return 00123 /// Returns nothing 00124 /// 00125 System::Void Execute(); 00126 00127 }; 00128 00129 END_NAMESPACE_OSGEO_FDO_COMMANDS_LONGTRANSACTION 00130 00131
Comments or suggestions? Send us feedback. |