SAP ABAP Class CL_ESH_IF_MDATA_CATEGORY (Meta Data: Category)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_INTERFACE (Package) Interface

⤷

⤷

Properties
Class | CL_ESH_IF_MDATA_CATEGORY | |
Short Description | Meta Data: Category | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ESH_ENG_INTERFACE | Interface |
Created | 20080212 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_ESH_IF_MDATA_CATEGORY has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_ESH_IF_MDATA_CONNECTOR | 20090123 | Metadata: Search Connector |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | T_CATEGORY_IDS | 20080901 | |||
2 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ESH_T_IF_MDATA_CONNECTORS | Metadata: Connectors | 20090728 | ||
3 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ESH_T_IF_MDATA_TEMPLATES | Metadata: Templates | 20080904 | ||
4 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ESH_E_IF_NAME | Readable name | 20080721 | ||
5 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | Category | 20080721 | ||
6 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Is authorized | 20100414 | |
7 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Is replaced | 20130326 | |
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Is searchable | 20090122 | |
9 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | Category ID | 20080901 | ||
10 | ![]() |
Constant | Private | Type reference (TYPE) | INT4 | 500 | Maximum amount of entries in connector buffer | 20080721 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | 'ALL_CONTENT_200811101622' | All content category ID | 20080912 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | 'DEFAULT_CONTENT_200811101622' | Default content category ID | 20080912 | |
13 | ![]() |
Static Attribute | Private | Type reference (TYPE) | LTT_CATEGORY | Category instances | 20080721 | ||
14 | ![]() |
Static Attribute | Private | Type reference (TYPE) | IF_ESH_SE_RUNTIME_DATA=>T_CATEGORIES_SORTED | Categories (sorted) | 20080819 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Collect category distance for joint category list | 20130709 |
2 | ![]() |
Instance method | Protected | Constructor | Constructor | 20080721 |
3 | ![]() |
Static method | Protected | Method | Get categories of connector (not performance optimized) | 20100414 |
4 | ![]() |
Static method | Public | Method | Get category instance | 20080403 |
5 | ![]() |
Static method | Public | Method | Get category IDs | 20080403 |
6 | ![]() |
Instance method | Public | Method | Get children | 20080403 |
7 | ![]() |
Instance method | Protected | Method | Get category IDs of all levels of subcategories | 20090210 |
8 | ![]() |
Instance method | Public | Method | Get connectors | 20080904 |
9 | ![]() |
Instance method | Protected | Method | Get connector IDs of the category and subcategories | 20090728 |
10 | ![]() |
Instance method | Public | Method | Get description | 20080904 |
11 | ![]() |
Instance method | Public | Method | Get ID | 20081010 |
12 | ![]() |
Static method | Public | Method | Get closest categories of connectors (not perf.-optimized) | 20130708 |
13 | ![]() |
Static method | Private | Method | Get relevant languages | 20080901 |
14 | ![]() |
Instance method | Public | Method | Get parent | 20080403 |
15 | ![]() |
Instance method | Protected | Method | Get template IDs of the category and subcategories | 20080904 |
16 | ![]() |
Instance method | Public | Method | Category has parent category | 20090928 |
17 | ![]() |
Instance method | Public | Method | Current user is authorized for category | 20100414 |
18 | ![]() |
Instance method | Public | Method | All contained connectors arer replaced | 20130326 |
19 | ![]() |
Instance method | Public | Method | At least one searchable connector in authorized category | 20090122 |
20 | ![]() |
Static method | Protected | Method | Refresh status on all instances | 20090122 |
Events
Class CL_ESH_IF_MDATA_CATEGORY has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | LST_CATEGORY | Private | See coding | 20080721 | BEGIN OF lst_category,
id TYPE esh_e_om_category,
instance TYPE REF TO cl_esh_if_mdata_category,
END OF lst_category
|
||
2 | LTT_CATEGORY | Private | See coding | 20080721 | ltt_category TYPE SORTED TABLE OF lst_category
WITH UNIQUE KEY id
|
||
3 | S_CATEGORY_DIST | Protected | See coding | 20130708 | BEGIN OF s_category_dist,
category_id TYPE esh_e_if_category_id,
category TYPE REF TO cl_esh_if_mdata_category,
has_all_connectors TYPE abap_bool,
distance_sum TYPE i,
distance_min TYPE i,
connectors TYPE t_connector_dist,
END OF s_category_dist
|
||
4 | S_CONNECTOR_DIST | Protected | See coding | 20130708 | BEGIN OF s_connector_dist,
connector_id TYPE esh_e_if_search_connector_id,
distance TYPE i,
END OF s_connector_dist
|
||
5 | T_CATEGORY_DIST | Protected | See coding | 20130708 | t_category_dist TYPE STANDARD TABLE OF s_category_dist WITH UNIQUE SORTED KEY category_id COMPONENTS category_id
WITH NON-UNIQUE SORTED KEY has_all_connectors COMPONENTS has_all_connectors
|
||
6 | T_CATEGORY_IDS | Protected | Type reference (TYPE) | IF_ESH_SE_RUNTIME_DATA=>T_CATEGORY_IDS_SORTED | 20080901 |
|
|
7 | T_CONNECTOR_DIST | Protected | See coding | 20130708 | t_connector_dist TYPE SORTED TABLE OF s_connector_dist WITH UNIQUE KEY connector_id
|
Method Signatures
Method COLLECT_CATEGORY_DISTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CATEG_DISTANCE | Call by reference | Type reference (TYPE) | T_CATEGORY_DIST | 20130709 | |||
2 | ![]() |
IO_CATEGORY | Call by reference | Object reference (TYPE REF TO) | CL_ESH_IF_MDATA_CATEGORY | Meta Data: Category | 20130709 | ||
3 | ![]() |
IV_CONNECTOR_COUNT | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20130709 | ||
4 | ![]() |
IV_CONNECTOR_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | Search Connector ID | 20130709 | ||
5 | ![]() |
IV_DISTANCE | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20130709 |
Method COLLECT_CATEGORY_DISTANCE on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | Category | 20080721 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH Interface Exception | 20080721 |
Method GET_CATEGORIES_OF_CONNECTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CATEGORIES | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CATEGORY_OBJ | Meta Data: Category Objects | 20100414 | ||
2 | ![]() |
IV_CONNECTION_GUID | Call by reference | Type reference (TYPE) | CHAR32 | Connection GUID | 20100414 | ||
3 | ![]() |
IV_CONNECTOR_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | Search Connector ID | 20100414 | ||
4 | ![]() |
IV_ONLY_NON_REPLACED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only with non replaced connectors | 20130326 | |
5 | ![]() |
IV_ONLY_SEARCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only searchable categories | 20100414 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH Interface Exception | 20100414 |
Method GET_CATEGORY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CATEGORY_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | Category | 20080721 | ||
2 | ![]() |
RO_CATEGORY | Value transfer | Object reference (TYPE REF TO) | CL_ESH_IF_MDATA_CATEGORY | Meta Data: Category | 20080721 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH Interface Exception | 20080721 |
Method GET_CATEGORY_IDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CATEGORIES | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CATEGORIES | Meta Data: Category | 20080721 | ||
2 | ![]() |
IV_ONLY_NON_REPLACED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only with non replaced connectors | 20130326 | |
3 | ![]() |
IV_ONLY_SEARCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only with searchable connectors | 20090122 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH Interface Exception | 20080721 |
Method GET_CHILDREN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CHILD_CATEGORIES | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CATEGORY_OBJ | Meta Data: Category Objects | 20080904 | ||
2 | ![]() |
IV_ALL_DEGREES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Get children of all degrees of relationship | 20090210 | |
3 | ![]() |
IV_ONLY_NON_REPLACED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only with non replaced connectors | 20130326 | |
4 | ![]() |
IV_ONLY_SEARCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only with searchable connectors | 20090210 |
Method GET_CHILDREN on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_CHILDREN_IDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CHILDREN_IDS | Call by reference | Type reference (TYPE) | T_CATEGORY_IDS | 20090210 |
Method GET_CHILDREN_IDS on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_CONNECTORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CONNECTORS | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CONNECTOR_OBJ | Meta Data: Connector Objects | 20080904 | ||
2 | ![]() |
IV_INCLUDE_CHILDREN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Include Connectors of Child Categories | 20081110 | |
3 | ![]() |
IV_ONLY_NON_REPLACED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only non replaced connectors | 20130326 | |
4 | ![]() |
IV_ONLY_SEARCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only searchable connectors | 20090122 |
Method GET_CONNECTORS on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_CONNECTOR_IDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CONNECTOR_IDS | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CONNECTORS | Meta Data: Connectors | 20090728 |
Method GET_CONNECTOR_IDS on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_DESCRIPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_DESCRIPTION | Value transfer | Type reference (TYPE) | ESH_E_IF_NAME | Readable Name | 20080904 |
Method GET_DESCRIPTION on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_ID | Value transfer | Type reference (TYPE) | ESH_E_IF_CATEGORY_ID | Search Connector ID | 20081010 |
Method GET_ID on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_JOINT_CATEGORIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CATEGORIES | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CATEGORY_OBJ | Meta Data: Category Objects | 20130708 | ||
2 | ![]() |
IO_FILTER_CATEGORY | Call by reference | Object reference (TYPE REF TO) | CL_ESH_IF_MDATA_CATEGORY | Meta Data: Category | 20130708 | ||
3 | ![]() |
IT_CONNECTORS | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_CONNECTOR_OBJ | Meta Data: Connector Objects | 20130708 | ||
4 | ![]() |
IV_ONLY_NON_REPLACED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only with non replaced connectors | 20130708 | |
5 | ![]() |
IV_ONLY_SEARCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Only searchable Categories | 20130708 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH Interface Exception | 20130708 |
Method GET_LANGUAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_LANGUAGES | Call by reference | Type reference (TYPE) | ESH_T_OM_LANGU | Table of Languages used for Admin | 20080901 |
Method GET_LANGUAGES on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method GET_PARENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RO_PARENT_CATEGORY | Value transfer | Object reference (TYPE REF TO) | CL_ESH_IF_MDATA_CATEGORY | Meta Data: Category | 20080901 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH Interface Exception | 20080901 |
Method GET_TEMPLATE_IDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_TEMPLATE_IDS | Call by reference | Type reference (TYPE) | ESH_T_IF_MDATA_TEMPLATES | Meta Data: Templates | 20080904 |
Method GET_TEMPLATE_IDS on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method HAS_PARENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_TRUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090928 |
Method HAS_PARENT on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method IS_AUTHORIZED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_REFRESH | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100414 | ||
2 | ![]() |
RV_TRUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100414 |
Method IS_AUTHORIZED on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method IS_REPLACED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_TRUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130326 |
Method IS_REPLACED on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method IS_SEARCHABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_TRUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090122 |
Method IS_SEARCHABLE on class CL_ESH_IF_MDATA_CATEGORY has no exception.
Method REFRESH_STATUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_SEARCHABILITY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Refresh searchability status | 20090122 |
Method REFRESH_STATUS on class CL_ESH_IF_MDATA_CATEGORY has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 711 |