IBM DB2 UDB
Plugin Interface
for Extending the Control Center

com.ibm.db2.tools.cc.navigator
Interface CCObject

All Known Subinterfaces:
CCTableObject, CCTreeObject

public interface CCObject

The CCObject interface allows users to change the behavior of the menu actions of an existing Control Center object or define a new plugin object which can be inserted into the Control Center tree.

This interface also contains static constants for object types available in to the Control Center tree.

See Also:
CCTypeFactory, CCTableObject, CCTreeObject, Defaultable

Field Summary
static int DCS_GATEWAY_CONNECTION
          Deprecated. DCS Gateway Connection object type (as of version 8.1 of DB2)
static int DCS_GATEWAY_CONNECTIONS_FOLDER
          Deprecated. DCS Gateway Connections Folder object type (as of version 8.1 of DB2)
static int NUM_OBJECT_TYPES
          Total number of object types
static int S390_ALIAS
           
static int S390_ALIASES_FOLDER
           
static int S390_APPLICATION_OBJECTS_FOLDER
           
static int S390_BUFFERPOOL
           
static int S390_BUFFERPOOLS_FOLDER
           
static int S390_CATALOG_TABLE
           
static int S390_CATALOG_TABLES_FOLDER
           
static int S390_COLLECTION
           
static int S390_COLLECTIONS_FOLDER
           
static int S390_DATABASE
           
static int S390_DATABASES_FOLDER
           
static int S390_DATASET
          S390 Data Set object type
static int S390_DATASET_TEMPLATE
           
static int S390_DATASET_TEMPLATES_FOLDER
           
static int S390_DATASETS_FOLDER
          S390 Data Sets Folder object type
static int S390_DB_USER
           
static int S390_DB_USERS_FOLDER
           
static int S390_DISTINCT_TYPE
           
static int S390_DISTINCT_TYPES_FOLDER
           
static int S390_INDEX
           
static int S390_INDEXS_FOLDER
           
static int S390_LOCATION
           
static int S390_LOCATIONS_FOLDER
           
static int S390_PACKAGE
           
static int S390_PACKAGES_FOLDER
           
static int S390_PLAN
           
static int S390_PLANS_FOLDER
           
static int S390_PROCEDURE
           
static int S390_PROCEDURES_FOLDER
           
static int S390_SCHEMA
           
static int S390_SCHEMAS_FOLDER
           
static int S390_STORAGE_GROUP
           
static int S390_STORAGE_GROUPS_FOLDER
           
static int S390_SUBSYSTEM
           
static int S390_SUBSYSTEMS_FOLDER
           
static int S390_SYNONYM
           
static int S390_SYNONYMS_FOLDER
           
static int S390_TABLE
           
static int S390_TABLES_FOLDER
           
static int S390_TABLESPACE
           
static int S390_TABLESPACES_FOLDER
           
static int S390_TRIGGER
           
static int S390_TRIGGERS_FOLDER
           
static int S390_USER_DEFINED_FUNCTION
           
static int S390_USER_DEFINED_FUNCTIONS_FOLDER
           
static int S390_UTILITY_LIST
           
static int S390_UTILITY_LISTS_FOLDER
           
static int S390_UTILITY_OBJECTS_FOLDER
           
static int S390_UTILITY_PROCEDURE
           
static int S390_UTILITY_PROCEDURES_FOLDER
           
static int S390_VIEW
           
static int S390_VIEWS_FOLDER
           
static int UDB_ALIAS
           
static int UDB_ALIASES_FOLDER
           
static int UDB_APPLICATION_OBJECTS_FOLDER
           
static int UDB_BUFFERPOOL
           
static int UDB_BUFFERPOOLS_FOLDER
           
static int UDB_CACHE_OBJECTS_FOLDER
           
static int UDB_CACHE_TABLE
           
static int UDB_CACHE_TABLES_FOLDER
           
static int UDB_CONNECTION
          Deprecated. UDB Connection object type (as of version 8.1 of DB2)
static int UDB_CONNECTIONS_FOLDER
          Deprecated. UDB Connections Folder object type (as of version 8.1 of DB2)
static int UDB_CTEINDEX
          UDB Text Index object type
