Package net.sf.archimede.model.collection

Examples of net.sf.archimede.model.collection.CollectionDao.save()


                List collections = new ArrayList();
                collections.add(groupCollection);
                rootCollection.setCollections(collections);
            }
           
            collectionDao.save(groupCollection);
        }
           
        Collection seriesCollection = getSeriesInRepository(groupCollection);
        if (seriesCollection == null) {
            CollectionDao collectionDao = CollectionDao.createInstance();
View Full Code Here


            } else {
                List collections = new ArrayList();
                collections.add(seriesCollection);
                groupCollection.setCollections(collections);
            }
            collectionDao.save(seriesCollection);
           
        }
        Folder folder = getFolderInRepository(seriesCollection);
        if (folder == null) {
            folder = new FolderImpl();
View Full Code Here

                List ownerUsers = new ArrayList();
                ownerUsers.add(admin);
                rootCollection.setOwnerUsers(ownerUsers);
            }
           
            collectionDao.save(rootCollection);
           
            dbUtil.commitTransaction();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.