Package cz.podcastee.domain.entities

Examples of cz.podcastee.domain.entities.PublicTag


        episodeDao.persist(episode);
        return episode;
    }

    public PublicTag addTag(Podcast podcast, String tagTitle) {
        PublicTag tag = publicTagDao.getByTitle(tagTitle);
        if (tag == null) {
            tag = new PublicTag();
            tag.setTitle(tagTitle);
        }
        tag.getPodcasts().add(podcast);
        publicTagDao.persist(tag);
        return tag;
    }
View Full Code Here

TOP

Related Classes of cz.podcastee.domain.entities.PublicTag

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.