NAME

GLite::Data::FAS


DESCRIPTION

GLite::Data::FileCatalog module provides a Perl client library for the FAS 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 FAS 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::FAS->new('https://service.glite.org:8443/example');

addGUID(PermissionEntry[] permissions)
removeGUID(string[] guids)
checkPermission(string[] items, Perm perm)
PermissionEntry[] getPermission(string[] items)
setPermission(PermissionEntry[] permissions)
string getVersion()
string getSchemaVersion()
string getInterfaceVersion()
string getServiceMetadata(string key)


TYPES

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
    };
CatalogException
    my $myCatalogException = {
        message => 'string'
    };
InternalException
    my $myInternalException = new CatalogException (
        
    );
AuthorizationException
    my $myAuthorizationException = new CatalogException (
        
    );
ExistsException
    my $myExistsException = new CatalogException (
        
    );
NotExistsException
    my $myNotExistsException = new CatalogException (
        
    );
InvalidArgumentException
    my $myInvalidArgumentException = new CatalogException (
        
    );
ArrayOf_tns1_PermissionEntry
    my $myArrayOf_tns1_PermissionEntry = [ $myPermissionEntry1, $myPermissionEntry2, ... ];
ArrayOf_soapenc_string
    my $myArrayOf_soapenc_string = [ 'string1', 'string2', ...];


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.