Package org.criticalfailure.torchlight.core.domain.entity

Examples of org.criticalfailure.torchlight.core.domain.entity.Library


                    // TODO
            }
        }
        else if(element instanceof Library) {
            logger.debug("element is a library");
            Library p = (Library)element;

            switch(columnIndex) {
                case 0:
                    logger.debug("column 0");
                    return p.getName();

                case 1:
                    logger.debug("column 1");

                    // TODO
View Full Code Here


     */
    public Library createLibrary(boolean empty) {

        logger.info("Creating new library.");

        Library l = (Library)appContext.getBean("library");

        if(!empty) {
            // TODO
        }

View Full Code Here

     */
    public Library createLibrary(Library template) {

        logger.info("Creating new library from template: " + template);

        Library l = (Library)appContext.getBean("library");

        l.setId(template.getId());
        l.setCampaign(template.getCampaign());
        l.setName(template.getName());
        l.setDescription(template.getDescription());
        l.setEnabled(template.isEnabled());
        l.setCodeLanguage(template.getCodeLanguage());
        l.setCode(template.getCode());

        logger.info("Library created: " + l);
        return l;
    }
View Full Code Here

            Set<Library> libraries = new HashSet<Library>();
            logger.debug("libraries: " + so.getLibraries().size());
            for(String libraryId : so.getLibraries()) {
                logger.trace("libraryId: " + libraryId);

                Library library = libraryManager.getLibrary(libraryId);
                logger.trace("library: " + library);

                libraries.add(library);
            }
            c.setLibraries(libraries);
View Full Code Here

TOP

Related Classes of org.criticalfailure.torchlight.core.domain.entity.Library

Copyright © 2018 www.massapicom. 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.