public class DbMessageBodiesService extends java.lang.Object implements IDbMessageBodies
Modifier and Type | Field and Description |
---|---|
protected MessageBodyStore |
bodyStore |
Constructor and Description |
---|
DbMessageBodiesService(MessageBodyStore bodyStore,
java.util.function.Supplier<MessageBodyObjectStore> bodyObjectStore) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
Stream eml) |
void |
delete(java.lang.String uid) |
boolean |
exists(java.lang.String uid) |
MessageBody |
getComplete(java.lang.String uid) |
java.util.List<java.lang.String> |
missing(java.util.List<java.lang.String> toCheck) |
java.util.List<MessageBody> |
multiple(java.util.List<java.lang.String> uid) |
void |
update(MessageBody mb) |
protected final MessageBodyStore bodyStore
public DbMessageBodiesService(MessageBodyStore bodyStore, java.util.function.Supplier<MessageBodyObjectStore> bodyObjectStore)
public void create(java.lang.String uid, Stream eml)
create
in interface IDbMessageBodies
public void delete(java.lang.String uid)
delete
in interface IDbMessageBodies
public MessageBody getComplete(java.lang.String uid)
getComplete
in interface IDbMessageBodies
public boolean exists(java.lang.String uid)
exists
in interface IDbMessageBodies
public java.util.List<java.lang.String> missing(java.util.List<java.lang.String> toCheck)
missing
in interface IDbMessageBodies
public void update(MessageBody mb)
update
in interface IDbMessageBodies
public java.util.List<MessageBody> multiple(java.util.List<java.lang.String> uid)
multiple
in interface IDbMessageBodies
Copyright © 2021. All Rights Reserved.