true
if READ permission is granted for the existing item with the given Path
and/or ItemId
. This method acts as shortcut for {@link #grants(Path,int)} wherepermissions is {@link Permission#READ} and allows to shorten theevaluation time given the fact that a check for READ permissions is considered to be the most frequent test.null
it is left to the implementation which parameter to use.n
@param itemPath The path to the item or null
if the IDshould be used to determine the READ permission.
@param itemId The itemId or null
if the path should beused to determine the READ permission.
@return true
if the READ permission is granted.
@throws RepositoryException If no item exists with the specified path oritemId or if some other error occurs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|