@Test void testNewAreaResourceTypeFromCurrentComponent() { context.create().resource("/apps/" + RESOURCE_TYPE_SAMPLE); context.create().resource("/apps/" + RESOURCE_TYPE_SAMPLE + "/" + NEWAREA_CHILD_NAME); WCMMode.EDIT.toRequest(context.request()); Parsys parsys = AdaptTo.notNull(context.request(), Parsys.class); List<Item> items = parsys.getItems(); Item item3 = items.get(2); assertEquals("/apps/" + RESOURCE_TYPE_SAMPLE + "/" + NEWAREA_CHILD_NAME, item3.getResourceType()); }
@JsonIgnore public List<Item> getItems() { return items; }
Parsys implements ContainerExporter { @JsonIgnore public List<Item> getItems() { return items; } }
Parsys implements ContainerExporter { @JsonIgnore public List<Item> getItems() { return items; }  }
Parsys implements ContainerExporter { @JsonIgnore public List<Item> getItems() { return items; }  @JsonIgnore List<Item> getItems(); @JsonIgnore String getWrapperElementName(); @JsonIgnore String getWrapperCss(); @JsonIgnore boolean isWrapperElement(); @Override @NotNull String getExportedType(); @Override @NotNull Map<String, ? extends ComponentExporter> getExportedItems(); @Override String @NotNull [] getExportedItemsOrder(); }
Parsys implements ContainerExporter { @JsonIgnore public List<Item> getItems() { return items; }  @JsonIgnore List<Item> getItems(); @JsonIgnore String getWrapperElementName(); @JsonIgnore String getWrapperCss(); @JsonIgnore boolean isWrapperElement(); @Override @NotNull String getExportedType(); @Override @NotNull Map<String, ? extends ComponentExporter> getExportedItems(); @Override String @NotNull [] getExportedItemsOrder();  }