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

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


     * @param id the primary key for the new l f tincan package
     * @return the new l f tincan package
     */
    @Override
    public LFTincanPackage create(long id) {
        LFTincanPackage lfTincanPackage = new LFTincanPackageImpl();

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

        return lfTincanPackage;
    }
View Full Code Here


    protected LFTincanPackage toUnwrappedModel(LFTincanPackage lfTincanPackage) {
        if (lfTincanPackage instanceof LFTincanPackageImpl) {
            return lfTincanPackage;
        }

        LFTincanPackageImpl lfTincanPackageImpl = new LFTincanPackageImpl();

        lfTincanPackageImpl.setNew(lfTincanPackage.isNew());
        lfTincanPackageImpl.setPrimaryKey(lfTincanPackage.getPrimaryKey());

        lfTincanPackageImpl.setId(lfTincanPackage.getId());
        lfTincanPackageImpl.setTitle(lfTincanPackage.getTitle());
        lfTincanPackageImpl.setSummary(lfTincanPackage.getSummary());
        lfTincanPackageImpl.setAssetRefID(lfTincanPackage.getAssetRefID());
        lfTincanPackageImpl.setCourseID(lfTincanPackage.getCourseID());
        lfTincanPackageImpl.setLogo(lfTincanPackage.getLogo());

        return lfTincanPackageImpl;
    }
View Full Code Here

TOP

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

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.