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

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


     * @param id the primary key for the new l f package
     * @return the new l f package
     */
    @Override
    public LFPackage create(long id) {
        LFPackage lfPackage = new LFPackageImpl();

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

        return lfPackage;
    }
View Full Code Here


    protected LFPackage toUnwrappedModel(LFPackage lfPackage) {
        if (lfPackage instanceof LFPackageImpl) {
            return lfPackage;
        }

        LFPackageImpl lfPackageImpl = new LFPackageImpl();

        lfPackageImpl.setNew(lfPackage.isNew());
        lfPackageImpl.setPrimaryKey(lfPackage.getPrimaryKey());

        lfPackageImpl.setId(lfPackage.getId());
        lfPackageImpl.setDefaultOrganizationID(lfPackage.getDefaultOrganizationID());
        lfPackageImpl.setTitle(lfPackage.getTitle());
        lfPackageImpl.setBase(lfPackage.getBase());
        lfPackageImpl.setResourcesBase(lfPackage.getResourcesBase());
        lfPackageImpl.setSummary(lfPackage.getSummary());
        lfPackageImpl.setAssetRefID(lfPackage.getAssetRefID());
        lfPackageImpl.setCourseID(lfPackage.getCourseID());
        lfPackageImpl.setLogo(lfPackage.getLogo());

        return lfPackageImpl;
    }
View Full Code Here

TOP

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

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.