Determines whether the specified permissions are granted on the item with the specified id (i.e. the target item).
@param id the id of the target item
@param permissions A combination of one or more of the following constantsencoded as a bitmask value:
READ
WRITE
REMOVE
@throws AccessDeniedException if permission is denied
@throws ItemNotFoundException if the target item does not exist
@throws RepositoryException it an error occurs
@deprecated
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.