static int UDB_CTEINDEXES_FOLDER
          Deprecated. UDB Text Indexes Folder object type (deprecated as of version 8.2 of DB2, replaced by base index folder - UDB_INDEXES_FOLDER )
static int UDB_DATABASE
           
static int UDB_DATABASES_FOLDER
           
static int UDB_DB_GROUP
           
static int UDB_DB_GROUPS_FOLDER
           
static int UDB_DB_USER
           
static int UDB_DB_USERS_FOLDER
           
static int UDB_DRDA_TABLE
           
static int UDB_DRDA_TABLES_FOLDER
           
static int UDB_EVENT_MONITOR
           
static int UDB_EVENT_MONITORS_FOLDER
           
static int UDB_FEDERATED_DATABASE_OBJECT
          UDB Federated Database Object (Wrapper) object type
static int UDB_FEDERATED_DATABASE_OBJECTS_FOLDER
          UDB Federated Database Objects Folder object type
static int UDB_FEDERATED_NICKNAME
           
static int UDB_FEDERATED_NICKNAMES_FOLDER
           
static int UDB_FEDERATED_REMOTE_TABLE
           
static int UDB_FEDERATED_REMOTE_TABLES_FOLDER
           
static int UDB_FEDERATED_SERVER
           
static int UDB_FEDERATED_SERVERS_FOLDER
           
static int UDB_FEDERATED_STORED_PROCEDURE
          UDB Federated Stored Procedure
static int UDB_FEDERATED_STORED_PROCEDURES_FOLDER
          UDB Federated Stored Procedures Folder
static int UDB_FEDERATED_USER_MAPPING
           
static int UDB_FEDERATED_USER_MAPPINGS_FOLDER
           
static int UDB_FEDERATED_VIEWS_FOLDER
           
static int UDB_INDEX
           
static int UDB_INDEXES_FOLDER
           
static int UDB_INSTANCE
           
static int UDB_INSTANCES_FOLDER
           
static int UDB_MQT
          UDB Materialized Query Table object type
static int UDB_MQTS_FOLDER
          UDB Materialized Query Table Folder object type
static int UDB_NODEGROUP
          UDB Database Partition Group object type
static int UDB_NODEGROUPS_FOLDER
          UDB Database Partition Groups Folder object type
static int UDB_PACKAGE
           
static int UDB_PACKAGES_FOLDER
           
static int UDB_REPLICATION_SOURCE
          Deprecated. UDB Replication Source object type (as of version 8.1 of DB2)
static int UDB_REPLICATION_SOURCES_FOLDER
          Deprecated. UDB Replication Sources Folder object type (as of version 8.1 of DB2)
static int UDB_REPLICATION_SUBSCRIPTION
          Deprecated. UDB Replication Subscription object type (as of version 8.1 of DB2)
static int UDB_REPLICATION_SUBSCRIPTIONS_FOLDER
          Deprecated. UDB Replication Subscriptions Folder object type (as of version 8.1 of DB2)
static int UDB_SCHEMA
           
static int UDB_SCHEMAS_FOLDER
           
static int UDB_STORE_PROCEDURE
           
static int UDB_STORE_PROCEDURES_FOLDER
           
static int UDB_SYSTEM
           
static int UDB_SYSTEMS_FOLDER
           
static int UDB_TABLE
           
static int UDB_TABLES_FOLDER
           
static int UDB_TABLESPACE
           
static int UDB_TABLESPACES_FOLDER
           
static int UDB_TRIGGER
           
static int UDB_TRIGGERS_FOLDER
           
static int UDB_USER_AND_GROUP_OBJECTS_FOLDER
           
static int UDB_USER_DEFINED_DISTINCT_DATATYPE
           
static int UDB_USER_DEFINED_DISTINCT_DATATYPES_FOLDER
           
static int UDB_USER_DEFINED_DISTINCT_FUNCTION
          UDB User Defined Function object type
static int UDB_USER_DEFINED_DISTINCT_FUNCTIONS_FOLDER
          UDB User Defined Functions Folder object type
static int UDB_USER_DEFINED_METHOD
           
static int UDB_USER_DEFINED_METHODS_FOLDER
           
