org.openrdf.sesame.sailimpl.omm.security
Class Right

java.lang.Object
  extended byorg.openrdf.util.Enumeration
      extended byorg.openrdf.sesame.sailimpl.omm.security.Right
All Implemented Interfaces:
Serializable

public final class Right
extends Enumeration

This class lists all supported access right for the respository. It can be extended with any suitable additions, if necessary.

Title: Knowledge Control System

Company: OntoText Lab. Sirma AI.

Version:
1.0
Author:
damyan ognyanoff, borislav popov
See Also:
Serialized Form

Field Summary
static Right ADD
          permissions to add new items in the repository
static Right ADMIN
          permissions to view and manage the security information in the repository
static Right HISTORY
          permissions to manage the history in the repository
static Right READ
          permissions to read parts of the repository
static Right REMOVE
          permissions to remove items from the repository
 
Method Summary
static Right forValue(String value)
          Returns a Right constant for the specified value.
 
Methods inherited from class org.openrdf.util.Enumeration
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

READ

public static final Right READ
permissions to read parts of the repository


ADD

public static final Right ADD
permissions to add new items in the repository


REMOVE

public static final Right REMOVE
permissions to remove items from the repository


ADMIN

public static final Right ADMIN
permissions to view and manage the security information in the repository


HISTORY

public static final Right HISTORY
permissions to manage the history in the repository

Method Detail

forValue

public static Right forValue(String value)
Returns a Right constant for the specified value.

Parameters:
value - The String-representation of a Right constant.
Returns:
A Right object, or null if the specified value could not be resolved to a Right object.


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.