SAP ABAP Class CL_SR_PUB_RULES (Services rules for publication on technical level)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-WS-ABA-CFG (Application Component) WebServices ABAP Configuration
     SUDDICLIENT_NEW (Package) New development regarding UDDI Publication
Properties
Class CL_SR_PUB_RULES  
Short Description Services rules for publication on technical level    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SUDDICLIENT_NEW   New development regarding UDDI Publication 
Created 20080220   SAP 
Last change 20130531   SAP 
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 CL_SR_PUB_RULES has no interface implemented.
Friends
Class CL_SR_PUB_RULES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DEFAULT_ALL Constant Public Type reference (TYPE) STRING '*' 20080310
2 DEFAULT_RULE_DESC Constant Public Type reference (TYPE) STRING 'All services at the system' 20080310
3 DEFAULT_RULE_NAME Constant Public Type reference (TYPE) STRING 'SAP_DEFAULT_PUBLISH_ALL' 20080310
4 MIGRATED_NAME_ACTIVE Constant Public Type reference (TYPE) STRING ' Migrated ACTIVE rule for registry: ' 20080313
5 MIGRATED_NAME_INACTIVE Constant Public Type reference (TYPE) STRING ' Migrated INACTIVE rule for registry: ' 20080313
6 MIGRATION_PREFIX Constant Public Type reference (TYPE) STRING '!!!' 20080226
7 STATUS_ACTIVE Constant Public Type reference (TYPE) I 4 20080220
8 STATUS_AVAILABLE Constant Public Type reference (TYPE) I 1 20080220
9 STATUS_INACTIVE Constant Public Type reference (TYPE) I 2 20080220
10 STATUS_INAVAILABLE Constant Public Type reference (TYPE) I 0 20080220
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE Instance method Public Method Activates a rule 20080220
2 ADD_CLASSIFICATIONS Instance method Public Method Adds a set of classifications to a rule 20080220
3 ADD_SERVICES Instance method Public Method Adds a selection of services to a rule 20080220
4 ATTACH Instance method Public Method Attaches a rule to a registry for publication management 20080220
5 CHECK_RULE_NAME Static method Public Method Checks if Rule name is valid 20081014
6 CREATE Instance method Public Method Creates a new rule 20080220
7 CREATE_DEFAULT_RULE Instance method Public Method Creates an artificial dummy content rule for interpretation 20080310
8 DEACTIVATE Instance method Public Method Deactivates a rule 20080220
9 DELETE Instance method Public Method Deletes a rule 20080220
10 DETACH Instance method Public Method Detaches a rule from registries 20080220
11 GET_CLASSIFICATIONS Instance method Public Method Gets classifications for a rule 20080222
12 GET_DEFAULT_RULE_SERVICES Instance method Public Method Returns all SDEFs for the system 20080310
13 GET_REGISTRIES_FOR_RULE Static method Public Method Get List of Registries for a Rule 20080908
14 GET_REGISTRY_FOR_RULE Static method Public Method Get a Registry that is atttached to a Rule 20080924
15 GET_RULES Instance method Public Method Returns all rules, mathcing criteria 20080220
16 GET_RULES_ATTACHED Instance method Public Method Gets all rules attached to a registry 20080220
17 GET_RULES_MANAGED Instance method Public Method Returns all rules together with registry attachments 20080221
18 GET_RULE_STATUS Instance method Public Method Gets the status for a rule 20080220
19 GET_SERVICES Instance method Public Method Gets all services for a rule 20080220
20 GET_SERVICES_FOR_CLASSIF Instance method Public Method Gets services for classification 20080304
21 GET_SERVICES_MERGED Instance method Public Method Get all services for all active rules 20080310
22 IS_CLASSIFICATION_EXISTS Static method Public Method Returns if classification exists for a Rule 20080924
23 IS_MIGRATION_PREFIX Instance method Public Method Checks if a prefix of a rule is migration related 20080226
24 IS_RULE_ACTIVE Instance method Public Method Checks if the default rule is acttive 20080313
25 IS_RULE_ATTACHED Instance method Public Method Cheks to see if the rule is attached to a registry 20080313
26 IS_RULE_NAME_EXISTS Static method Public Method Checks if rule name already exists 20081014
27 IS_SERVICE_EXISTS Static method Public Method Returns if service exists for a Rule 20080924
28 MIGRATE_OLD_RULES Instance method Public Method Migrate old rules, if available 20080313
29 PREPROCESS_RULES Instance method Public Method Preprocesses the default and migration rules and their statu 20080313
30 PURGE_MIGRATION Instance method Public Method Permanently deletes classification rules from sdb_pub_rule 20080227
31 REMOVE_CLASSIFICATIONS Instance method Public Method Removes a selection of classifications from a rule 20080220
32 REMOVE_SERVICES Instance method Public Method Removes a selection of services from a rule 20080220
33 SEARCH_RULES Static method Public Method Search for Rules 20080909
34 UPDATE_RULE_DESCRIPTION Static method Public Method Update Rule Description 20080924
Events
Class CL_SR_PUB_RULES has no event.
Types
Class CL_SR_PUB_RULES has no local type.
Method Signatures

