Package atg.adapter.gsa

Examples of atg.adapter.gsa.GSARepository.addItem()


            td.begin(songsRepository.getTransactionManager());
            // Create a new artist
            MutableRepositoryItem artist = songsRepository.createItem("artist");
            artist.setPropertyValue("name", "joe");
            // Persist to the repository
            songsRepository.addItem(artist);
            // Try to get it back from the repository
            String id = artist.getRepositoryId();
            RepositoryItem retrievedArtist = songsRepository.getItem(
                    id, "artist"
            );
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.