e.getDetails().setPermissions( Permissions.IMMUTABLE );
e.getDetails().setPermissions( Permissions.READ_ONLY );
    public static void newEvent(EventType type, Token token) // TODO keep up with stack here?    {        Event e = new Event();        e.setType(type);        e.setTime(new Timestamp(System.currentTimeMillis()));        e.getGraphHolder().setToken(token, token);        e.getDetails().setPermissions( Permissions.IMMUTABLE );        setCreationEvent(e);    }