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

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


     * @param id the primary key for the new l f certificate
     * @return the new l f certificate
     */
    @Override
    public LFCertificate create(long id) {
        LFCertificate lfCertificate = new LFCertificateImpl();

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

        return lfCertificate;
    }
View Full Code Here


    protected LFCertificate toUnwrappedModel(LFCertificate lfCertificate) {
        if (lfCertificate instanceof LFCertificateImpl) {
            return lfCertificate;
        }

        LFCertificateImpl lfCertificateImpl = new LFCertificateImpl();

        lfCertificateImpl.setNew(lfCertificate.isNew());
        lfCertificateImpl.setPrimaryKey(lfCertificate.getPrimaryKey());

        lfCertificateImpl.setId(lfCertificate.getId());
        lfCertificateImpl.setTitle(lfCertificate.getTitle());
        lfCertificateImpl.setDescription(lfCertificate.getDescription());
        lfCertificateImpl.setLogo(lfCertificate.getLogo());
        lfCertificateImpl.setIsPermanent(lfCertificate.getIsPermanent());
        lfCertificateImpl.setPublishBadge(lfCertificate.getPublishBadge());
        lfCertificateImpl.setShortDescription(lfCertificate.getShortDescription());
        lfCertificateImpl.setCompanyID(lfCertificate.getCompanyID());
        lfCertificateImpl.setState(lfCertificate.getState());
        lfCertificateImpl.setEmails(lfCertificate.getEmails());
        lfCertificateImpl.setValidPeriodType(lfCertificate.getValidPeriodType());
        lfCertificateImpl.setValidPeriod(lfCertificate.getValidPeriod());
        lfCertificateImpl.setCreatedDate(lfCertificate.getCreatedDate());
        lfCertificateImpl.setIsPublished(lfCertificate.getIsPublished());
        lfCertificateImpl.setScope(lfCertificate.getScope());

        return lfCertificateImpl;
    }
View Full Code Here

TOP

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

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.