Mercurial > hg > openmind
diff src/main/java/org/mpi/openmind/cache/WrapperService.java @ 36:63fe33172397
more comments, less log messages.
author | casties |
---|---|
date | Tue, 11 Oct 2016 20:55:36 +0200 |
parents | 1cd9d9a67cad |
children | 3485498af8c3 |
line wrap: on
line diff
--- a/src/main/java/org/mpi/openmind/cache/WrapperService.java Mon Aug 29 20:16:53 2016 +0200 +++ b/src/main/java/org/mpi/openmind/cache/WrapperService.java Tue Oct 11 20:55:36 2016 +0200 @@ -608,6 +608,16 @@ return (Entity) entity.clone(); } + /** + * Save the given entity to the database. + * + * Creates a new version of the entity. + * + * @param entity + * @param user + * @return + * @throws Exception + */ public Entity saveEntity(Entity entity, String user) throws Exception { long start = System.currentTimeMillis(); if (StringUtils.isEmpty(entity.getType())) {