static int UDB_USER_DEFINED_STRUCTURED_DATATYPE
           
static int UDB_USER_DEFINED_STRUCTURED_DATATYPES_FOLDER
           
static int UDB_VIEW
           
static int UDB_VIEWS_FOLDER
           
static int UDB_XMLREPOSITORY_FOLDER
           
static int UDB_XSROBJECT
           
 
Method Summary
 CCMenuAction[] getMenuActions()
          Get the CCMenuAction array which defines the list of menu actions to be created for this object
 java.lang.String getName()
          Get the name of this object.
 int getType()
          Get the type of this object.
 boolean isConfigurable()
          Deprecated. This method is deprecated as of the version 8.1 of DB2.
 boolean isEditable()
          Deprecated. This method is deprecated as of the version 8.1 of DB2.
 

Field Detail

UDB_SYSTEMS_FOLDER

public static final int UDB_SYSTEMS_FOLDER
See Also:
Constant Field Values

UDB_SYSTEM

public static final int UDB_SYSTEM
See Also:
Constant Field Values

UDB_INSTANCES_FOLDER

public static final int UDB_INSTANCES_FOLDER
See Also:
Constant Field Values

UDB_INSTANCE

public static final int UDB_INSTANCE
See Also:
Constant Field Values

UDB_DATABASES_FOLDER

public static final int UDB_DATABASES_FOLDER
See Also:
Constant Field Values

UDB_DATABASE

public static final int UDB_DATABASE
See Also:
Constant Field Values

UDB_TABLES_FOLDER

public static final int UDB_TABLES_FOLDER
See Also:
Constant Field Values

UDB_TABLE

public static final int UDB_TABLE
See Also:
Constant Field Values

UDB_TABLESPACES_FOLDER

public static final int UDB_TABLESPACES_FOLDER
See Also:
Constant Field Values

UDB_TABLESPACE

public static final int UDB_TABLESPACE
See Also:
Constant Field Values

UDB_VIEWS_FOLDER

public static final int UDB_VIEWS_FOLDER
See Also:
Constant Field Values

UDB_VIEW

public static final int UDB_VIEW
See Also:
Constant Field Values

UDB_ALIASES_FOLDER

public static final int UDB_ALIASES_FOLDER
See Also:
Constant Field Values

UDB_ALIAS

public static final int UDB_ALIAS
See Also:
Constant Field Values

UDB_TRIGGERS_FOLDER

public static final int UDB_TRIGGERS_FOLDER
See Also:
Constant Field Values

UDB_TRIGGER

public static final int UDB_TRIGGER
See Also:
Constant Field Values

UDB_SCHEMAS_FOLDER

public static final int UDB_SCHEMAS_FOLDER
See Also:
Constant Field Values

UDB_SCHEMA

public static final int UDB_SCHEMA
See Also:
Constant Field Values

UDB_INDEXES_FOLDER

public static final int UDB_INDEXES_FOLDER
See Also:
Constant Field Values

UDB_INDEX

public static final int UDB_INDEX
See Also:
Constant Field Values

UDB_CONNECTIONS_FOLDER

public static final int UDB_CONNECTIONS_FOLDER
Deprecated. UDB Connections Folder object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

UDB_CONNECTION

public static final int UDB_CONNECTION
Deprecated. UDB Connection object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

UDB_REPLICATION_SOURCES_FOLDER

public static final int UDB_REPLICATION_SOURCES_FOLDER
Deprecated. UDB Replication Sources Folder object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

UDB_REPLICATION_SOURCE

public static final int UDB_REPLICATION_SOURCE
Deprecated. UDB Replication Source object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

UDB_REPLICATION_SUBSCRIPTIONS_FOLDER

public static final int UDB_REPLICATION_SUBSCRIPTIONS_FOLDER
Deprecated. UDB Replication Subscriptions Folder object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

UDB_REPLICATION_SUBSCRIPTION

public static final int UDB_REPLICATION_SUBSCRIPTION
Deprecated. UDB Replication Subscription object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

UDB_BUFFERPOOLS_FOLDER

public static final int UDB_BUFFERPOOLS_FOLDER
See Also:
Constant Field Values

UDB_BUFFERPOOL

