@Test public void findAssetWithProperty() throws Exception { findAsset(tx, bucket, ASSET_NAME); verify(tx).findAssetWithProperty("name", ASSET_NAME, bucket); }
@Nullable public static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName) { return tx.findAssetWithProperty(MetadataNodeEntityAdapter.P_NAME, assetName, bucket); }
RFacetUtils { @Nullable public static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName) { return tx.findAssetWithProperty(MetadataNodeEntityAdapter.P_NAME, assetName, bucket); } }
RFacetUtils { @Nullable public static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName) { return tx.findAssetWithProperty(MetadataNodeEntityAdapter.P_NAME, assetName, bucket); } private  RFacetUtils(); }
RFacetUtils { @Nullable public static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName) { return tx.findAssetWithProperty(MetadataNodeEntityAdapter.P_NAME, assetName, bucket); } private  RFacetUtils(); static Content toContent(final Asset asset, final Blob blob); @Nullable static Component findComponent(final StorageTx tx,
                                        final Repository repository,
                                        final String name,
                                        final String version,
                                        final String group); @Nullable static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName); static Iterable<Asset> browseAllAssetsByKind(final StorageTx tx,
                                                      final Bucket bucket,
                                                      final AssetKind assetKind); static Content saveAsset(final StorageTx tx,
                                  final Asset asset,
                                  final Supplier<InputStream> contentSupplier,
                                  final Payload payload); static Content saveAsset(final StorageTx tx,
                                  final Asset asset,
                                  final Supplier<InputStream> contentSupplier,
                                  final String contentType,
                                  @Nullable final AttributesMap contentAttributes); static AssetKind extractAssetKind(final Asset asset); }
RFacetUtils { @Nullable public static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName) { return tx.findAssetWithProperty(MetadataNodeEntityAdapter.P_NAME, assetName, bucket); } private  RFacetUtils(); static Content toContent(final Asset asset, final Blob blob); @Nullable static Component findComponent(final StorageTx tx,
                                        final Repository repository,
                                        final String name,
                                        final String version,
                                        final String group); @Nullable static Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName); static Iterable<Asset> browseAllAssetsByKind(final StorageTx tx,
                                                      final Bucket bucket,
                                                      final AssetKind assetKind); static Content saveAsset(final StorageTx tx,
                                  final Asset asset,
                                  final Supplier<InputStream> contentSupplier,
                                  final Payload payload); static Content saveAsset(final StorageTx tx,
                                  final Asset asset,
                                  final Supplier<InputStream> contentSupplier,
                                  final String contentType,
                                  @Nullable final AttributesMap contentAttributes); static AssetKind extractAssetKind(final Asset asset); static final List<HashAlgorithm> HASH_ALGORITHMS; }