SAP ABAP Class CL_NHI_OBJECTS_FINDER (Super class for RC of HANA object content assist)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-AIE-AHI (Application Component) Tools for ABAP and HANA Integration
⤷
SNHI_ADT (Package) SNHI_ADT
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ADT_RES_NAMED_ITEMS | Abstract resource controller for named items | 20120830 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_NHI_ADT_RES_DBPROCEDURE | Resource controller Database Procedure Content assist | 20120904 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_NHI_ADT_RES_VIEW | Resource controller Views Content assist | 20120830 |
Properties
| Class | CL_NHI_OBJECTS_FINDER | |
| Short Description | Super class for RC of HANA object content assist | |
| Super Class | CL_ADT_RES_NAMED_ITEMS | Abstract resource controller for named items |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SNHI_ADT | SNHI_ADT |
| Created | 20120830 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_NHI_OBJECTS_FINDER has no forward declaration.
Interfaces
Class CL_NHI_OBJECTS_FINDER has no interface implemented.
Friends
Class CL_NHI_OBJECTS_FINDER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | whether searching just for specified package | 20120830 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'objname' | 20120830 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'objtype' | 20120830 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'hanapackage' | 20120830 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_NHI_OBJECT | instance of NHI API | 20120830 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | CE_NHI_OBJECT_TYPE=>TY_TYPES | HANA types for searching | 20120830 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | I | maximal item counter of result | 20120830 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | TY_RESULT_OBJECT_T | 20120910 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | define HANA types, maximal item accout for searching | 20120830 | |
| 2 | Instance method | Public | Method | execute a single FIND request and | 20120830 | |
| 3 | Instance method | Protected | Method | find all HANA obejcts according to the searching pattern | 20120830 | |
| 4 | Instance method | Protected | Method | check whether the last character is a wildcard | 20120830 |
Events
Class CL_NHI_OBJECTS_FINDER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_RESULT_OBJECT_S | Public | See coding | 20120910 | BEGIN OF ty_result_object_s.
INCLUDE TYPE if_adt_named_item=>ty_named_item AS object.
TYPES package TYPE string.
TYPES END OF ty_result_object_s
|
||
| 2 | TY_RESULT_OBJECT_T | Public | See coding | 20120910 | ty_result_object_t TYPE STANDARD TABLE OF ty_result_object_s WITH DEFAULT KEY
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HANA_API | Call by reference | Object reference (TYPE REF TO) | IF_NHI_OBJECT | instance of NHI API | 20120830 | |||
| 2 | I_MAX_ITEM_COUNT | Call by reference | Type reference (TYPE) | I | maxiaml item count of result | 20120830 | |||
| 3 | I_TYPES | Call by reference | Type reference (TYPE) | CE_NHI_OBJECT_TYPE=>TY_TYPES | HANA object types for searching | 20120830 |
Method CONSTRUCTOR on class CL_NHI_OBJECTS_FINDER has no exception.
Method FIND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PACKAGE | Call by reference | Type reference (TYPE) | STRING | package name or pattern | 20120830 | |||
| 2 | I_PATTERN | Call by reference | Type reference (TYPE) | STRING | seaching object name pattern | 20120830 | |||
| 3 | I_TYPES | Call by reference | Type reference (TYPE) | CE_NHI_OBJECT_TYPE=>TY_TYPES | HANA types for searching | 20120830 | |||
| 4 | R_RESPONSE | Value transfer | Object reference (TYPE REF TO) | CL_NHI_FIND_OBJECTS_RES | NHI response containing result | 20120830 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120830 |
Method FIND_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_NAMED_ITEMS | Call by reference | Type reference (TYPE) | IF_ADT_NAMED_ITEM=>TY_NAMED_ITEM_LIST | result of search | 20120830 | |||
| 2 | I_OBJECT_NAME_PATTERN | Call by reference | Type reference (TYPE) | STRING | searching name pattern | 20120830 | |||
| 3 | I_PACKAGE | Call by reference | Type reference (TYPE) | STRING | package name or pattern | 20120830 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120830 |
Method IS_LAST_CHAR_WILDCARD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PATTERN | Call by reference | Type reference (TYPE) | STRING | name pattern | 20120830 | |||
| 2 | R_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | true, when the last char is a wildcard | 20120830 |
Method IS_LAST_CHAR_WILDCARD on class CL_NHI_OBJECTS_FINDER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |