Package org.platformlayer

Examples of org.platformlayer.UntypedItemXml.serialize()


    MappedPlatformLayerKey mapped = mapToChildForPut(key);

    UntypedItemXml untypedItem = UntypedItemXml.build(data);
    untypedItem.setPlatformLayerKey(mapped.key);

    UntypedItem item = mapped.child.client.putItem(mapped.key, untypedItem.serialize(), format);

    return mapped.child.setHost(item);
  }

  @Override
View Full Code Here


    MappedPlatformLayerKey mapped = mapToChildForPut(key);

    UntypedItemXml post = UntypedItemXml.build(data);
    post.setPlatformLayerKey(mapped.key);

    UntypedItem item = mapped.child.client.putItemByTag(mapped.key, uniqueTag, post.serialize(), format);
    return mapped.child.setHost(item);
  }

  @Override
  public UntypedItemCollection listChildren(PlatformLayerKey parent, boolean includeDeleted)
View Full Code Here

    }
    linkList.add(link);

    item.setLinks(links);

    String xml = item.serialize();

    UntypedItemXml updated = (UntypedItemXml) client.putItem(resolved, xml, Format.XML);

    return updated.getLinks().getLinks();
  }
View Full Code Here

    UntypedItemXml item = (UntypedItemXml) client.getItemUntyped(resolved, Format.XML);

    changeItem(item);

    String xml = item.serialize();

    UntypedItemXml updated = (UntypedItemXml) client.putItem(resolved, xml, Format.XML);

    return updated;
  }
View Full Code Here

    if (existing != null) {
      linkList.remove(existing);

      item.setLinks(links);

      String xml = item.serialize();

      UntypedItemXml updated = (UntypedItemXml) client.putItem(resolved, xml, Format.XML);

      return updated.getLinks().getLinks();
    } else {
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.