|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.omm.security.Restriction
org.openrdf.sesame.sailimpl.omm.security.ResourceRestriction
ResourceRestriction.java
Title: Knowledge Control System
Company: OntoText Lab. Sirma AI.
| Field Summary |
| Fields inherited from class org.openrdf.sesame.sailimpl.omm.security.Restriction |
CLASSES, CLASSES_OVER_SCHEMA, CLASSES_OVER_SCHEMA_RESTRICTION, CLASSES_RESTRICTION, INSTANCES, INSTANCES_RESTRICTION, PATTERN, PATTERN_RESTRICTION, PROPERTIES, PROPERTIES_RESTRICTION, QUERY, QUERY_RESTRICTION, REPOSITORY, REPOSITORY_RESTRICTION, SCHEMA, SCHEMA_RESTRICTION |
| Constructor Summary | |
ResourceRestriction(int id,
int type,
String name,
String descr)
Create a Resource Restriction. |
|
| Method Summary | |
Set |
getResources()
retrieve the resources forming the restriction |
void |
setResources(Set resources)
Sets the resources that form this restriction. |
ArrayList |
toSql(Map idByLiteral,
Map idByRes)
Creates update queries over the restrictions, res_prop_restrs, query_restrs, pattern_restrs tables. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceRestriction(int id,
int type,
String name,
String descr)
id - id of the restriction.name - name of the restriction.descr - description of the restriction.| Method Detail |
public Set getResources()
public void setResources(Set resources)
throws NullParameterException
resources - the resources to be set to this restriction
NullParameterException - if the parameter is null
public ArrayList toSql(Map idByLiteral,
Map idByRes)
throws NullParameterException,
SecurityException
Restriction
toSql in class RestrictionNullParameterException
SecurityException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||