static DocRefInfo getDocRefInfo(final Document document) {

        Objects.requireNonNull(document);

        return DocRefInfo
                .builder()
                .docRef(DocRef.builder()
                        .type(document.getType())
                        .uuid(document.getUuid())
                        .name(document.getName())
                        .build())
                .createTime(document.getCreateTimeMs())
                .createUser(document.getCreateUser())
                .updateTime(document.getUpdateTimeMs())
                .updateUser(document.getUpdateUser())
                .build();
    }
Retrieve the audit information for a particular doc ref

@param docRef The docRef to return the information for
@return The Audit information about the given DocRef.
stroom-docstore/stroom-docstore-api/src/main/java/stroom/docstore/api/DocumentActionHandler.java