IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); Permissions p = new Permissions().applyMask(perms); copy.getDetails().setPermissions(p); iUpdate.saveObject(copy);
    public void changePermissions(IObject iObject, Permissions perms)    {        // TODO Auto-generated method stub            }