Package com.arcusys.learn.persistence.liferay.model.impl

Examples of com.arcusys.learn.persistence.liferay.model.impl.LFQuizImpl


     * @param id the primary key for the new l f quiz
     * @return the new l f quiz
     */
    @Override
    public LFQuiz create(long id) {
        LFQuiz lfQuiz = new LFQuizImpl();

        lfQuiz.setNew(true);
        lfQuiz.setPrimaryKey(id);

        return lfQuiz;
    }
View Full Code Here


    protected LFQuiz toUnwrappedModel(LFQuiz lfQuiz) {
        if (lfQuiz instanceof LFQuizImpl) {
            return lfQuiz;
        }

        LFQuizImpl lfQuizImpl = new LFQuizImpl();

        lfQuizImpl.setNew(lfQuiz.isNew());
        lfQuizImpl.setPrimaryKey(lfQuiz.getPrimaryKey());

        lfQuizImpl.setId(lfQuiz.getId());
        lfQuizImpl.setTitle(lfQuiz.getTitle());
        lfQuizImpl.setDescription(lfQuiz.getDescription());
        lfQuizImpl.setLogo(lfQuiz.getLogo());
        lfQuizImpl.setWelcomePageContent(lfQuiz.getWelcomePageContent());
        lfQuizImpl.setFinalPageContent(lfQuiz.getFinalPageContent());
        lfQuizImpl.setCourseID(lfQuiz.getCourseID());

        return lfQuizImpl;
    }
View Full Code Here

TOP

Related Classes of com.arcusys.learn.persistence.liferay.model.impl.LFQuizImpl

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.