Examples of listItemsUntyped()


Examples of org.platformlayer.PlatformLayerClient.listItemsUntyped()

  protected List<String> listItems(CliContext context, String itemType) throws PlatformLayerClientException {
    PlatformLayerClient client = getPlatformLayerClient(context);
    PlatformLayerKey key = PlatformLayerCommandRunnerBase.pathToKey(client, itemType);

    List<String> items = Lists.newArrayList();
    for (UntypedItem item : client.listItemsUntyped(key).getItems()) {
      items.add(item.getKey().getItemId().getKey());
    }
    return items;
  }
}
View Full Code Here

Examples of org.platformlayer.PlatformLayerClient.listItemsUntyped()

  public Object runCommand() throws PlatformLayerClientException {
    PlatformLayerClient client = getPlatformLayerClient();

    PlatformLayerKey key = pathToKey(client, path);

    return client.listItemsUntyped(key);
  }

  @Override
  public AutoCompletor getAutoCompleter() {
    return new SimpleAutoCompleter(new AutoCompleteItemType());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.