public interface ByteArrayEntityManager extends EntityManager<ByteArrayEntity>
Modifier and Type | Method and Description |
---|---|
ByteArrayEntity |
createAndInsert(byte[] bytes) |
ByteArrayEntity |
createAndInsert(String name,
byte[] bytes) |
void |
deleteByteArrayById(String byteArrayEntityId)
Deletes the
ByteArrayEntity with the given id from the database. |
ByteArrayEntity createAndInsert(byte[] bytes)
ByteArrayEntity createAndInsert(String name, byte[] bytes)
void deleteByteArrayById(String byteArrayEntityId)
ByteArrayEntity
with the given id from the database.
Important: this operation will NOT do any optimistic locking, to avoid loading the bytes in memory. So use this method
only in conjunction with an entity that has optimistic locking!.Copyright © 2015 Alfresco. All rights reserved.