class RawContentFacetImpl extends FacetSupport implements RawContentFacet {

  @Override
  @Transactional
  public boolean assetExists(final String name) {
    StorageTx tx = UnitOfWork.currentTx();
    return assetEntityAdapter.exists(tx.getDb(), name, tx.findBucket(getRepository()));
  }

  @Inject public  RawContentFacetImpl(final AssetEntityAdapter assetEntityAdapter);

}