public static final int UDB_BUFFERPOOL
See Also:
Constant Field Values

UDB_APPLICATION_OBJECTS_FOLDER

public static final int UDB_APPLICATION_OBJECTS_FOLDER
See Also:
Constant Field Values

UDB_USER_DEFINED_DISTINCT_DATATYPES_FOLDER

public static final int UDB_USER_DEFINED_DISTINCT_DATATYPES_FOLDER
See Also:
Constant Field Values

UDB_USER_DEFINED_DISTINCT_DATATYPE

public static final int UDB_USER_DEFINED_DISTINCT_DATATYPE
See Also:
Constant Field Values

UDB_USER_DEFINED_DISTINCT_FUNCTIONS_FOLDER

public static final int UDB_USER_DEFINED_DISTINCT_FUNCTIONS_FOLDER
UDB User Defined Functions Folder object type

See Also:
Constant Field Values

UDB_USER_DEFINED_DISTINCT_FUNCTION

public static final int UDB_USER_DEFINED_DISTINCT_FUNCTION
UDB User Defined Function object type

See Also:
Constant Field Values

UDB_PACKAGES_FOLDER

public static final int UDB_PACKAGES_FOLDER
See Also:
Constant Field Values

UDB_PACKAGE

public static final int UDB_PACKAGE
See Also:
Constant Field Values

UDB_STORE_PROCEDURES_FOLDER

public static final int UDB_STORE_PROCEDURES_FOLDER
See Also:
Constant Field Values

UDB_STORE_PROCEDURE

public static final int UDB_STORE_PROCEDURE
See Also:
Constant Field Values

UDB_USER_AND_GROUP_OBJECTS_FOLDER

public static final int UDB_USER_AND_GROUP_OBJECTS_FOLDER
See Also:
Constant Field Values

UDB_DB_USERS_FOLDER

public static final int UDB_DB_USERS_FOLDER
See Also:
Constant Field Values

UDB_DB_USER

public static final int UDB_DB_USER
See Also:
Constant Field Values

UDB_DB_GROUPS_FOLDER

public static final int UDB_DB_GROUPS_FOLDER
See Also:
Constant Field Values

UDB_DB_GROUP

public static final int UDB_DB_GROUP
See Also:
Constant Field Values

UDB_DRDA_TABLES_FOLDER

public static final int UDB_DRDA_TABLES_FOLDER
See Also:
Constant Field Values

UDB_DRDA_TABLE

public static final int UDB_DRDA_TABLE
See Also:
Constant Field Values

UDB_NODEGROUPS_FOLDER

public static final int UDB_NODEGROUPS_FOLDER
UDB Database Partition Groups Folder object type

See Also:
Constant Field Values

UDB_NODEGROUP

public static final int UDB_NODEGROUP
UDB Database Partition Group object type

See Also:
Constant Field Values

S390_SUBSYSTEMS_FOLDER

public static final int S390_SUBSYSTEMS_FOLDER
See Also:
Constant Field Values

S390_SUBSYSTEM

public static final int S390_SUBSYSTEM
See Also:
Constant Field Values

S390_BUFFERPOOLS_FOLDER

public static final int S390_BUFFERPOOLS_FOLDER
See Also:
Constant Field Values

S390_BUFFERPOOL

public static final int S390_BUFFERPOOL
See Also:
Constant Field Values

S390_VIEWS_FOLDER

public static final int S390_VIEWS_FOLDER
See Also:
Constant Field Values

S390_VIEW

public static final int S390_VIEW
See Also:
Constant Field Values

S390_DATABASES_FOLDER

public static final int S390_DATABASES_FOLDER
See Also:
Constant Field Values

S390_DATABASE

public static final int S390_DATABASE
See Also:
Constant Field Values

S390_TABLESPACES_FOLDER

public static final int S390_TABLESPACES_FOLDER
See Also:
Constant Field Values

S390_TABLESPACE

public static final int S390_TABLESPACE
See Also:
Constant Field Values

S390_TABLES_FOLDER

public static final int S390_TABLES_FOLDER
See Also:
Constant Field Values

S390_TABLE

public static final int S390_TABLE
See Also:
Constant Field Values

