SAP ABAP Class /SLOAP/CL_ROLE (Role)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ /SLOAP/APPLICATION (Package) SLT AP VER 1.0
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ /SLOAP/APPLICATION (Package) SLT AP VER 1.0
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | /SLOAP/CL_OBJECT_MINIMAL | minimal sloas object | 20100127 |
Properties
Class | /SLOAP/CL_ROLE | |
Short Description | Role | |
Super Class | /SLOAP/CL_OBJECT_MINIMAL | minimal sloas object |
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /SLOAP/APPLICATION | SLT AP VER 1.0 |
Created | 20100127 | SAP |
Last change | 20141030 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /SLOAP/CL_ROLE has no interface implemented.
Friends
Class /SLOAP/CL_ROLE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DELETE_ROLE | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100127 | ||
2 | GV_AUTH_ID | Instance attribute | Private | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 | ||
3 | TH_ROLE_AUTH | Instance attribute | Private | Type reference (TYPE) | /SLOAP/TH1_ROLE_AUTH | SLOAS: Assignment of role to authorization | 20100127 | ||
4 | TH_ROLE_AUTH_DEL | Instance attribute | Private | Type reference (TYPE) | /SLOAP/TH1_ROLE_AUTH | SLOAS: Assignment of role to authorization | 20100127 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_AUTH | Instance method | Public | Method | Adds authorization to role | 20100127 |
2 | ADD_AUTH_BY_GUID | Instance method | Public | Method | Adds authorization by GUID | 20100127 |
3 | ADD_AUTH_BY_ID | Instance method | Public | Method | Adds authorization by ID | 20100127 |
4 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20100127 |
5 | CREATE | Static method | Public | Method | Creates a new authorization | 20100127 |
6 | DELETE | Instance method | Public | Method | Deletes the authorization | 20100127 |
7 | GET_AUTHS | Instance method | Public | Method | Returns all authorizations of the role | 20100127 |
8 | GET_AUTH_ID | Instance method | Public | Method | Returns Authorization ID | 20100127 |
9 | HAS_AUTH | Instance method | Public | Method | Checks if role has a certain authorization | 20100127 |
10 | HAS_AUTH_BY_GUID | Instance method | Public | Method | Checks if role has a certain authorization by its GUID | 20100127 |
11 | HAS_AUTH_BY_ID | Instance method | Public | Method | Checks if role has a certain authorization by its ID | 20100127 |
12 | LOAD | Static method | Private | Method | Loads the role | 20100127 |
13 | LOAD_BY_GUID | Static method | Public | Method | Loads an existing authorization by its GUID | 20100127 |
14 | LOAD_BY_ID | Static method | Public | Method | Loads an existing authorization by its ID | 20100127 |
15 | REMOVE_AUTH | Instance method | Public | Method | Removes a certain authorization | 20100127 |
16 | REMOVE_AUTH_BY_GUID | Instance method | Public | Method | Removes a certain authorization by its GUID | 20100127 |
17 | REMOVE_AUTH_BY_ID | Instance method | Public | Method | Removes a certain authorization by its ID | 20100127 |
18 | SAVE | Instance method | Public | Method | Save | 20100127 |
19 | SELECT_ROLE | Static method | Private | Method | Selects Authorization from Database | 20100127 |
20 | SET_ROLE_AUTH | Instance method | Private | Method | Sets the role authorization table | 20100127 |
Events
Class /SLOAP/CL_ROLE has no event.
Types
Class /SLOAP/CL_ROLE has no local type.
Method Signatures
Method ADD_AUTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_AUTH | Call by reference | Object reference (TYPE REF TO) | /SLOAP/CL_AUTH | Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method ADD_AUTH_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AUTH_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method ADD_AUTH_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AUTH_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Guid | 20100127 | ||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_INVALID_PARAMETER | 20100127 |
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | 20100127 | |||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method DELETE Signature
Method DELETE on class /SLOAP/CL_ROLE has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_IS_REFERENCED | 20100127 |
Method GET_AUTHS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_AUTH | Value transfer | Type reference (TYPE) | /SLOAP/T_R_AUTH | SLOAS | 20100127 |
Method GET_AUTHS on class /SLOAP/CL_ROLE has no exception.
Method GET_AUTH_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_ID | Value transfer | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
Method GET_AUTH_ID on class /SLOAP/CL_ROLE has no exception.
Method HAS_AUTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | |||
2 | Importing | IR_AUTH | Call by reference | Object reference (TYPE REF TO) | /SLOAP/CL_AUTH | Authorization | 20100127 |
Method HAS_AUTH on class /SLOAP/CL_ROLE has no exception.
Method HAS_AUTH_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | |||
2 | Importing | IV_AUTH_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method HAS_AUTH_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | EV_HAS_AUTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100127 | |||
2 | Importing | IV_AUTH_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method LOAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | Role | 20100127 | ||
2 | Importing | IS_ROLE | Call by reference | Type reference (TYPE) | /SLOAP/ROLE | SLOAS: Role data | 20100127 |
Method LOAD on class /SLOAP/CL_ROLE has no exception.
Method LOAD_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | 20100127 | |||
2 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method LOAD_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ER_ROLE | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_ROLE | 20100127 | |||
2 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method REMOVE_AUTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_AUTH | Call by reference | Object reference (TYPE REF TO) | /SLOAP/CL_AUTH | Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method REMOVE_AUTH_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AUTH_GUID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_GUID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method REMOVE_AUTH_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AUTH_ID | Call by reference | Type reference (TYPE) | /SLOAP/AUTH_ID | SLOAS: Authorization | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 | ||
2 | /SLOAP/CX_OBJ_ALREADY_EXISTS | 20100127 |
Method SAVE Signature
Method SAVE on class /SLOAP/CL_ROLE has no parameter.
Method SAVE on class /SLOAP/CL_ROLE has no exception.
Method SELECT_ROLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ES_ROLE | Value transfer | Type reference (TYPE) | /SLOAP/ROLE | 20100127 | |||
2 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_GUID | 20100127 | |||
3 | Importing | IV_ID | Call by reference | Type reference (TYPE) | /SLOAP/ROLE_ID | 20100127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SLOAP/CX_INVALID_PARAMETER | 20100127 | ||
2 | /SLOAP/CX_MISSING_PARAMETER | 20100127 | ||
3 | /SLOAP/CX_NO_SUCH_OBJECT | 20100127 |
Method SET_ROLE_AUTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ITH_ROLE_AUTH | Call by reference | Type reference (TYPE) | /SLOAP/TH1_ROLE_AUTH | SLOAS: Assignment of role to authorization | 20100127 |
Method SET_ROLE_AUTH on class /SLOAP/CL_ROLE has no exception.
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 700 |