Get the draft posts for this blog
@param options the options (or null)
@return a List of posts
512421
public List<Post> draftPosts(Map<String, ?> options) {
        return client.blogDraftPosts(name, options);
    }
887500
public alluxio.grpc.ListStatusPOptions getOptions() {
    return options_ == null ? alluxio.grpc.ListStatusPOptions.getDefaultInstance() : options_;
  }
689667
public static function get_applicable_publish_states() {
        global $CFG;
        $options = array();

        // Everyone gets draft access.
        if ($CFG->bloglevel >= BLOG_USER_LEVEL) {
            $options['draft'] = get_string('publishtonoone', 'blog');
        }

        if ($CFG->bloglevel > BLOG_USER_LEVEL) {
            $options['site'] = get_string('publishtosite', 'blog');
        }

        if ($CFG->bloglevel >= BLOG_GLOBAL_LEVEL) {
            $options['public'] = get_string('publishtoworld', 'blog');
        }

        return $options;
    }
545588
public List<Option> getItems() {
        List<Option> selectedItems = new ArrayList<>(0);
        NodeList<OptionElement> items = selectElement.getOptions();
        for (int i = 0; i < items.getLength(); i++) {
            OptionElement item = items.getItem(i);
            Option option = itemMap.get(item);
            if (option != null)
                selectedItems.add(option);
        }
        return selectedItems;
    }
707075
@Override
  public String[] getOptions() {
    List<String>    	result;

    result = new ArrayList<String>();

    if (getDebug())
      result.add("-D");

    return result.toArray(new String[result.size()]);
  }
269367
public java.util.List<OptionGroup> getOptionGroupsList() {
        if (optionGroupsList == null) {
            optionGroupsList = new com.amazonaws.internal.SdkInternalList<OptionGroup>();
        }
        return optionGroupsList;
    }
1176442
def get_tags(self):
        
        posts = self.get_posts(include_draft=True)
        result = {}
        for post in posts:
            for tag_name in set(post.tags):
                result[tag_name] = result.setdefault(
                    tag_name, Pair(0, 0)) + Pair(1, 0 if post.is_draft else 1)
        return list(result.items())
1107640
public List<Post> userDashboard(Map<String, ?> options) {
        return requestBuilder.get("/user/dashboard", options).getPosts();
    }
1146976
def drafts(self):
        """"""
        pub = self.on_site().filter(status=self.model.DRAFT)
        if settings.PAGE_SHOW_START_DATE:
            pub = pub.filter(publication_date__gte=get_now())
        return pub
829770
public alluxio.grpc.CheckConsistencyPOptions getOptions() {
    return options_ == null ? alluxio.grpc.CheckConsistencyPOptions.getDefaultInstance() : options_;
  }
299867
public java.util.List<OptionGroupMembership> getOptionGroupMemberships() {
        if (optionGroupMemberships == null) {
            optionGroupMemberships = new com.amazonaws.internal.SdkInternalList<OptionGroupMembership>();
        }
        return optionGroupMemberships;
    }
1182491
public alluxio.grpc.GetUfsInfoPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetUfsInfoPOptions.getDefaultInstance() : options_;
  }
761633
static Options getCancelOptions(Options options) {
		options.addOption(ID_OPTION);
		options = getJobManagerAddressOption(options);
		return options;
	}
121279
def retrieve_posts(dir)
      return if outside_configured_directory?(dir)

      site.posts.docs.concat(post_reader.read_posts(dir))
      site.posts.docs.concat(post_reader.read_drafts(dir)) if site.show_drafts
    end
1060776
@Override
    public String[] getOptionValues() {
        String[] values = new String[valueOptions.size()];
        for (int i = 0; i < values.length; i++) {
            values[i] = valueOptions.get(i)[0];
        }
        return values;
    }
556892
public static rnat[] get(nitro_service service, options option) throws Exception{
		rnat obj = new rnat();
		rnat[] response = (rnat[])obj.get_resources(service,option);
		return response;
	}
1120269
public static ImmutableSet<OpenOption> getOptionsForOutputStream(OpenOption... options) {
    if (options.length == 0) {
      return DEFAULT_WRITE;
    }

    ImmutableSet<OpenOption> result = addWrite(Arrays.asList(options));
    if (result.contains(READ)) {
      throw new UnsupportedOperationException("'READ' not allowed");
    }
    return result;
  }