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

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


     * @param id the primary key for the new l f package vote
     * @return the new l f package vote
     */
    @Override
    public LFPackageVote create(long id) {
        LFPackageVote lfPackageVote = new LFPackageVoteImpl();

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

        return lfPackageVote;
    }
View Full Code Here


    protected LFPackageVote toUnwrappedModel(LFPackageVote lfPackageVote) {
        if (lfPackageVote instanceof LFPackageVoteImpl) {
            return lfPackageVote;
        }

        LFPackageVoteImpl lfPackageVoteImpl = new LFPackageVoteImpl();

        lfPackageVoteImpl.setNew(lfPackageVote.isNew());
        lfPackageVoteImpl.setPrimaryKey(lfPackageVote.getPrimaryKey());

        lfPackageVoteImpl.setId(lfPackageVote.getId());
        lfPackageVoteImpl.setUserID(lfPackageVote.getUserID());
        lfPackageVoteImpl.setSocialPackageID(lfPackageVote.getSocialPackageID());
        lfPackageVoteImpl.setVoteValue(lfPackageVote.getVoteValue());

        return lfPackageVoteImpl;
    }
View Full Code Here

TOP

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

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.