public class Authorization
extends java.lang.Object
| Constructor | Description |
|---|---|
Authorization(org.apache.commons.rdf.api.BlankNodeOrIRI identifier,
org.apache.commons.rdf.api.Graph graph) |
Create an Authorization object from an RDF graph
|
| Modifier and Type | Method | Description |
|---|---|---|
static Authorization |
from(org.apache.commons.rdf.api.BlankNodeOrIRI identifier,
org.apache.commons.rdf.api.Graph graph) |
Create an Authorization object from a graph and an identifier
|
java.util.Set<org.apache.commons.rdf.api.IRI> |
getAccessTo() |
Retrieve the resource identifiers to which this Authorization applies
|
java.util.Set<org.apache.commons.rdf.api.IRI> |
getAgent() |
Retrieve the agents that are associated with this Authorization
|
java.util.Set<org.apache.commons.rdf.api.IRI> |
getAgentClass() |
Retrieve the agent classes that are associated with this Authorization
|
java.util.Set<org.apache.commons.rdf.api.IRI> |
getAgentGroup() |
Retrieve the agent groups that are associated with this Authorization
|
java.util.Set<org.apache.commons.rdf.api.IRI> |
getDefault() |
Retrieve the directories for which this authorization is used for new resources in the container
|
org.apache.commons.rdf.api.BlankNodeOrIRI |
getIdentifier() |
Retrieve the identifier for this Authorization
|
java.util.Set<org.apache.commons.rdf.api.IRI> |
getMode() |
Retrieve the access modes that are associated with this Authorization
|
public Authorization(org.apache.commons.rdf.api.BlankNodeOrIRI identifier,
org.apache.commons.rdf.api.Graph graph)
identifier - the subject IRIgraph - the RDF graphpublic static Authorization from(org.apache.commons.rdf.api.BlankNodeOrIRI identifier, org.apache.commons.rdf.api.Graph graph)
identifier - the identifiergraph - the graphpublic org.apache.commons.rdf.api.BlankNodeOrIRI getIdentifier()
public java.util.Set<org.apache.commons.rdf.api.IRI> getAgent()
public java.util.Set<org.apache.commons.rdf.api.IRI> getAgentClass()
public java.util.Set<org.apache.commons.rdf.api.IRI> getAgentGroup()
public java.util.Set<org.apache.commons.rdf.api.IRI> getMode()
public java.util.Set<org.apache.commons.rdf.api.IRI> getAccessTo()
public java.util.Set<org.apache.commons.rdf.api.IRI> getDefault()