KbIdentificationService Object Services | 9 | ![]() |
The KbIdentificationService module is defined in the file named:
It's version information is:
$Id: KbIdentificationService.idl,v 1.45 1997-08-07 17:03:14-04 wlf Exp $
It is defined in the Java package named:
org.cert.KbIdentificationService
module KbIdentificationService
{
Forward declarations:
interface IdentificationFactory;
interface OrganizationalUnit;
interface Person;
interface SocialGrouping;
interface User;
Sequence declarations:
typedef sequence<IdentificationFactory> SeqOfIdentificationFactory;
typedef sequence<OrganizationalUnit> SeqOfOrganizationalUnit;
typedef sequence<Person> SeqOfPerson;
typedef sequence<SocialGrouping> SeqOfSocialGrouping;
typedef sequence<User> SeqOfUser;
interface User {
};
Note: '$' is used as a line separator when required, as specified in the LDIF draft.
struct PostalAddress {
attention is an attribute for specifying optional local delivery information (like room number and name, ...)
string attention;
The street is the portion of the mailing address representing the PO box, house number, or other building designator.
string street;
city is used to store the city or locality name.
string city;
State or province
string state;
The postal_code attribute is used to specify the zip code or other postal code
string postal_code;
The country attribute is used to specify the country in which the target address is located.
string country;
};
interface SocialGrouping {
attribute string name;
Electronic mail address
attribute string email;
General comment(s) on person or organization.
attribute string description;
Telephone number for fax transmissions.
attribute string office_fax;
Telephone number for conversations w/ humans.
attribute string office_phone;
attribute PostalAddress office_postal;
};
interface OrganizationalUnit : SocialGrouping {
};
interface Person : SocialGrouping {
An electronic mail for personal correspondence.
attribute string home_email;
Telephone number of residence
attribute string home_phone;
attribute PostalAddress home_postal;
};
typedef sequence<Person> Persons;
enum PhoneNumberType
{
unknown,
voice,
fax,
data,
numeric_pager,
alphanumeric_pager,
mobile
};
typedef sequence<Person> OrganizationalUnits;
interface IdentificationFactory {
readonly attribute
KosCollection::Set
/*
of
OrganizationalUnit
*/
OrganizationalUnit_role;
readonly attribute
KosCollection::Set /* of Person */ Person_role;
OrganizationalUnit create_organizational_unit(
in string name
);
void delete_organizational_unit(
in OrganizationalUnit p
);
void find_organization_by_name(
in string name,
out OrganizationalUnits organizations
);
Person create_person(
in string name
);
void delete_person(
in Person p
);
void find_person_by_name(
in string name,
out Persons people
);
void find_person_by_phone(
in string phone,
in PhoneNumberType phone_type,
out Persons people
);
};
};