S390_INDEXS_FOLDER

public static final int S390_INDEXS_FOLDER
See Also:
Constant Field Values

S390_INDEX

public static final int S390_INDEX
See Also:
Constant Field Values

S390_STORAGE_GROUPS_FOLDER

public static final int S390_STORAGE_GROUPS_FOLDER
See Also:
Constant Field Values

S390_STORAGE_GROUP

public static final int S390_STORAGE_GROUP
See Also:
Constant Field Values

S390_ALIASES_FOLDER

public static final int S390_ALIASES_FOLDER
See Also:
Constant Field Values

S390_ALIAS

public static final int S390_ALIAS
See Also:
Constant Field Values

S390_SYNONYMS_FOLDER

public static final int S390_SYNONYMS_FOLDER
See Also:
Constant Field Values

S390_SYNONYM

public static final int S390_SYNONYM
See Also:
Constant Field Values

S390_APPLICATION_OBJECTS_FOLDER

public static final int S390_APPLICATION_OBJECTS_FOLDER
See Also:
Constant Field Values

S390_COLLECTIONS_FOLDER

public static final int S390_COLLECTIONS_FOLDER
See Also:
Constant Field Values

S390_COLLECTION

public static final int S390_COLLECTION
See Also:
Constant Field Values

S390_PACKAGES_FOLDER

public static final int S390_PACKAGES_FOLDER
See Also:
Constant Field Values

S390_PACKAGE

public static final int S390_PACKAGE
See Also:
Constant Field Values

S390_PLANS_FOLDER

public static final int S390_PLANS_FOLDER
See Also:
Constant Field Values

S390_PLAN

public static final int S390_PLAN
See Also:
Constant Field Values

S390_PROCEDURES_FOLDER

public static final int S390_PROCEDURES_FOLDER
See Also:
Constant Field Values

S390_PROCEDURE

public static final int S390_PROCEDURE
See Also:
Constant Field Values

S390_DB_USERS_FOLDER

public static final int S390_DB_USERS_FOLDER
See Also:
Constant Field Values

S390_DB_USER

public static final int S390_DB_USER
See Also:
Constant Field Values

S390_LOCATIONS_FOLDER

public static final int S390_LOCATIONS_FOLDER
See Also:
Constant Field Values

S390_LOCATION

public static final int S390_LOCATION
See Also:
Constant Field Values

S390_DISTINCT_TYPES_FOLDER

public static final int S390_DISTINCT_TYPES_FOLDER
See Also:
Constant Field Values

S390_DISTINCT_TYPE

public static final int S390_DISTINCT_TYPE
See Also:
Constant Field Values

S390_USER_DEFINED_FUNCTIONS_FOLDER

public static final int S390_USER_DEFINED_FUNCTIONS_FOLDER
See Also:
Constant Field Values

S390_USER_DEFINED_FUNCTION

public static final int S390_USER_DEFINED_FUNCTION
See Also:
Constant Field Values

S390_TRIGGERS_FOLDER

public static final int S390_TRIGGERS_FOLDER
See Also:
Constant Field Values

S390_TRIGGER

public static final int S390_TRIGGER
See Also:
Constant Field Values

S390_SCHEMAS_FOLDER

public static final int S390_SCHEMAS_FOLDER
See Also:
Constant Field Values

S390_SCHEMA

public static final int S390_SCHEMA
See Also:
Constant Field Values

S390_CATALOG_TABLES_FOLDER

public static final int S390_CATALOG_TABLES_FOLDER
See Also:
Constant Field Values

S390_CATALOG_TABLE

public static final int S390_CATALOG_TABLE
See Also:
Constant Field Values

DCS_GATEWAY_CONNECTIONS_FOLDER

public static final int DCS_GATEWAY_CONNECTIONS_FOLDER
Deprecated. DCS Gateway Connections Folder object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

DCS_GATEWAY_CONNECTION

public static final int DCS_GATEWAY_CONNECTION
Deprecated. DCS Gateway Connection object type (as of version 8.1 of DB2)

See Also:
Constant Field Values

S390_UTILITY_OBJECTS_FOLDER

public static final int S390_UTILITY_OBJECTS_FOLDER
See Also:
Constant Field Values