Method ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080220

Method ACTIVATE on class CL_SR_PUB_RULES has no exception.

Method ADD_CLASSIFICATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASSIFICATIONS Call by reference Type reference (TYPE) STTY_PUB_RULE_IMP Table of structures 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080220

Method ADD_CLASSIFICATIONS on class CL_SR_PUB_RULES has no exception.

Method ADD_SERVICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) I 20080220
2 Importing RULE Call by reference Type reference (TYPE) STRING 20080220
3 Importing SERVICES Call by reference Type reference (TYPE) STTY_STRING_TABLE Table of structures 20080220

Method ADD_SERVICES on class CL_SR_PUB_RULES has no exception.

Method ATTACH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080220

Method ATTACH on class CL_SR_PUB_RULES has no exception.

Method CHECK_RULE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_NAMEFAIL_FLAG Call by reference Type reference (TYPE) CHAR1 'X' is true ' ' is false 20081014
2 Importing IM_RULE_ID Call by reference Type reference (TYPE) CHAR64 Character field, length 64 20081014

Method CHECK_RULE_NAME on class CL_SR_PUB_RULES has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESCRIPTION Call by reference Type reference (TYPE) STRING Description for the rule 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I DB operation result 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING Rule name 20080220

Method CREATE on class CL_SR_PUB_RULES has no exception.

Method CREATE_DEFAULT_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080310

Method CREATE_DEFAULT_RULE on class CL_SR_PUB_RULES has no exception.

Method DEACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080220

Method DEACTIVATE on class CL_SR_PUB_RULES has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) I Operation success 20080220
2 Importing RULE Call by reference Type reference (TYPE) STRING Rule to delete 20080220

Method DELETE on class CL_SR_PUB_RULES has no exception.

Method DETACH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080220

Method DETACH on class CL_SR_PUB_RULES has no exception.

Method GET_CLASSIFICATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CLASSIFICATIONS Call by reference Type reference (TYPE) STTY_PUB_RULE_CLS Table of structures 20080222
2 Importing RULE Call by reference Type reference (TYPE) STRING 20080222

Method GET_CLASSIFICATIONS on class CL_SR_PUB_RULES has no exception.

Method GET_DEFAULT_RULE_SERVICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SERVICES Call by reference Type reference (TYPE) STTY_PUB_RULE_SET Table of strings 20080310

Method GET_DEFAULT_RULE_SERVICES on class CL_SR_PUB_RULES has no exception.

Method GET_REGISTRIES_FOR_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_REGISTRIES Call by reference Type reference (TYPE) STTY_PUB_RULE_REG Table of rules attached to registries 20080908
2 Importing IM_RULE_ID Call by reference Type reference (TYPE) SDEL_SOA_RULE_ID Publication Rule ID 20080908

Method GET_REGISTRIES_FOR_RULE on class CL_SR_PUB_RULES has no exception.

Method GET_REGISTRY_FOR_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_REGISTRY Call by reference Type reference (TYPE) SSTR_PUB_RULE_REG Rule reg structure 20080924
2 Importing IM_REGISTRY_ID Call by reference Type reference (TYPE) STRING Registry ID 20080924
3 Importing IM_RULE_ID Call by reference Type reference (TYPE) STRING Publication Rule ID 20080924

Method GET_REGISTRY_FOR_RULE on class CL_SR_PUB_RULES has no exception.

Method GET_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
2 Exporting RULES Call by reference Type reference (TYPE) STTY_PUB_RULE Table of servce rules 20080220

Method GET_RULES on class CL_SR_PUB_RULES has no exception.

Method GET_RULES_ATTACHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIVE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20080304
2 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
3 Exporting RULES_ATTACHED Value transfer Type reference (TYPE) STTY_PUB_RULE_REG Table of structures 20080220

Method GET_RULES_ATTACHED on class CL_SR_PUB_RULES has no exception.

Method GET_RULES_MANAGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting MANAGED_RULES Call by reference Type reference (TYPE) STTY_PUB_RULE_MAN Table of structures 20080221

Method GET_RULES_MANAGED on class CL_SR_PUB_RULES has no exception.

Method GET_RULE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080220
2 Importing RULE Call by reference Type reference (TYPE) STRING 20080220
3 Returning STATUS Value transfer Type reference (TYPE) I 20080220

Method GET_RULE_STATUS on class CL_SR_PUB_RULES has no exception.

Method GET_SERVICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RULE Call by reference Type reference (TYPE) STRING 20080220
2 Exporting SERVICES Call by reference Type reference (TYPE) STTY_PUB_RULE_SET Table of structures 20080220

Method GET_SERVICES on class CL_SR_PUB_RULES has no exception.

