SAP ABAP Class CL_GRPC_QLIBRARY_MODEL (DB encapsulation)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-SPC (Application Component) Process Controls
⤷
GRPC_SURVEY (Package) PC Survey
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_API_CUSTOMFIELD_MODEL | Model extension to handle the custom fields | 20080724 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20080407 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_MODEL_STATUS | Enable to retrieve MCF information for object from model | 20100422 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRPC_API_CUSTOMFIELD_MODEL | Model extension to handle the custom fields | 20071003 |
Properties
| Class | CL_GRPC_QLIBRARY_MODEL | |
| Short Description | DB encapsulation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRPC_SURVEY | PC Survey |
| Created | 20070710 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GRPC_QLIBRARY_MODEL has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_GRFN_API_CUSTOMFIELD_MODEL | Model extension to handle the custom fields | 20080724 | ||
| 2 | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20080407 | ||
| 3 | IF_GRFN_MODEL_STATUS | Enable to retrieve MCF information for object from model | 20100422 | ||
| 4 | IF_GRPC_API_CUSTOMFIELD_MODEL | Model extension to handle the custom fields | 20071003 |
Friends
Class CL_GRPC_QLIBRARY_MODEL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TEXT60 | ' abcdefghijklmnopqrstuvwxyz' | Text Field of Length 60 | 20100331 | ||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_UTIL_CDF_MODEL | CDF Model utility class | 20100422 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GRPC_QLIBRARY_MODEL | DB encapsulation | 20070711 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20100331 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20100331 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | YT_RATING | 20100331 | ||||
| 7 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20100331 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20100331 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | YT_QCATATYPE | 20100428 | ||||
| 10 | Static Attribute | Private | Type reference (TYPE) | YT_QCATEGORY | 20080807 | ||||
| 11 | Static Attribute | Private | Type reference (TYPE) | YT_QCATEGORY_T | 20090305 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | YT_QLIBCHOICE | 20100331 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | YT_QLIBRARY | 20070710 | ||||
| 14 | Instance attribute | Private | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20070711 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check existence of the question | 20131204 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090217 | |
| 3 | Instance method | Public | Method | Clun up not used local questions for Survey | 20080404 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20070711 | |
| 5 | Instance method | Public | Method | Creates and locks new question in buffer | 20070710 | |
| 6 | Instance method | Public | Method | Delete locked question in buffer | 20070710 | |
| 7 | Static method | Public | Method | Get list of ansver types for Q-category | 20100428 | |
| 8 | Instance method | Private | Method | 20071002 | ||
| 9 | Static method | Public | Method | Get instance (no time dependency) | 20070711 | |
| 10 | Static method | Public | Method | Get list of question categories | 20080807 | |
| 11 | Instance method | Public | Method | Retrieve question detail + lock | 20070710 | |
| 12 | Instance method | Public | Method | Return whole list | 20070710 | |
| 13 | Static method | Public | Method | 20100401 | ||
| 14 | Static method | Public | Method | Explain text | 20130926 | |
| 15 | Instance method | Public | Method | Am I locking the object? | 20070710 | |
| 16 | Instance method | Public | Method | Wheather the question is used | 20080109 | |
| 17 | Instance method | Private | Method | Load the buffer | 20070710 | |
| 18 | Instance method | Private | Method | reload after locking | 20070710 | |
| 19 | Instance method | Private | Method | Locking | 20070710 | |
| 20 | Instance method | Public | Method | Save all changes | 20070710 | |
| 21 | Instance method | Private | Method | 20071002 | ||
| 22 | Instance method | Public | Method | Update question in buffer | 20070710 | |
| 23 | Static method | Public | Method | For question output | 20070720 | |
| 24 | Instance method | Public | Method | Where the question is used | 20070711 |
Events
Class CL_GRPC_QLIBRARY_MODEL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_QLIBCHOICE | Protected | See coding | 20100331 | begin of ys_qlibchoice.
include type grfnqlibchoice.
types: langu TYPE langu.
types: text type grfn_choice_text,
end of ys_qlibchoice
|
||
| 2 | YS_QLIBRARY | Protected | See coding | 20070710 | begin of ys_qlibrary.
include type grpcqlibrary.
types: text type grpc_qtext,
qexplain type grfn_qexplain,
bstat type grpc_buf_status,
locked type as4flag,
end of ys_qlibrary
|
||
| 3 | YS_RATING | Protected | See coding | 20100331 | begin of ys_rating,
rtype type grfn_rtype,
comp type grfn_app_component,
text type grpc_qtext,
t_choice type grfn_t_srv_question_choice,
end of ys_rating
|
||
| 4 | YT_QCATATYPE | Private | See coding | 20100428 | yt_qcatatype type table of grpcqcatatype
|
||
| 5 | YT_QCATEGORY | Private | See coding | 20090305 | yt_qcategory type table of grpcqcategory
|
||
| 6 | YT_QCATEGORY_T | Private | See coding | 20090305 | yt_qcategory_t type table of grpcqcategory_t
|
||
| 7 | YT_QLIBCHOICE | Protected | See coding | 20100331 | yt_qlibchoice type standard table of ys_qlibchoice with default key
|
||
| 8 | YT_QLIBRARY | Protected | See coding | 20070710 | yt_qlibrary type standard table of ys_qlibrary with default key
|
||
| 9 | YT_RATING | Protected | See coding | 20100331 | yt_rating type standard table of ys_rating with default key
|
Method Signatures
Method CHECK_QUESTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20131204 | |||
| 2 | R_EXISTS | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20131204 |
Method CHECK_QUESTION on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_GRPC_QLIBRARY_MODEL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method CLEAN_LOCAL_QUESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_USED_QUESTIONS | Call by reference | Type reference (TYPE) | GRPC_T_QUESTION_ID | Question IDs | 20080404 | |||
| 2 | I_SURVEY_ID | Call by reference | Type reference (TYPE) | GRPC_SURVEY_ID | Survey ID | 20080404 |
Method CLEAN_LOCAL_QUESTIONS on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20070711 |
Method CONSTRUCTOR on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method CREATE_QUESTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUESTION | Call by reference | Type reference (TYPE) | GRPC_S_QUESTION | Question | 20070710 |
Method CREATE_QUESTION on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method DELETE_QUESTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question | 20070710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080109 | |||
| 2 | 20070710 |
Method GET_ATYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QCATEGORY | Value transfer | Type reference (TYPE) | GRPC_QCATEGORY | Question category | 20100428 | |||
| 2 | RT_ATYPE | Value transfer | Type reference (TYPE) | GRPC_T_ATYPE | Answer type | 20100428 |
Method GET_ATYPE on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method GET_CUSTOM_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELD | Value transfer | Type reference (TYPE) | TY_NAMEVALUEASSTRING | NAMEVALUEASSTRING | 20071002 | |||
| 2 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20071002 |
Method GET_CUSTOM_FIELD on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRPC_QLIBRARY_MODEL | DB encapsulation | 20070711 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20070711 |
Method GET_INSTANCE on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method GET_QCATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QCATEGORY | Value transfer | Type reference (TYPE) | GRPC_T_API_QCATEGORY | Question category | 20080807 | |||
| 2 | I_LANGU | Value transfer | Type reference (TYPE) | SYLANGU | SY-LANGU | Language Key of Current Text Environment | 20090305 |
Method GET_QCATEGORY on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method GET_QUESTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_QUESTION | Call by reference | Type reference (TYPE) | GRPC_S_QUESTION | Question | 20070710 | |||
| 2 | ET_CHOICE | Call by reference | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20100331 | |||
| 3 | E_LOCKED | Call by reference | Type reference (TYPE) | AS4FLAG | Lock is successful | 20070711 | |||
| 4 | E_LOCKED_BY | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20070710 | |||
| 5 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20070710 | |||
| 6 | I_WRITE | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20070710 |
Method GET_QUESTION on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method GET_QUESTION_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_QUESTION | Value transfer | Type reference (TYPE) | GRPC_T_QUESTION | Question | 20070710 |
Method GET_QUESTION_LIST on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method GET_RATING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_RATING | Value transfer | Type reference (TYPE) | GRFN_T_API_QRATING | Question Rating | 20100401 |
Method GET_RATING on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method IS_EXPLAIN_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ENABLED | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20130926 |
Method IS_EXPLAIN_ENABLED on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method IS_QUESTION_LOCKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOCKING | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20070710 | |||
| 2 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20070710 |
Method IS_QUESTION_LOCKED on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method IS_USED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_USED | Value transfer | Type reference (TYPE) | AS4FLAG | 20080109 | ||||
| 2 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20080109 |
Method IS_USED on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method LOAD_ALL Signature
Method LOAD_ALL on class CL_GRPC_QLIBRARY_MODEL has no parameter.
Method LOAD_ALL on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method LOAD_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20070710 |
Method LOAD_SINGLE on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOCKED | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20070710 | |||
| 2 | E_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20070710 | |||
| 3 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20070710 |
Method LOCK on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method SAVE Signature
Method SAVE on class CL_GRPC_QLIBRARY_MODEL has no parameter.
Method SAVE on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method SET_CUSTOM_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | GRPC_API_CUSTOMFIELD_NAME | Name of the custom field | 20071002 | |||
| 2 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20071002 | |||
| 3 | I_VALUE | Call by reference | Type reference (TYPE) | GRPC_API_CUSTOMFIELD_VALUE | Value of the customer defined field | 20071002 |
Method SET_CUSTOM_FIELD on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method SET_QUESTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IS_CHANGED | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20070716 | |||
| 2 | IS_QUESTION | Call by reference | Type reference (TYPE) | GRPC_S_QUESTION | Question | 20070710 | |||
| 3 | IT_CHOICE | Call by reference | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20100331 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070710 |
Method TRUNCATE_QUESTION_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_QUESTION | Value transfer | Type reference (TYPE) | GRPC_QTEXT | Question text | 20070720 | |||
| 2 | I_QUESTION | Call by reference | Type reference (TYPE) | GRPC_QTEXT | Question text | 20070720 |
Method TRUNCATE_QUESTION_TEXT on class CL_GRPC_QLIBRARY_MODEL has no exception.
Method WHERE_USED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SURVEY | Value transfer | Type reference (TYPE) | GRPC_T_SURVEY_ID | Survey id | 20070711 | |||
| 2 | I_QUESTION_ID | Call by reference | Type reference (TYPE) | GRPC_QUESTION_ID | Question ID | 20070711 |
Method WHERE_USED on class CL_GRPC_QLIBRARY_MODEL has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 250 |