class DocumentPermissions {

    public boolean areActionsAllowed(List<RequestedAction> actions) {
        boolean result = true;

        if (actions != null) {
            for (RequestedAction action : actions) {
                if (!isActionAllowed(action)) {
                    result = false;
                    break;
                }
            }
        }

        return result;
    }

    protected  DocumentPermissions(T document, User user);

}