Method GET_SERVICES_FOR_CLASSIF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASSIFICATION Call by reference Type reference (TYPE) SSTR_PUB_RULE_CLS Set of classification attached to rule 20080304
2 Exporting SERVICES Call by reference Type reference (TYPE) STTY_PUB_RULE_SET Set of services attached to rule 20080304

Method GET_SERVICES_FOR_CLASSIF on class CL_SR_PUB_RULES has no exception.

Method GET_SERVICES_MERGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080310
2 Exporting SERVICES Call by reference Type reference (TYPE) STTY_PUB_RULE_SET Set of services attached to rule 20080310

Method GET_SERVICES_MERGED on class CL_SR_PUB_RULES has no exception.

Method IS_CLASSIFICATION_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXISTS Call by reference Type reference (TYPE) ABAP_BOOL 20080924
2 Importing IM_CLS_ID Call by reference Type reference (TYPE) UUID Global Unique ID for table 20080924
3 Importing IM_RULE_ID Call by reference Type reference (TYPE) STRING Rule ID 20080924

Method IS_CLASSIFICATION_EXISTS on class CL_SR_PUB_RULES has no exception.

Method IS_MIGRATION_PREFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) STRING 20080226
2 Returning RESULT Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20080226

Method IS_MIGRATION_PREFIX on class CL_SR_PUB_RULES has no exception.

Method IS_RULE_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ACTIVE Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20080313
2 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080313
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080313

Method IS_RULE_ACTIVE on class CL_SR_PUB_RULES has no exception.

Method IS_RULE_ATTACHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_ATTACHED Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20080313
2 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080313
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080313

Method IS_RULE_ATTACHED on class CL_SR_PUB_RULES has no exception.

Method IS_RULE_NAME_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXISTS Call by reference Type reference (TYPE) CHAR1 Single-Character Flag 20081014
2 Importing IM_RULE_ID Call by reference Type reference (TYPE) CHAR64 Character field, length 64 20081014

Method IS_RULE_NAME_EXISTS on class CL_SR_PUB_RULES has no exception.

Method IS_SERVICE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EXISTS Call by reference Type reference (TYPE) ABAP_BOOL Return ABAP_TRUE if exists else ABAP_FALSE 20080924
2 Importing IM_RULE_ID Call by reference Type reference (TYPE) STRING Rule ID 20080924
3 Importing IM_SERVICE_ID Call by reference Type reference (TYPE) CHAR30 Service ID 20080924

Method IS_SERVICE_EXISTS on class CL_SR_PUB_RULES has no exception.

Method MIGRATE_OLD_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_MIGRATION_AVAILABLE Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20080313
2 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080313

Method MIGRATE_OLD_RULES on class CL_SR_PUB_RULES has no exception.

Method PREPROCESS_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REGISTRY Call by reference Type reference (TYPE) STRING 20080313

Method PREPROCESS_RULES on class CL_SR_PUB_RULES has no exception.

Method PURGE_MIGRATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REGISTRY Call by reference Type reference (TYPE) STRING 20080227
2 Importing I_STATUS Call by reference Type reference (TYPE) C 20080227
3 Returning ROWS_PURGED Value transfer Type reference (TYPE) I 20080227

Method PURGE_MIGRATION on class CL_SR_PUB_RULES has no exception.

Method REMOVE_CLASSIFICATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASSIFICATIONS Call by reference Type reference (TYPE) STTY_PUB_RULE_IMP Table of structures 20080220
2 Returning RESULT Value transfer Type reference (TYPE) I 20080220
3 Importing RULE Call by reference Type reference (TYPE) STRING 20080220

Method REMOVE_CLASSIFICATIONS on class CL_SR_PUB_RULES has no exception.

Method REMOVE_SERVICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) I 20080220
2 Importing RULE Call by reference Type reference (TYPE) STRING 20080220
3 Importing SERVICES Call by reference Type reference (TYPE) STTY_STRING_TABLE Table of strings 20080220

Method REMOVE_SERVICES on class CL_SR_PUB_RULES has no exception.

Method SEARCH_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_RULES Call by reference Type reference (TYPE) STTY_PUB_RULE Table of publication rules 20080909
2 Importing IM_REGISTRY_NAME Call by reference Type reference (TYPE) SDEL_SOA_REGISTRY_ID Registry ID 20080910
3 Importing IM_RULE_DESCRIPTION Call by reference Type reference (TYPE) SDEL_SOA_RULE_DESCRIPTION Rule Description 20080909
4 Importing IM_RULE_NAME Call by reference Type reference (TYPE) SDEL_SOA_RULE_ID Publication Rule ID 20080909

Method SEARCH_RULES on class CL_SR_PUB_RULES has no exception.

Method UPDATE_RULE_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_RULE_DESCRIPTION Call by reference Type reference (TYPE) STRING Publication Rule Description 20080924
2 Importing IM_RULE_ID Call by reference Type reference (TYPE) SDEL_SOA_RULE_ID Publication Rule ID 20080924

Method UPDATE_RULE_DESCRIPTION on class CL_SR_PUB_RULES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 711