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

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


     * @param id the primary key for the new l f achievement
     * @return the new l f achievement
     */
    @Override
    public LFAchievement create(long id) {
        LFAchievement lfAchievement = new LFAchievementImpl();

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

        return lfAchievement;
    }
View Full Code Here


    protected LFAchievement toUnwrappedModel(LFAchievement lfAchievement) {
        if (lfAchievement instanceof LFAchievementImpl) {
            return lfAchievement;
        }

        LFAchievementImpl lfAchievementImpl = new LFAchievementImpl();

        lfAchievementImpl.setNew(lfAchievement.isNew());
        lfAchievementImpl.setPrimaryKey(lfAchievement.getPrimaryKey());

        lfAchievementImpl.setId(lfAchievement.getId());
        lfAchievementImpl.setTitle(lfAchievement.getTitle());
        lfAchievementImpl.setDescription(lfAchievement.getDescription());
        lfAchievementImpl.setLogo(lfAchievement.getLogo());
        lfAchievementImpl.setCreationDate(lfAchievement.getCreationDate());

        return lfAchievementImpl;
    }
View Full Code Here

TOP

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

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.