496497498499500501502503
*/ protected void checkCreate() { if (!canCreate()) { throw new AccessDeniedException(modelNode, Action.Create); } }
515516517518519520521522523
*/ protected void checkCreate( final SecTriple t ) { if (!canCreate(t)) { throw new AccessDeniedException(modelNode, t.toString(), Action.Create); } }
585586587588589590591592
*/ protected void checkDelete() { if (!canDelete()) { throw new AccessDeniedException(modelNode, Action.Delete); } }
604605606607608609610611612
*/ protected void checkDelete( final SecTriple t ) { if (!canDelete(t)) { throw new AccessDeniedException(modelNode, t.toString(), Action.Delete); } }
662663664665666667668669
*/ protected void checkRead() { if (!canRead()) { throw new AccessDeniedException(modelNode, Action.Read); } }
681682683684685686687688689
*/ protected void checkRead( final SecTriple t ) { if (!canRead(t)) { throw new AccessDeniedException(modelNode, t.toString(), Action.Read); } }
732733734735736737738739
*/ protected void checkUpdate() { if (!canUpdate()) { throw new AccessDeniedException(modelNode, Action.Update); } }
754755756757758759760761762
*/ protected void checkUpdate( final SecTriple from, final SecTriple to ) { if (!canUpdate(from, to)) { throw new AccessDeniedException(modelNode, String.format( "%s to %s", from, to), Action.Update); } }
364365366367368369370371372373374
protected void checkReadProperty( final Node p ) { if (!canReadProperty(p)) { throw new AccessDeniedException(getModelNode(), SecuredItemImpl .convert( new Triple(holder.getBaseItem().asNode(), p, Node.ANY)).toString(), Action.Read); } }
355356357358359360361362363364365