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 C_INDEX Constant Private Type reference (TYPE) TEXT60 ' abcdefghijklmnopqrstuvwxyz' Text Field of Length 60 20100331
2 MR_CDF_MODEL Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_UTIL_CDF_MODEL CDF Model utility class 20100422
3 MR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_GRPC_QLIBRARY_MODEL DB encapsulation 20070711
4 MT_CHOICE_IMPACT_LEVEL Static Attribute Private Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100331
5 MT_CHOICE_PROB_LEVEL Static Attribute Private Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100331
6 MT_CHOICE_RATING Static Attribute Private Type reference (TYPE) YT_RATING 20100331
7 MT_CHOICE_SPEED_OF_ONSET Static Attribute Private Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100331
8 MT_CHOICE_YES_NO Static Attribute Private Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100331
9 MT_QCATATYPE Static Attribute Private Type reference (TYPE) YT_QCATATYPE 20100428
10 MT_QCATEGORY Static Attribute Private Type reference (TYPE) YT_QCATEGORY 20080807
11 MT_QCATEGORY_T Static Attribute Private Type reference (TYPE) YT_QCATEGORY_T 20090305
12 MT_QLIBCHOICE Instance attribute Private Type reference (TYPE) YT_QLIBCHOICE 20100331
13 MT_QLIBRARY Instance attribute Private Type reference (TYPE) YT_QLIBRARY 20070710
14 M_LANGU Instance attribute Private Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20070711
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_QUESTION Instance method Public Method Check existence of the question 20131204
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090217
3 CLEAN_LOCAL_QUESTIONS Instance method Public Method Clun up not used local questions for Survey 20080404
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070711
5 CREATE_QUESTION Instance method Public Method Creates and locks new question in buffer 20070710
6 DELETE_QUESTION Instance method Public Method Delete locked question in buffer 20070710
7 GET_ATYPE Static method Public Method Get list of ansver types for Q-category 20100428
8 GET_CUSTOM_FIELD Instance method Private Method 20071002
9 GET_INSTANCE Static method Public Method Get instance (no time dependency) 20070711
10 GET_QCATEGORY Static method Public Method Get list of question categories 20080807
11 GET_QUESTION Instance method Public Method Retrieve question detail + lock 20070710
12 GET_QUESTION_LIST Instance method Public Method Return whole list 20070710
13 GET_RATING Static method Public Method 20100401
14 IS_EXPLAIN_ENABLED Static method Public Method Explain text 20130926
15 IS_QUESTION_LOCKED Instance method Public Method Am I locking the object? 20070710
16 IS_USED Instance method Public Method Wheather the question is used 20080109
17 LOAD_ALL Instance method Private Method Load the buffer 20070710
18 LOAD_SINGLE Instance method Private Method reload after locking 20070710
19 LOCK Instance method Private Method Locking 20070710
20 SAVE Instance method Public Method Save all changes 20070710
21 SET_CUSTOM_FIELD Instance method Private Method 20071002
22 SET_QUESTION Instance method Public Method Update question in buffer 20070710
23 TRUNCATE_QUESTION_TEXT Static method Public Method For question output 20070720
24 WHERE_USED 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 Importing I_QUESTION_ID Call by reference Type reference (TYPE) GRPC_QUESTION_ID Question ID 20131204
2 Returning 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 Importing IT_USED_QUESTIONS Call by reference Type reference (TYPE) GRPC_T_QUESTION_ID Question IDs 20080404
2 Importing 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 Importing 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 Exporting 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 Importing I_QUESTION_ID Call by reference Type reference (TYPE) GRPC_QUESTION_ID Question 20070710
# Exception Resumable Description Created on
1 IS_USED 20080109
2 NOT_LOCKED 20070710

Method GET_ATYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_QCATEGORY Value transfer Type reference (TYPE) GRPC_QCATEGORY Question category 20100428
2 Returning 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 Returning ET_FIELD Value transfer Type reference (TYPE) TY_NAMEVALUEASSTRING NAMEVALUEASSTRING 20071002
2 Importing 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 Returning ER_INSTANCE Value transfer Object reference (TYPE REF TO) CL_GRPC_QLIBRARY_MODEL DB encapsulation 20070711
2 Importing 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 Returning ET_QCATEGORY Value transfer Type reference (TYPE) GRPC_T_API_QCATEGORY Question category 20080807
2 Importing 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 Exporting ES_QUESTION Call by reference Type reference (TYPE) GRPC_S_QUESTION Question 20070710
2 Exporting ET_CHOICE Call by reference Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100331
3 Exporting E_LOCKED Call by reference Type reference (TYPE) AS4FLAG Lock is successful 20070711
4 Exporting E_LOCKED_BY Call by reference Type reference (TYPE) SYUNAME User Name 20070710
5 Importing I_QUESTION_ID Call by reference Type reference (TYPE) GRPC_QUESTION_ID Question ID 20070710
6 Importing 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 Returning 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 Returning 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 Returning 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 Returning E_LOCKING Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070710
2 Importing 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 Returning E_USED Value transfer Type reference (TYPE) AS4FLAG 20080109
2 Importing 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 Importing 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 Exporting E_LOCKED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070710
2 Exporting E_USER Call by reference Type reference (TYPE) SYUNAME User Name 20070710
3 Importing 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 Importing I_NAME Call by reference Type reference (TYPE) GRPC_API_CUSTOMFIELD_NAME Name of the custom field 20071002
2 Importing I_QUESTION_ID Call by reference Type reference (TYPE) GRPC_QUESTION_ID Question ID 20071002
3 Importing 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 Exporting E_IS_CHANGED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070716
2 Importing IS_QUESTION Call by reference Type reference (TYPE) GRPC_S_QUESTION Question 20070710
3 Importing IT_CHOICE Call by reference Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100331
# Exception Resumable Description Created on
1 NOT_LOCKED 20070710

Method TRUNCATE_QUESTION_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_QUESTION Value transfer Type reference (TYPE) GRPC_QTEXT Question text 20070720
2 Importing 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 Returning ET_SURVEY Value transfer Type reference (TYPE) GRPC_T_SURVEY_ID Survey id 20070711
2 Importing 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