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

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


     * @param id the primary key for the new l f package comment
     * @return the new l f package comment
     */
    @Override
    public LFPackageComment create(long id) {
        LFPackageComment lfPackageComment = new LFPackageCommentImpl();

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

        return lfPackageComment;
    }
View Full Code Here


        LFPackageComment lfPackageComment) {
        if (lfPackageComment instanceof LFPackageCommentImpl) {
            return lfPackageComment;
        }

        LFPackageCommentImpl lfPackageCommentImpl = new LFPackageCommentImpl();

        lfPackageCommentImpl.setNew(lfPackageComment.isNew());
        lfPackageCommentImpl.setPrimaryKey(lfPackageComment.getPrimaryKey());

        lfPackageCommentImpl.setId(lfPackageComment.getId());
        lfPackageCommentImpl.setSocialPackageID(lfPackageComment.getSocialPackageID());
        lfPackageCommentImpl.setAuthorID(lfPackageComment.getAuthorID());
        lfPackageCommentImpl.setComment(lfPackageComment.getComment());
        lfPackageCommentImpl.setPublishDate(lfPackageComment.getPublishDate());

        return lfPackageCommentImpl;
    }
View Full Code Here

TOP

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

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.