File authenticate_access_class.cpp
FileList > cubrid > src > object > authenticate_access_class.cpp
Go to the source code of this file
#include "authenticate.h"
#include "authenticate_cache.hpp"
#include "authenticate_grant.hpp"
#include "boot_cl.h"
#include "dbi.h"
#include "execute_schema.h"
#include "locator_cl.h"
#include "schema_manager.h"
#include "transform.h"
#include "transaction_cl.h"
#include "virtual_object.h"
#include "schema_system_catalog.hpp"
Public Types
Public Functions
| Type |
Name |
| int |
au_change_class_owner_including_partitions (MOP class_mop, MOP owner_mop)
|
| int |
au_check_class_authorization (MOP op, DB_AUTH auth)
|
| int |
au_fetch_class (MOP op, SM_CLASS ** class_ptr, AU_FETCHMODE fetchmode, DB_AUTH type)
|
| int |
au_fetch_class_by_classmop (MOP op, SM_CLASS ** class_ptr, AU_FETCHMODE fetchmode, DB_AUTH type)
|
| int |
au_fetch_class_by_instancemop (MOP op, SM_CLASS ** class_ptr, AU_FETCHMODE fetchmode, DB_AUTH type)
|
| int |
au_fetch_class_force (MOP op, SM_CLASS ** class_, AU_FETCHMODE fetchmode)
|
| int |
au_fetch_instance (MOP op, MOBJ * obj_ptr, AU_FETCHMODE mode, LC_FETCH_VERSION_TYPE fetch_version_type, DB_AUTH type)
|
| int |
au_fetch_instance_force (MOP op, MOBJ * obj_ptr, AU_FETCHMODE fetchmode, LC_FETCH_VERSION_TYPE fetch_version_type)
|
| int |
au_get_class_privilege (DB_OBJECT * mop, unsigned int * auth)
|
Public Static Functions
| Type |
Name |
| int |
au_fetch_class_internal (MOP op, SM_CLASS ** class_ptr, AU_FETCHMODE fetchmode, DB_AUTH type, FETCH_BY fetch_by)
|
| int |
check_authorization (MOP classobj, SM_CLASS * sm_class, DB_AUTH type)
|
| int |
fetch_class (MOP op, MOP * return_mop, SM_CLASS ** return_class, AU_FETCHMODE fetchmode, FETCH_BY fetch_by)
|
| int |
fetch_instance (MOP op, MOBJ * obj_ptr, AU_FETCHMODE fetchmode, LC_FETCH_VERSION_TYPE read_fetch_version_type)
|
| int |
is_protected_class (MOP classmop, SM_CLASS * sm_class, DB_AUTH auth)
|
Macros
Public Types Documentation
typedef FETCH_BY
typedef enum fetch_by FETCH_BY;
enum fetch_by
enum fetch_by {
DONT_KNOW,
BY_INSTANCE_MOP,
BY_CLASS_MOP
};
Public Functions Documentation
function au_change_class_owner_including_partitions
int au_change_class_owner_including_partitions (
MOP class_mop,
MOP owner_mop
)
function au_check_class_authorization
int au_check_class_authorization (
MOP op,
DB_AUTH auth
)
function au_fetch_class
int au_fetch_class (
MOP op,
SM_CLASS ** class_ptr,
AU_FETCHMODE fetchmode,
DB_AUTH type
)
function au_fetch_class_by_classmop
int au_fetch_class_by_classmop (
MOP op,
SM_CLASS ** class_ptr,
AU_FETCHMODE fetchmode,
DB_AUTH type
)
function au_fetch_class_by_instancemop
int au_fetch_class_by_instancemop (
MOP op,
SM_CLASS ** class_ptr,
AU_FETCHMODE fetchmode,
DB_AUTH type
)
function au_fetch_class_force
int au_fetch_class_force (
MOP op,
SM_CLASS ** class_,
AU_FETCHMODE fetchmode
)
function au_fetch_instance
int au_fetch_instance (
MOP op,
MOBJ * obj_ptr,
AU_FETCHMODE mode,
LC_FETCH_VERSION_TYPE fetch_version_type,
DB_AUTH type
)
function au_fetch_instance_force
int au_fetch_instance_force (
MOP op,
MOBJ * obj_ptr,
AU_FETCHMODE fetchmode,
LC_FETCH_VERSION_TYPE fetch_version_type
)
function au_get_class_privilege
int au_get_class_privilege (
DB_OBJECT * mop,
unsigned int * auth
)
Public Static Functions Documentation
function au_fetch_class_internal
static int au_fetch_class_internal (
MOP op,
SM_CLASS ** class_ptr,
AU_FETCHMODE fetchmode,
DB_AUTH type,
FETCH_BY fetch_by
)
function check_authorization
static int check_authorization (
MOP classobj,
SM_CLASS * sm_class,
DB_AUTH type
)
function fetch_class
static int fetch_class (
MOP op,
MOP * return_mop,
SM_CLASS ** return_class,
AU_FETCHMODE fetchmode,
FETCH_BY fetch_by
)
function fetch_instance
static int fetch_instance (
MOP op,
MOBJ * obj_ptr,
AU_FETCHMODE fetchmode,
LC_FETCH_VERSION_TYPE read_fetch_version_type
)
function is_protected_class
static int is_protected_class (
MOP classmop,
SM_CLASS * sm_class,
DB_AUTH auth
)
Macro Definition Documentation
define IS_CATALOG_CLASS
#define IS_CATALOG_CLASS (
name
) `sm_is_system_class (std::string_view (name))`
define UNIQUE_SAVEPOINT_CHANGE_OWNER_WITH_RENAME
#define UNIQUE_SAVEPOINT_CHANGE_OWNER_WITH_RENAME `"cHANGEoWNERwITHrENAME"`
The documentation for this class was generated from the following file cubrid/src/object/authenticate_access_class.cpp