Examples of touchProperties()


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

    public void update(Collection collection) throws ObjectLockedException, ObjectExistsException {
        try {            
            Session session = (Session) DatabaseUtil.getSingleton().getDaoSession();
           
            ContentDao contentDao = ContentDao.createInstance();
            contentDao.touchProperties(collection);
           
            Node collectionNode  = session.getNodeByUUID(collection.getId());
            for (PropertyIterator pi = collectionNode.getProperties(); pi.hasNext(); ) {
                Property property = pi.nextProperty();
                //Do no remove JCR properties and the mandatory restrict children property.
View Full Code Here

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

        //FIXME Also for Collection and Folder : checkout ???
        try {            
            Session session = (Session) DatabaseUtil.getSingleton().getDaoSession();
           
            ContentDao contentDao = ContentDao.createInstance();
            contentDao.touchProperties(storedFile);
           
            Node storedFileNode  = (Node) session.getNodeByUUID(storedFile.getId());
            for (PropertyIterator pi = storedFileNode.getProperties(); pi.hasNext(); ) {
                Property property = pi.nextProperty();
                //Do no remove JCR properties and the mandatory restrict children property.
View Full Code Here

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

    public void update(Folder folder) throws ObjectLockedException, ObjectExistsException {
        try {            
            Session session = (Session) DatabaseUtil.getSingleton().getDaoSession();
           
            ContentDao contentDao = ContentDao.createInstance();
            contentDao.touchProperties(folder);
           
            Node folderNode  = session.getNodeByUUID(folder.getId());
            log.info("Folder : " + folder.getName() + "[" + folder.getId() + "] has been marked for modification.");
           
            for (PropertyIterator pi = folderNode.getProperties(); pi.hasNext(); ) {
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.