Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CosTradingRepos::ServiceTypeRepository Interface Reference

This interface manages trader service types. More...

import "CosTradingRepos.idl";

List of all members.

Public Types

typedef sequence< CosTrading::ServiceTypeNameServiceTypeNameSeq
typedef sequence< PropStructPropStructSeq
typedef CosTrading::Istring Identifier
enum  PropertyMode { PROP_NORMAL, PROP_READONLY, PROP_MANDATORY, PROP_MANDATORY_READONLY }
 This enum determines the type of a property associated with a service type. More...

enum  ListOption { all, since }
 This enum determines which properties to return in a list operation. More...


Public Methods

IncarnationNumber add_type (in CosTrading::ServiceTypeName name, in Identifier if_name, in PropStructSeq props, in ServiceTypeNameSeq super_types) raises ( CosTrading::IllegalServiceType, ServiceTypeExists, InterfaceTypeMismatch, CosTrading::IllegalPropertyName, CosTrading::DuplicatePropertyName, ValueTypeRedefinition, CosTrading::UnknownServiceType, DuplicateServiceTypeName )
 This operation adds a new service type to the repository. More...

void remove_type (in CosTrading::ServiceTypeName name) raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, HasSubTypes )
 This operation removes a service type from the repository. More...

ServiceTypeNameSeq list_types (in SpecifiedServiceTypes which_types)
 This operation returns a sequence of supported service type names. More...

TypeStruct describe_type (in CosTrading::ServiceTypeName name) raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType )
 This operation returns a sservice type description for a named service type. More...

TypeStruct fully_describe_type (in CosTrading::ServiceTypeName name) raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType )
 This operation returns a sservice type description for a named service type. More...

void mask_type (in CosTrading::ServiceTypeName name) raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, AlreadyMasked )
 This operation masks a service type. More...

void unmask_type (in CosTrading::ServiceTypeName name) raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, NotMasked )
 This operation unmasks a service type. More...


Public Attributes

readonly attribute IncarnationNumber incarnation
 This is the current inncarnation number for the repository. More...


Detailed Description

This interface manages trader service types.

Operations exist to create, delete, modify and query service types.


Member Typedef Documentation

typedef CosTrading::Istring CosTradingRepos::ServiceTypeRepository::Identifier
 

typedef sequence<PropStruct> CosTradingRepos::ServiceTypeRepository::PropStructSeq
 

typedef sequence<CosTrading::ServiceTypeName> CosTradingRepos::ServiceTypeRepository::ServiceTypeNameSeq
 


Member Enumeration Documentation

enum CosTradingRepos::ServiceTypeRepository::ListOption
 

This enum determines which properties to return in a list operation.

 all - List all properties.
 since - List only properties after a certain incarnation.
 
Enumeration values:
all 
since 

enum CosTradingRepos::ServiceTypeRepository::PropertyMode
 

This enum determines the type of a property associated with a service type.

 PROP_NORMAL - Default property type.
 PROP_READONLY - A read-only property that cannot be changed.
 PROP_MANDATORY - A mandatory property that must be supplied.
 PROP_MANDATORY_READONLY - A mandatory readonly property.
 
Enumeration values:
PROP_NORMAL 
PROP_READONLY 
PROP_MANDATORY 
PROP_MANDATORY_READONLY 


Member Function Documentation

IncarnationNumber CosTradingRepos::ServiceTypeRepository::add_type in CosTrading::ServiceTypeName    name,
in Identifier    if_name,
in PropStructSeq    props,
in ServiceTypeNameSeq    super_types
raises ( CosTrading::IllegalServiceType, ServiceTypeExists, InterfaceTypeMismatch, CosTrading::IllegalPropertyName, CosTrading::DuplicatePropertyName, ValueTypeRedefinition, CosTrading::UnknownServiceType, DuplicateServiceTypeName )
 

This operation adds a new service type to the repository.

Returns:
- The incarnation number of the new service type.
Parameters:
name  - The name of the new service type.
if_name  - The name of the interface providing this service.
props  - The sequence of properties associated with the service.
super_types  - The sequence of super types for the service.
@raises CosTrading::IllegalServiceType - If the format of the service type name is invalid. @raises ServiceTypeExists - If the service type already exists. @raises InterfaceTypeMismatch - If the service interface is not a super type of the service super types interfaces. @raises CosTrading::IllegalPropertyName - If the format of a property name is invalid. @raises CosTrading::DuplicatePropertyName - If dumplcate property names are specified. @raises ValueTypeRedefinition - If service super types have duplicate properties with differing types. @raises CosTrading::UnknownServiceType - If the service type is not recognised. @raises DuplicateServiceTypeName - If two service supertypes have the same name.

TypeStruct CosTradingRepos::ServiceTypeRepository::describe_type in CosTrading::ServiceTypeName    name raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType )
 

This operation returns a sservice type description for a named service type.

Super type information is not included.

Returns:
- A service type description structure.
Parameters:
name  - The service type name.
@raises CosTrading::IllegalServiceType - If the format of the service type name is invalid. @raises CosTrading::UnknownServiceType - If the service type name is not recognised.

TypeStruct CosTradingRepos::ServiceTypeRepository::fully_describe_type in CosTrading::ServiceTypeName    name raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType )
 

This operation returns a sservice type description for a named service type.

Super type information is included.

Returns:
- A service type description structure.
Parameters:
name  - The service type name.
@raises CosTrading::IllegalServiceType - If the format of the service type name is invalid. @raises CosTrading::UnknownServiceType - If the service type name is not recognised.

ServiceTypeNameSeq CosTradingRepos::ServiceTypeRepository::list_types in SpecifiedServiceTypes    which_types
 

This operation returns a sequence of supported service type names.

Returns:
- A seqwuence of service type names.
Parameters:
which_types  - Which service types to return.

void CosTradingRepos::ServiceTypeRepository::mask_type in CosTrading::ServiceTypeName    name raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, AlreadyMasked )
 

This operation masks a service type.

A masked type can no longer be used ouside the repository.

Parameters:
name  - The service type name.
@raises CosTrading::IllegalServiceType - If the format of the service type name is invalid. @raises CosTrading::UnknownServiceType - If the service type name is not recognised. @raises AlreadyMasked - If the service type is already masked.

void CosTradingRepos::ServiceTypeRepository::remove_type in CosTrading::ServiceTypeName    name raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, HasSubTypes )
 

This operation removes a service type from the repository.

Parameters:
name  - The name of the service type.
@raises CosTrading::IllegalServiceType - If the format of the service type name is invalid. @raises CosTrading::UnknownServiceType - If the service type name is not recognised. @raises HasSubTypes - If the service type has sub types.

void CosTradingRepos::ServiceTypeRepository::unmask_type in CosTrading::ServiceTypeName    name raises ( CosTrading::IllegalServiceType, CosTrading::UnknownServiceType, NotMasked )
 

This operation unmasks a service type.

The service must previously have been masked.

Parameters:
name  - The service type name.
@raises CosTrading::IllegalServiceType - If the format of the service type name is invalid. @raises CosTrading::UnknownServiceType - If the service type name is not recognised. @raises NotMasked - If the service type was not masked.


Member Data Documentation

readonly attribute IncarnationNumber CosTradingRepos::ServiceTypeRepository::incarnation
 

This is the current inncarnation number for the repository.