S390_DATASET_TEMPLATES_FOLDER

public static final int S390_DATASET_TEMPLATES_FOLDER
See Also:
Constant Field Values

S390_DATASET_TEMPLATE

public static final int S390_DATASET_TEMPLATE
See Also:
Constant Field Values

S390_UTILITY_LISTS_FOLDER

public static final int S390_UTILITY_LISTS_FOLDER
See Also:
Constant Field Values

S390_UTILITY_LIST

public static final int S390_UTILITY_LIST
See Also:
Constant Field Values

S390_UTILITY_PROCEDURES_FOLDER

public static final int S390_UTILITY_PROCEDURES_FOLDER
See Also:
Constant Field Values

S390_UTILITY_PROCEDURE

public static final int S390_UTILITY_PROCEDURE
See Also:
Constant Field Values

UDB_USER_DEFINED_METHOD

public static final int UDB_USER_DEFINED_METHOD
See Also:
Constant Field Values

UDB_USER_DEFINED_METHODS_FOLDER

public static final int UDB_USER_DEFINED_METHODS_FOLDER
See Also:
Constant Field Values

UDB_USER_DEFINED_STRUCTURED_DATATYPE

public static final int UDB_USER_DEFINED_STRUCTURED_DATATYPE
See Also:
Constant Field Values

UDB_USER_DEFINED_STRUCTURED_DATATYPES_FOLDER

public static final int UDB_USER_DEFINED_STRUCTURED_DATATYPES_FOLDER
See Also:
Constant Field Values

UDB_CTEINDEXES_FOLDER

public static final int UDB_CTEINDEXES_FOLDER
Deprecated. UDB Text Indexes Folder object type (deprecated as of version 8.2 of DB2, replaced by base index folder - UDB_INDEXES_FOLDER )

See Also:
Constant Field Values

UDB_CTEINDEX

public static final int UDB_CTEINDEX
UDB Text Index object type

See Also:
Constant Field Values

UDB_EVENT_MONITORS_FOLDER

public static final int UDB_EVENT_MONITORS_FOLDER
See Also:
Constant Field Values

UDB_EVENT_MONITOR

public static final int UDB_EVENT_MONITOR
See Also:
Constant Field Values

UDB_FEDERATED_DATABASE_OBJECTS_FOLDER

public static final int UDB_FEDERATED_DATABASE_OBJECTS_FOLDER
UDB Federated Database Objects Folder object type

See Also:
Constant Field Values

UDB_FEDERATED_DATABASE_OBJECT

public static final int UDB_FEDERATED_DATABASE_OBJECT
UDB Federated Database Object (Wrapper) object type

See Also:
Constant Field Values

UDB_FEDERATED_SERVERS_FOLDER

public static final int UDB_FEDERATED_SERVERS_FOLDER
See Also:
Constant Field Values

UDB_FEDERATED_SERVER

public static final int UDB_FEDERATED_SERVER
See Also:
Constant Field Values

UDB_FEDERATED_USER_MAPPINGS_FOLDER

public static final int UDB_FEDERATED_USER_MAPPINGS_FOLDER
See Also:
Constant Field Values

UDB_FEDERATED_USER_MAPPING

public static final int UDB_FEDERATED_USER_MAPPING
See Also:
Constant Field Values

UDB_FEDERATED_NICKNAMES_FOLDER

public static final int UDB_FEDERATED_NICKNAMES_FOLDER
See Also:
Constant Field Values

UDB_FEDERATED_NICKNAME

public static final int UDB_FEDERATED_NICKNAME
See Also:
Constant Field Values

UDB_FEDERATED_REMOTE_TABLES_FOLDER

public static final int UDB_FEDERATED_REMOTE_TABLES_FOLDER
See Also:
Constant Field Values

UDB_FEDERATED_REMOTE_TABLE

public static final int UDB_FEDERATED_REMOTE_TABLE
See Also:
Constant Field Values

S390_DATASETS_FOLDER

public static final int S390_DATASETS_FOLDER
S390 Data Sets Folder object type

See Also:
Constant Field Values

S390_DATASET

public static final int S390_DATASET
S390 Data Set object type

