Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::TableAuthorization Class Reference

#include <TableAuthorization.h>

List of all members.

Public Member Functions

 TableAuthorization (const TableAuthorization &auth)
TableAuthorizationoperator= (const TableAuthorization &auth)
int getNumRules ()
std::string getRule (int ruleNum)
void addRule (std::string rule)


Detailed Description

Authorization rules for a table.


Member Function Documentation

void glite::rgma::TableAuthorization::addRule std::string  rule  ) 
 

Adds a rule to this TableAuthorization. A rule consists of a view on a table (a parameterized SELECT statement) and a set of allowed credentials specifying which users can access the view, separated by a colon.

Parameters:
rule Rule

int glite::rgma::TableAuthorization::getNumRules  ) 
 

Gets the number of rules in this TableAuthorization.

Returns:
The number of rules.

std::string glite::rgma::TableAuthorization::getRule int  ruleNum  ) 
 

Gets the specified rule.

Parameters:
ruleNum Number of the rule to retrieve.
Returns:
Specified rule.


The documentation for this class was generated from the following files:
Generated on Fri Mar 16 14:00:16 2007 for glite-rgma-api-cpp by doxygen 1.3.5