NAME

GLite::Data::MetadataSchema


DESCRIPTION

GLite::Data::FileCatalog module provides a Perl client library for the MetadataSchema interface.


METHODS

The methods die if there was a SOAP fault. The fault string and details are added to the die message.

new($URL)
Creates an MetadataSchema object, which is initialized with the approriate SOAP endpoint. If the URL uses https protocol, then it will do the HTTPS initialization (locating proxy certificate) as well.

Note: you have to include the VO name in the URL!

    my $srv = GLite::Data::MetadataSchema->new('https://service.glite.org:8443/example');

createSchema(string schemaName, Attribute[] attributes)
addSchemaAttributes(string schemaName, Attribute[] attributes)
removeSchemaAttributes(string schemaName, string[] attributeNames)
dropSchema(string schemaName)
string[] listSchemas()
Attribute[] describeSchema(string schemaName)
checkPermission(string[] items, Perm perm)
PermissionEntry[] getPermission(string[] items)
setPermission(PermissionEntry[] permissions)
string getVersion()
string getSchemaVersion()
string getInterfaceVersion()
string getServiceMetadata(string key)


TYPES

Attribute
    my $myAttribute = {
        name => 'string', 
        value => 'string', 
        type => 'string'
    };
CatalogException
    my $myCatalogException = {
        message => 'string'
    };
AuthorizationException
    my $myAuthorizationException = new CatalogException (
        
    );
ExistsException
    my $myExistsException = new CatalogException (
        
    );
InvalidArgumentException
    my $myInvalidArgumentException = new CatalogException (
        
    );
InternalException
    my $myInternalException = new CatalogException (
        
    );
NotExistsException
    my $myNotExistsException = new CatalogException (
        
    );
Perm
    my $myPerm = {
        permission => $myboolean, 
        remove => $myboolean, 
        read => $myboolean, 
        write => $myboolean, 
        list => $myboolean, 
        execute => $myboolean, 
        getMetadata => $myboolean, 
        setMetadata => $myboolean
    };
BasicPermission
    my $myBasicPermission = {
        userName => 'string', 
        groupName => 'string', 
        userPerm => $myPerm, 
        groupPerm => $myPerm, 
        otherPerm => $myPerm
    };
ACLEntry
    my $myACLEntry = {
        principalPerm => $myPerm, 
        principal => 'string'
    };
Permission
    my $myPermission = new BasicPermission (
        
    );
PermissionEntry
    my $myPermissionEntry = {
        item => 'string', 
        permission => $myPermission
    };
ArrayOf_tns1_Attribute
    my $myArrayOf_tns1_Attribute = [ $myAttribute1, $myAttribute2, ... ];
ArrayOf_soapenc_string
    my $myArrayOf_soapenc_string = [ 'string1', 'string2', ...];
ArrayOf_tns1_PermissionEntry
    my $myArrayOf_tns1_PermissionEntry = [ $myPermissionEntry1, $myPermissionEntry2, ... ];


SEE ALSO

the GLite::HTTPS manpage


AUTHORS

Copyright (c) 2004 CERN, on behalf of the EU EGEE project. For license conditions see LICENSE file or http://www.edg.org/license.html.