Examples of populateFromRepository()


Examples of net.sf.archimede.model.content.ContentDao.populateFromRepository()

            retrievedCollection.setDescription(description);
            retrievedCollection.setImageUrl(imageUrl);
            retrievedCollection.setIcon(icon);
           
            ContentDao contentDao = ContentDao.createInstance();
            contentDao.populateFromRepository(retrievedCollection, node.getSession());
           
            return (Collection) Proxy.newProxyInstance(
                    retrievedCollection.getClass().getClassLoader(),
                    retrievedCollection.getClass().getInterfaces(),
                    new LazyInvocationHandler(retrievedCollection));
View Full Code Here

Examples of net.sf.archimede.model.content.ContentDao.populateFromRepository()

            }

            ContentDao contentDao = ContentDao.createInstance();
            // TODO Ca se peut que le noeud ne soit pas encore mix-in. Les
            // autres Daos ont le même problème.
            contentDao.populateFromRepository(retrievedMetadata, session);

            return retrievedMetadata;

        } catch (Exception e) {
            throw new RuntimeException(e);
View Full Code Here

Examples of net.sf.archimede.model.content.ContentDao.populateFromRepository()

            retrievedGroup.setId(id);
            retrievedGroup.setName(name);
            retrievedGroup.setDescription(description);           
                       
            ContentDao contentDao = ContentDao.createInstance();
            contentDao.populateFromRepository(retrievedGroup, session);
           
            return (Group) Proxy.newProxyInstance(
                    retrievedGroup.getClass().getClassLoader(),
                    retrievedGroup.getClass().getInterfaces(),
                    new LazyInvocationHandler(retrievedGroup));
View Full Code Here

Examples of net.sf.archimede.model.content.ContentDao.populateFromRepository()

            retrievedStoredFile.setMimeType(mimeType);
            retrievedStoredFile.setLastModified(lastModified);
           
            ContentDao contentDao = ContentDao.createInstance();
            //TODO Ca se peut que le noeud ne soit pas encore mix-in. Les autres Daos ont le même problème.
            contentDao.populateFromRepository(retrievedStoredFile, node.getSession());
           
            return (StoredFile) Proxy.newProxyInstance(
                    retrievedStoredFile.getClass().getClassLoader(),
                    retrievedStoredFile.getClass().getInterfaces(),
                    new LazyInvocationHandler(retrievedStoredFile));
View Full Code Here

Examples of net.sf.archimede.model.content.ContentDao.populateFromRepository()

            }
           
            retrievedFolder.setCheckedOut(checkout);

            ContentDao contentDao = ContentDao.createInstance();
            contentDao.populateFromRepository(retrievedFolder, node.getSession());
           
            if (checkout && !version) {
                   node.checkout();
            }
           
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.