org.glite.data.catalog.service.fas
Interface FAS

All Superinterfaces:
FASBase, ServiceBase

public interface FAS
extends FASBase

The middleware level API for File Access (or Authorization) Service.

Stereotype:
simple-interface

Method Summary
 void addGUID(PermissionEntry[] permissions)
          Adds a GUID with the given permissions {BasicPermission,ACL} for a given GUID.
 void removeGUID(java.lang.String[] guids)
          Remove GUID entries.
 
Methods inherited from interface org.glite.data.catalog.service.fas.FASBase
checkPermission, getPermission, setPermission
 
Methods inherited from interface org.glite.data.catalog.service.ServiceBase
getInterfaceVersion, getSchemaVersion, getServiceMetadata, getVersion
 

Method Detail

addGUID

public void addGUID(PermissionEntry[] permissions)
             throws InternalException,
                    AuthorizationException,
                    ExistsException
Adds a GUID with the given permissions {BasicPermission,ACL} for a given GUID.

Parameters:
permissions - - list of {guid, permission} pairs. The PermissionEntry object takes the GUID as its principal and a list of ACLs. This method sets the full permission, replacing all existing ACLs.
Throws:
AuthorizationException - Not allowed to insert a new GUID.
ExistsException - This GUID is already in the catalog.
InternalException

removeGUID

public void removeGUID(java.lang.String[] guids)
                throws InternalException,
                       AuthorizationException,
                       NotExistsException
Remove GUID entries.

Parameters:
guids - The GUIDs to remove.
Throws:
AuthorizationException - Not allowed to remove the GUID.
NotExistsException - This GUID does not exist in the catalog.
InternalException


Copyright © 2004 EU-EGEE