See Also:
Constant Field Values

UDB_CACHE_OBJECTS_FOLDER

public static final int UDB_CACHE_OBJECTS_FOLDER
See Also:
Constant Field Values

UDB_CACHE_TABLES_FOLDER

public static final int UDB_CACHE_TABLES_FOLDER
See Also:
Constant Field Values

UDB_CACHE_TABLE

public static final int UDB_CACHE_TABLE
See Also:
Constant Field Values

UDB_MQTS_FOLDER

public static final int UDB_MQTS_FOLDER
UDB Materialized Query Table Folder object type

See Also:
Constant Field Values

UDB_MQT

public static final int UDB_MQT
UDB Materialized Query Table object type

See Also:
Constant Field Values

UDB_FEDERATED_VIEWS_FOLDER

public static final int UDB_FEDERATED_VIEWS_FOLDER
See Also:
Constant Field Values

UDB_XSROBJECT

public static final int UDB_XSROBJECT
See Also:
Constant Field Values

UDB_XMLREPOSITORY_FOLDER

public static final int UDB_XMLREPOSITORY_FOLDER
See Also:
Constant Field Values

UDB_FEDERATED_STORED_PROCEDURES_FOLDER

public static final int UDB_FEDERATED_STORED_PROCEDURES_FOLDER
UDB Federated Stored Procedures Folder

See Also:
Constant Field Values

UDB_FEDERATED_STORED_PROCEDURE

public static final int UDB_FEDERATED_STORED_PROCEDURE
UDB Federated Stored Procedure

See Also:
Constant Field Values

NUM_OBJECT_TYPES

public static final int NUM_OBJECT_TYPES
Total number of object types

See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Get the name of this object.

This method returns the name of this object.

If this CCObject represents a new plugin object type, getName returns the name of the new object.

If this CCObject represents an existing Control Center object type, the name returned by getName determines which objects of this object type are affected. In this case, the name can be one of three types:

  1. Fully qualified name

    Syntax: xxxxx-yyyyy-zzzzz

    where xxxxx-yyyyy is the fully qualified name of the parent object and zzzzz is the name of the new object.

    Note: Parent and child object names are separated by a '-' character. If a schema name is required to identify the object, the fully qualified name is represented by xxxxx-yyyyy-wwwww.zzzzz where wwwww is the schema name. Only the behavior of the object that matches this fully qualified name will be affected.

  2. Parent fully qualified name

    Syntax: xxxxx-yyyyy

    where xxxxx-yyyyy is the fully qualified name of the parent object.

    When the object type is a folder (for example UDB_DATABASES_FOLDER), the getName() should only return the fully qualified name of the folder's parent. Only the behavior of the object that matches this name and the specific type returned by the getType() function will be affected.

  3. null Syntax: null If null is returned, the CCMenuActions returned by the getMenuActions() call will be applied to all objects of the type returned by getType().

Returns:
the object name

getType

public int getType()
Get the type of this object. To represent an existing Control Center object type, return one of the type constants defined in this interface. For new plugin objects, use the CCTypeFactory to get a unique type and return that type.

Returns:
the object type.

getMenuActions

public CCMenuAction[] getMenuActions()
Get the CCMenuAction array which defines the list of menu actions to be created for this object

Returns:
a CCMenuAction array

isEditable

public boolean isEditable()
Deprecated. This method is deprecated as of the version 8.1 of DB2.

Check if this object is editable. If not, the Alter/Change related menu items will be removed from the object's popup menu

Returns:
false to remove the Alter or Change menu items from the object's popup menu. Otherwise, return true to leave the Control Center behaviour unchanged.

isConfigurable

public boolean isConfigurable()
Deprecated. This method is deprecated as of the version 8.1 of DB2.

Check if this object is configurable. If false, the configuration related menu items will be removed from the object's popup menu. Note that this function is available for UDB_DATABASE and UDB_INSTANCE object types only.

Returns:
false to remove the Configuration related menu item from the object's popup menu. Otherwise, return true to leave the Control Center behaviour unchanged.

IBM DB2 UDB
Plugin Interface
for Extending the Control Center

(C)Copyright IBM Corp. 2002, 2004. All rights reserved.

Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.