public class MongoContentAccess extends java.lang.Object implements ContentAccess
| Constructor and Description |
|---|
MongoContentAccess(com.mongodb.client.MongoCollection<org.bson.Document> collection,
kz.greetgo.security.crypto.CryptoBuilderKeysInMongo.Names names) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
downloadBytes() |
boolean |
exists() |
void |
uploadBytes(byte[] bytes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeletepublic MongoContentAccess(com.mongodb.client.MongoCollection<org.bson.Document> collection,
kz.greetgo.security.crypto.CryptoBuilderKeysInMongo.Names names)
public byte[] downloadBytes()
downloadBytes in interface ContentAccesspublic void uploadBytes(byte[] bytes)
uploadBytes in interface ContentAccesspublic boolean exists()
exists in interface ContentAccess