Examples of LFPackageCommentImpl


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

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

        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
Copyright © 2018 www.massapi.com. 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.