Method Summary
All Methods Instance Methods Abstract Methods
void
Apply fn to all elements of the graph for which the user has the permissions.
Retrieve an iterator on the list for which the user has the specified
permissions.
Execute a reduct function across the list.
Methods inherited from interface org.apache.jena.rdf.model.RDFList
add , append , append , apply , asJavaList , concatenate , concatenate , cons , contains , copy , get , getHead , getStrict , getTail , getValidityErrorMessage , indexOf , indexOf , isEmpty , isValid , iterator , mapWith , reduce , remove , removeHead , removeList , replace , sameListAs , setHead , setStrict , setTail , size , with
Methods inherited from interface org.apache.jena.rdf.model.RDFNode
as , asLiteral , asResource , canAs , getModel , isAnon , isLiteral , isResource , isStmtResource , isURIResource , visitWith
Methods inherited from interface org.apache.jena.rdf.model.Resource
abort , addLiteral , addLiteral , addLiteral , addLiteral , addLiteral , addLiteral , addLiteral , addProperty , addProperty , addProperty , addProperty , begin , commit , equals , getId , getLocalName , getNameSpace , getProperty , getProperty , getPropertyResourceValue , getRequiredProperty , getRequiredProperty , getStmtTerm , getURI , hasLiteral , hasLiteral , hasLiteral , hasLiteral , hasLiteral , hasLiteral , hasProperty , hasProperty , hasProperty , hasProperty , hasURI , inModel , listProperties , listProperties , listProperties , removeAll , removeProperties , toString
Methods inherited from interface org.apache.jena.permissions.SecuredItem
canCreate , canCreate , canCreate , canDelete , canDelete , canDelete , canRead , canRead , canRead , canUpdate , canUpdate , canUpdate , equals , getBaseItem , getModelIRI , getModelNode , getSecurityEvaluator , isEquivalent
Method Details
apply
Apply fn to all elements of the graph for which the user has the permissions.
Parameters:
perms
- The permissions the user must have on the items in the list.
fn
- The function to apply.
Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is
required to be.
Required graph permissions:
Read
Required triple permissions:
Read and constraints
iterator
Retrieve an iterator on the list for which the user has the specified
permissions.
Parameters:
constraints
- the permissions required for the user to access the node.
Returns:
an iterator on the items.
Throws:
ReadDeniedException
AuthenticationRequiredException
- if user is not authenticated and is
required to be.
Required graph permissions:
Read - if SecurityEvaluator.isHardReadError()
is true and
the user does not have read access then an empty iterator is
returned.
Required triple permissions:
Read for triple containing value to be included in the result.
reduce
Execute a reduct function across the list.
Parameters:
requiredActions
- the permission set required to execute the reduce.
fn
- the reduction function.
initial
- the initial accumulation value.
Returns:
the accumulator after execution.
Throws:
ReadDeniedException
EmptyListException
ListIndexException
InvalidListException
AuthenticationRequiredException
- if user is not authenticated and is
required to be.
Required graph permissions:
Read - Only readable triples will be passed to the function. if
SecurityEvaluator.isHardReadError()
is true and the user
does not have read access then no items will be passed to the
function.
Required triple permissions:
Read for triple containing value to be included in the result., Read for triple containing value.